• LOGIN
  • No products in the cart.

Share Point Developer Interview Questions and Answers

What is SharePoint?

Microsoft SharePoint is associate enterprise collaboration and content management platform that permits users to attach one another and share the data across a corporation. Indirectly this solves the issues in a corporation to share the documents, security, business method, maintaining knowledge etc. SharePoint 2010 has made UI and many of options.

What area unit the kinds of input forms which will be created for a workflow?

You can produce four differing types of input forms as well as

  1. Associate association kind
  2. Associate initiation kind
  3. A modification kind
  4. A task edits kind.

Share Point Developer Training

What’s MOSS?

Microsoft workplace SharePoint Server (MOSS) is that the full version of a portal-based platform for collaboratively making, managing and sharing documents and net services. In nonvascular plant further feature add which will not in WSS three.0.

What’s a web site assortment in SharePoint?

  1. A web site assortment could be a set of websites.
  2. Each {site|website|web web site} assortment has superior site, created once the positioning assortment is formed.
  3. There can be multiple {site|website|web web site} assortments in net application and every site collection might have a multiple kid sites.

What’s WSP (Web resolution package)?

When developer will any customization or improvement in SharePoint, then there are a unit several things that require to be deployed like assemblies, resource files, features, images, application pages, web site definitions etc. it’ll be a really tedious task to deploy these things on an individual basis on development, staging and production. Thus SharePoint introduced an answer package that is powerful preparation tool. Net resolution package could be a cupboard file that contains assemblies, resource files, features, images, application pages, web site definitions etc. into file.

However you can create a Platform for Testing SharePoint Web Parts?

We would have to be compelled to install:

  1. WSS 3.0
  2. Microsoft workplace SharePoint Server 2007 put in.
  3. Windows Server 2003 or 2008.
  4. Visual Studio 2005 or 2008.

What does one realize SharePoint Object Model?

In Sharepoint object model there square measure 2 necessary namespaces.

The Microsoft.Office.Server namespace is that the root namespace of all workplace Server objects and Microsoft. SharePoint is that the root namespace for all WSS objects.

Read a lot of at SharePoint 2007 Object Model

Are you able to develop web parts and alternative SharePoint solutions at your native machine?

so as to run and correct SharePoint solutions, the project should reside on the server that has Windows SharePoint services put in. However, you’ll be able to reference the Microsoft. SharePoint dll in your project at your native, however you won’t be ready to run it.

However does one correct SharePoint Webparts?

To correct SharePoint webpart (or any solution) you’ll be able to merely drag and drop your complied .dll in GAC and recycle the app pool. you’ll be able to conjointly run upgrade resolution command from stsadm.

However would you retrieve sizable amount of things type the list?

To retrieve sizable amount of things with a stronger performance we will either use SPQuery or PortalSiteMapProvider category. Browse a lot of with Examples

Retrieving sizable amount of things from SharePoint list

However does one implement Impersonation in SharePoint?

By exploitation RunWithElevatedPrivileges methodology provided by SPSecurity category.

See e.g Impersonation in Sharepoint

What’s the performance impact of RunWithElevatedPrivileges?

RunWithElevatedPrivileges creates a replacement thread with the App Pool’s credentials, interference your current thread till it finishes.

However can you add Code behind to a Custom Application Page or a Layout Page in SharePoint?

You are doing not deploy a code behind file along with your custom Layouts page. Instead, you’ll have the page inherit from the complied dll of the answer to access the code behind.

What’s the distinction between a web site Definition and a web site Template?

Web site Definitions area unit holds on on the drive of the SharePoint forepart servers. They’re utilized by the SharePoint application to come up with the sites users will produce. {site|website|web web site} Templates area unit created by users as a replica of a site they need designed and changed so they are doing not need to recreate lists, libraries, views and columns on every occasion they have a replacement instance of a web site.

Why does one use Feature Receivers?

Feature Receivers area unit accustomed execute any code on Activation\Deactivation of a Feature. You’ll use it for varied functions.

Are you able to provide an example wherever feature receivers area unit used.

{you will|you’ll|you’ll be able to} use it to assign a happening receiver feature to a particular sort of list or can write a code in an exceedingly feature receivers Deactivate technique to get rid of a webpart from webpart gallery.

Wherever does one deploy the extra files employed in your webpart, like css or JavaScript files, and the way does one use them in your WebPart?

You’ll be able to deploy the css or JavaScript files in _layouts folder in SharePoint’s twelve hives. To use them in your webpart, you would like to 1st register them to your webpart page so specify a virtual path for the file for e.g. _layouts\MyCSS.css See Code examples at victimization External JavaScript, CSS or Image go in a WebPart.

Once do you have to dispose SPWeb and SPSite objects?

Consistent with the simplest Practices you must perpetually dispose them if you’ve got created them in your code. will|you’ll|you’ll be able to} dispose them in Finally block otherwise you can use the “Using” clause, so they gets disposed once not needed. If you’re victimization SPContext then you would like not dispose the spsite or spweb objects.

Share Point Developer Training

What area unit the simplest practices for SharePoint development.

a number of the simplest practices are:

  1. you must perpetually dispose SPsite and SPWeb objects, once you refer them in your code. victimization the “Using” clause is suggested.
  2. Use RunwithelevatePrivilages to avoid errors for finish users.
  3. attempt writing your errors to SharePoint error logs (ULS Logs). Since it’s a foul plan to fill-up event log for your production setting.
  4. Use SPQuery rather than foreach loop whereas retrieving things from the list.
  5. Deploy further files employed in your webpart to twelve hive. Use your answer package to drop the files in twelve hive. Also, confirm that every one the references (for e.g. Css or .js files) get removed once the answer is backward.

Also See : Best Practices to enhance website Performance

What is the most distinction between victimization SPListItem.Update() and SPListItem.SystemUpdate()?

victimization SystemUpdate() won’t produce a replacement version and can additionally retain timestamps.

November 26, 2019
GoLogica Technologies Private Limited  © 2019. All rights reserved.