Why do you use Feature Receivers ?
Feature Receivers are used to execute any code on Activation\Deactivation of a Feature. You can use it for various purposes.View
What is the difference between a Site Definition and a Site Template?
Site Definitions are stored on the hard drive of the SharePoint front end servers. They are used by the SharePoint application to generate the sites users can create. Site Templates are created by users as a copy of a site they have configured and modified so that they do not have to recreate lists, libraries, views and columns every time they need a new instance of a site.View
How will you add Code behind to a Custom Applictaion Page or a Layout Page in SharePoint?
You do not deploy a code behind file with your custom Layouts page. Instead, you can have the page inherit from the complied dll of the solution to access the code behind.
What is the performance impact of RunWithElevatedPrivileges?
RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes.
How Do you implement Impersonation in ShrePoint.
By Using RunWithElevatedPrivileges method provided by SPSecurity class.View
How would you retrieve large number of Items form the list ?
To retrieve large number of items with a better performance we can either use SPQuery or PortalSiteMapProvider Class. Read More with ExamplesView
How do you debug SharePoint Webparts?
To debug SharePoint webpart (or any solution) you can simply drag and drop your complied .dll in GAC and recycle the app pool. You can also run upgrade solution command from stsadm.View
Can you develop webparts and other SharePoint solutions at your local machine?
In order to run and debug sharePoint solutions, the project must reside on the server which has Windows sharePoint services installed. However, you can reference the Microsoft.SharePoint dll in your project at your local, but you won’t be able to run it.View
What Do you know about SharePoint Object Model?
In Sharepoint Object model there are two Important namespaces.
The Microsoft.Office.Server namespace is the root namespace of all Office Server objects and Microsoft.SharePoint is the root namespace for all WSS objects.
© 2017 QuizBucket.org