.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!




Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.


Post New Question Subscribe to Interview Questions
 
Quick Links For Interview Questions Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  OOPs  JQuery  JavaScript/VBScript
BiztalkPatten/PracticesIISWCFWPFWWF
NetworkingAptitudeOthers  All    
 

SharePoint Interview Questions and Answers

Q. What are the advantages of Service Applications over
SSP ?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40

Ans. The key limitation of the SSP architecture was that it was configured by using a set of services, and all Web applications associated with the SSP bore the overhead of all the services even if they weren't being used. To change the service configuration for a particular Web application, a new SSP would have to be created.

The service application architecture on the other hand, allows a set of services to be associated with a given Web application and a different set of services to be associated with another Web application. Also, the same service application can be configured differently in different Web applications; therefore, Web sites can be configured to use only the services that are needed, rather than the entire bank of services.



Q. What Has Changed with SSP in SharePoint 2010.

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40

Ans. In SharePoint 2010 Shared Service Providers (SSP's) are replaced by Service Applications. Services are no longer combined into a SSP. They are running independent as a service application. The service application architecture is now also built into Microsoft SharePoint Foundation 2010, in contrast to the Shared Services Provider (SSP) architecture that was only part of Office SharePoint Server 2007.

A key benefit here is that all services are installed by default and there is no SSP setup.

Additional improvements for the service application model include:

. The services architecture is extensible, allowing third-party companies to build and add services to the platform.

. Services are managed directly in Central Administration (rather than a separate administration site).

. Services can be monitored and managed remotely.

. Services can be managed and scripted by Windows PowerShellT.

. Shared services communications take place over HTTP(S). Shared services do not directly access databases across farms.

. Most new services are built on the Windows Communications Framework. They have optimization built into their protocol, using binary streams instead of XML for data transfer. Test results show improvements in network throughput with this change.



Q. What are the Hardware and Software requirements for SharePoint 2010.

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40

Ans.

Hardware requirements :

# Processor 64-bit, four-core, 2.5 GHz minimum per core.

# RAM 4 GB for developer or evaluation use, 8 GB for single server and multiple server farm installation for production use.

# Hard disk 80 GB for installation

For production use, you need additional free disk space for day-to-day operations. Add twice as much free space as you have RAM for production environments.


Software requirements :

# The 64-bit edition of Windows Server 2008 Standard with SP2. If you are running Windows Server 2008 without SP2, the Microsoft SharePoint Products and Technologies 2010 Preparation Tool installs Windows Server 2008 SP2 automatically.

For more see : Prerequisites for SharePoint 2010




Q. What does CMDUI.XML contain?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40


Ans. The definitions for the out-of-the-box ribbon elements are split across several files in the SharePoint root, with TEMPLATE\GLOBAL\XML\CMDUI.XML being the main one.

Q. How do you write to SharePoint ULS logs in 2010 ?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40


Ans. In SharePoint Foundation, ULS exposes configurable settings in two ways, through the - Object model and Windows PowerShell cmdlets. For writing to SharePoint ULS logs developers can can use Diagnostics Service, which will make the customized categories viewable in the administrative UI for our errors.
or they can use the number of cmdlets available for accessing ULS logs using powershell. Some of the cmdlets are Get-SPDiagnosticConfig ,Get-SPLogEvent etc.
See examples @ Writing errors to ULS logs and event logs Sharepoint 2010


Q. What are WebTemplates and Site Definitions ?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40


Ans. Site definitions consist primarily of multiple XML and ASPX files stored on a front-end Web server in folders under the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\SiteTemplates directory.
Custom Web templates on the other hand, are stored in the database, and are created using an existing site, with or without its specific content, as a model. This provides a means for reusing sites that you have customized.In some ways, Web templates continue to depend, throughout their lifecycle, on the site definition that is their ultimate foundation.


Q. Can we use our custom master page with the application pages in SharePoint 2010 ?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40


Ans. With 2010, you can now set whether the pages under _Layouts use the same Master Page as the rest of your site. You can enable or disable this functionality through the web application settings in Central Administration. This however, is not applicable to your custom application pages. If you want your custom applictaion page to inherit the site master page you must derive it from Microsoft.SharePoint.WebControls.LayoutsPageBase class.

Q. Why would you use LINQ over CAML for data retrieval?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40

Ans. Unlike CAML, with LINQ to SharePoint provider, you are working with strongly typed list item objects. For example, an item in the Announcements list is an object of type Announcement and an item on a Tasks list is an object of type Task. You can then enumerate the objects and get the properties for your use. Also, you can use LINQ syntax and the LINQ keywords built into C# and VB for LINQ queries.



Q. What is the purpose of calling clientContext.ExecuteQuery() ?

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40


Ans. ExecuteQuery gives you the option to minimize the number of roundtrips to the server from your client code. All the components loaded into the clientcontext are executed in one go.

Q. How many types of Client Object model extension are available in 2010 and when would you use one or the other.

Author: Gowthammanju          Posted Date: November 30, 2011    Category: SharePoint     Points: 40

Ans. To develop rich client side solutions, three set of client-side APIs has been introduced in the Microsoft.SharePoint.Client namespace. The three APIs are targeted for three different types of clients.
1. .net Managed applications - These are used when we have to create console applications or window applications, web applications which are not running inside SharePoint Contex.
2. For Silverlight applications
3. ECMAScript - It is a client object model extension for using with JavaScript or JScript. This is used for creating applications which are hosted inside SharePoint. For example, web part deployed in SharePoint site can use this JavaScript API for accessing SharePoint from browser using JavaScript.





Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend