YouTube Icon

Interview Questions.

Top 50 Sharepoint Developer Interview Questions - Jul 28, 2022

fluid

Top 50 Sharepoint Developer Interview Questions

Q1. What Analysis Are Done By Analytics Processing Component In Sharepoint 2013?

The Analytics Processing Component runs two essential styles of analyses: Search analytics and Usage analytics. Search analytics analyzes content inside the seek index, and utilization analytics analyzes the person movements.

Q2. Can You Deploy .Wsp Solutions From Sharepoint 2010 In Sharepoint 2013?

Yes. SharePoint 2013 provides Support for both 14 Hive and 15 Hive. Solutions from SharePoint 2010 can be deployed in SharePoint 2013 either in 14 Hive,15 Hive or each. This can be done the usage of the brand new “CompatibilityLevel” parameter of Install-SPSolution cmdlet with which you could now Deploy your wsp Solutions to 14 hive, 15 hive or both.

Q3. What Is A Sharepoint Solution File? How Does It Differ From Webpart .Cab Files In Legacy Development? What Does It Contain?

A SharePoint solution file is basically a .Cabinet record with all a developers ustom componets suffixed with a .Wsp extension that aids in deployment. The large difference with SharePoint answer documents is is that a solution:allows deployment to all WFE’s in a farmis tremendously possible from the interface allowing deployment, retraction, and versioningCan package all types of belongings like web site definitions, characteristic definitions (and associated additives), Webparts, and so on.

Q4. Is Callout Popups A Replacement To Dialogs In Sharepoint 2013?

No. Dialog Framework still exists.

Q5. Would You Use Spwebapplication To Get Information Like The Smtp Address Of The Sharepoint Site?

Yes, due to the fact that that is a Web Application degree putting. You would iterate thru each SPWebApplication within the SPWebApplication collection, and then use the suitable property calls (OutboundMailServiceInstance) so that you can return settings concerning the mail service which include the SMTP address.

Q6. What Are Device Channels In Sharepoint 2013?

With device channels in SharePoint 2013, you can render a unmarried publishing website in more than one methods by way of using exceptional designs that target exclusive gadgets for example cellular devices and so forth.These tool channels can each take delivery of a distinct grasp page and CSS document to provide users a greater premier viewing revel in.

Q7. How Does An App For Sharepoint Requests Permissions To Access Sharepoint Resources?

An app for SharePoint requests the permissions that it wishes at some stage in installation from the person who's putting in it and then the developer of an app should request, thru the app appear file, the permissions an app wishes.

Q8. How Could You Append A String To The Title Of A Site When It Is Provisioned?

In the OnActivated occasion:

C#

< view plain text >

SPWeb website online = siteCollection.RootWeb;

website online.Title+=”interview”;

website online.Update();

Q9. What Are The Changes In Csom And Rest Based Apis?

Microsoft has stepped forward each Client Side Object Model (CSOM) and Representational State Transfer (REST) based APIs by adding a much wished aid for the Search, User Profiles, Taxonomies, and Publishing Object Model.Client.Svc provider is extended with REST competencies and accepts HTTP GET, PUT, POST requests.

Q10. Are There Any Changes To Solutions Deployed In Bin Directory And Gac In Sharepoint 2013?

You can now not upload partial accept as true with Solution Packages to the bin listing.Any files deployed to the bin directory should be complete agree with. Any deployment scripts needs to be updated to make sure that they specify the proper accept as true with stage. After the discharge of .NET Framework four.Zero, the GAC became break up into , one for every CLR.

C:windowsassembly is the location for .NET variations 1.Zero thru 3.5 and c:windowsmicrosoft.Netassembly is vicinity for all the dlls for task Created in .NET Framework four.0.

Q11. Can You Deploy Master Page And Custom Css From Sharepoint 2010 In Sharepoint 2013?

Master Pages and Css has Changed loads in SharePoint 2013.You can deploy a grasp page in Master page gallery but the patterns from old core.Css desires to be updated.

Q12. What Is The Purpose Of Calling Clientcontext.Executequery() ?

ExecuteQuery gives you the option to reduce the number of roundtrips to the server out of your patron code. All the components loaded into the clientcontext are carried out in a single cross.

Q13. How Does Backward Compatibility Works In Sharepoint 2013?

In SharePoint 2013 with the brand new Compatibility Level parameter of Install -SPSolution cmdlet you could now installation your .Wsp or Solution to either 14 hive or 15 hive or each.

Q14. What Is The New Iframes Support In Sharepoint 2013?

SharePoint 2013 turned into brought with the new Out-of-Box Support for IFrames.Admins can now embed dynamic content material from other sites, such youtube films or maps to any SharePoint website through using IFrames. Admins could need to feature the Domain for the outside website in TML Field Security first.

Q15. What Is Device Channel Panel Control In Sharepoint 2013?

Device Channel Panel is a brand new manage that you may consist of in a page format to govern what content is rendered wherein channel. The Device Channel Panel is a box that is mapped to one or more channels.

Q16. How Would You A Migrate A Site Collection In Sharepoint 2013?

Backup and Restore SharePoint 2010 Content database to your SharePoint 2013 farm.

Run Test-SPContentDatabase cmdlet to become aware of lacking Components at the side of capacity mistakes and related warnings. Check the improve log and deploy any missing components and re-run the cmdlet to confirm.

Attach the Content database to the preferred web software the use of Mount-SPContentDatabase cmdlet.

After efficiently mounting the content material database to web utility, the website have to be on hand in 14 mode.

Next, to Upgrade the site to fifteen Hive, Navigate to SiteUpgrade.Aspx web page in Site Setting of your site series.

Click on “Upgrade the Site Collection” button.

During the upgrade The SiteUpgrade.Aspx page suggests the development and gives a link to an upgrade log for troubleshooting functions.

Site Collection Should now be reachable in 15 mode.

Q17. How Do You Deploy Solution To 14 Hive Or 15 Hive Without Modifying Solution.?

In SharePoint 2013 with the brand new compatibility Level parameter of Install-SPSolution cmdlet you can now Deploy your wsp Solutions to fourteen hive, 15 hive or each.

Q18. How Does Sharepoint 2013 Improve Performance?

SharePoint 2013 Introduces Minimal Download Strategy and Distributed Cache Service to Improve Page Load; and Shredded Storage to Improve Storage required for saving files.

Q19. What Is The Webpartmanager Sealed Class? What Is Its Purpose?

The WebPartManager sealed class is responsible for handling the whole thing taking place on a WebPart page, which include the WebParts (controls), events, and misc. Functionality as a way to occur in WebPartZones. For example, the WebPartManager is accountable for the functionality this is supplied while you are working with moving a WebPart from WebPartZone to WebPartZone. It is called the the crucial magnificence of the Web Part Control Set.

Q20. What Does Cmdui.Xml Contain?

The definitions for the out-of-the-field ribbon factors are break up across numerous files inside the SharePoint root, with TEMPLATE GLOBAL XML CMDUI.XML being the primary one.

Q21. What Are Webpart Properties, And What Are Some Of The Attributes You See When Declaring Webpart Properties In Code?

WebPart houses are much like ASP.NET control homes, they are used to engage with and specify attributes that ought to be applied to a WebPart through a person. Some of the attributes you notice with ASP.NET 2.Zero homes are WebDescription, WebDisplayName, Category, Personalizable, and WebBrowsable. Although maximum of those homes come from the System.Web.UI.WebControls.WebParts magnificence, ones like Category come out of System.ComponentModel namespace.

Q22. What Players Are Supported For Playing Sharepoint 2013 Video Files?

SharePoint 2013 supports  Video players – HTML 5 player and a Silverlight player.SharePoint chooses the player automatically, depending on the video format that it encounters within the video set (the collection of files that are associated with the video). If the layout may be performed at the HTML 5 participant, the SharePoint uses the Silverlight player.

Q23. What Deployment Mechanism Can You Use To Instigate Code Access Security Attributes For Your Webparts?

SharePoint answer documents can add in order to handle code get right of entry to security deployment issues. This is executed inside the detail in the SharePoint answer manifest.XML, which makes it simpler to get assemblies the proper permissions so one can perform within the bin listing of the internet utility.

Q24. What Is The New Js Link Property On Spfield?

New “SPField.JSLink” assets has been added to help specify any outside JavaScript document Containing any Rendering common sense for Out-of-Box or Custom field kind.With JSLink builders can now Control the Rendering (the presentation and validation) of any Field (Custom or Out-of-field) on List paperwork in addition to in Views by using actually including a connection with an External or deployed JavaScript document.

Q25. What Types Of Sharepoint Assets Can Be Deployed With A Sharepoint Feature?

Features can do plenty. For instance, you could installation

Simple web page customizations

Custom website online navigation

WebParts

pages

listing types

list times

event handlers

workflows

custom movements

simply to call some

Q26. What Is Embed Code And How Do You Get Embed Code For A Document?

SharePoint 2013 provides a help to get ?Mbed Information?For documents and different virtual Content types such as Videos,Audios etc. To be added on any SharePoint Page or in a Microblogging feed.

Q27. Why Would You Use Linq Over Caml For Data Retrieval?

Unlike CAML, with LINQ to SharePoint company, you are working with strongly typed listing item objects. For example, an item within the Announcements list is an object of kind Announcement and an item on a Tasks list is an object of type Task. You can then enumerate the gadgets and get the residences for your use. Also, you could use LINQ syntax and the LINQ key phrases constructed into C# and VB for LINQ queries.

Q28. Can You Create & Deploy Sandbox Solutions In Sharepoint 2013?

Sandbox Solutions are depreciated in SharePoint 2013.You can nevertheless Create them and deploy them but they're not supported through Microsoft (now not one hundred% sure approximately this even though).

Q29. What Base Class Do Event Receivers Inherit From?

Event receivers either inherit from the SPListEventReceiver base elegance or the SPItemEventReceiver base elegance, both which derive from the summary base elegance SPEventReceiverBase.

Q30. What Is Minimal Download Strategy?

Minimal Download Strategy in SharePoint 2013 improves rendering overall performance while surfing content material where large parts of the web page do now not trade presenting a more fluid navigation experience. For example when navigating among a website? Home page and Shared Documents web page handiest the Content that has changed among the supply and vacation spot web page (controls and placeholders inside the content location) are downloaded and Url eventually up to date where the chrome is persevered.

Q31. What Is A Sharepoint Feature? What Files Are Used To Define A Feature?

A SharePoint Feature is a useful issue that can be activated and deactivate at various scopes for the duration of a SharePoint times, together with on the farm, web page series, internet, etc.

Features have their very own receiver architecture, which can help you trap occasions along with whilst a feature is putting in, uninstalling, activated, or deactivated. They are useful due to the fact they allow ease of upgrades and versioning.

The  files which can be used to define a function are the feature.Xml and take place file. The function XML file defines the real function and will make SharePoint aware of the installed feature. The take place record carries information about the characteristic inclusive of functionality.

Q32. What Is A Spsite And Spweb Object, And What Is The Difference Between Each Of The Objects?

The SPSite item represents a set of sites (web site series [a top level sites and all its subsites]). The SPWeb object represents an instance SharePoint Web, and SPWeb item includes things just like the real content. A SPSite object contains the numerous subsites and the information regarding them.

Q33. How Do You Return Sharepoint List Items Using Sharepoint Web Services?

In order to retrieve listing gadgets from a SharePoint list via Web Services, you ought to use the lists.Asmx net service by organising an internet reference in Visual Studio. The lists.Asmx exposes the GetListItems approach, if you want to permit the go back of the entire content of the list in an XML node.

It will take parameters just like the GUID of the name of the listing you're querying in opposition to, the GUID of the view you are going to question, and so on.

Q34. What Is The New Spsecurityeventreceiver?

SharePoint 2013 Introduces a Cloud App Model that permits you to Create apps.Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. An app may additionally include SharePoint components together with lists, workflows, and site pages, but it could also floor a faraway internet application and far off facts in SharePoint.

Q35. What Are Safe Controls, And What Type Of Information, Is Placed In That Element In A Sharepoint Web.Config File?

When you set up a WebPart to SharePoint, you have to first make it as a secure control to apply inside SharePoint within the web.Config file. Entries made in the secure controls detail of SharePoint are encountered through the SharePointHandler object and could be loaded in the SharePoint environment properly, the ones now not will not be loaded and could throw an mistakes.

In the commonplace safe control entry (this is fashionable, there can be more), there's usually the Assembly call, the namespace, the public key token numeric, the typename, and the secure declaration (whether it's miles safe or not). There are different optionally available elements.

Q36. What Is A .Ddf File And What Does It Have To Do With Sharepoint Solution Creation?

A .Ddf file is a information directive record and is used when building the SharePoint solution package deal specifying the source documents and their destination places. The important factor for someone to recognize is that the .Ddf report could be handed as a parameter to the MAKECAB software to orchestrate production of the SharePoint solution fiel.

Q37. When Creating A List Definition, How Can You Create An Instance Of The List?

You can create a brand new example of a listing by growing an instance.XML document.

Q38. What Kind Of Apps Can Developed?

The Code for an app runs in extraordinary locations, relying on wherein your app is hosted.They by no means run within the context of SharePoint Server, but they will run within the context of the browser or in the context of the hosted platform.You Can Develop three form of Apps –SharePoint-hosted apps Provider-hosted and autohosted apps.In the cloudApps that have a combination of Components in SharePoint and within the cloud

Q39. What Does A Spwebapplication Object Represent?

The SPWebApplication objects represents a SharePoint Web Application, which basically is an IIS virtual server. Using the magnificence you could instigate high stage operations, inclusive of getting all the functions of an entire Web Application instance, or doing high stage introduction operations like developing new Web Applications via code.

Q40. What Two Files Are Typically (this Is Kept Generally) Included When Developing A Content Type, And What Is The Purpose Of Each?

There is typically the main content material kind document that holds things just like the content kind ID, call, institution, description, and model. There is likewise the ContentType.Fields report which contains the fields to include inside the content material type that has the ID, Type, Name, DisplayName, StaticName, Hidden, Required, and Sealed factors. They are associated with the aid of the FieldRefs element in the fundamental content kind record.

Q41. What Are The Differences Between The Two Base Classes And What Are The Inherit Benefits Of Using One Over Another?

The difference is the Microsoft.SharePoint.WebPartPages.WebPart base class is meant for backward compatibility with preceding variations of SharePoint. The gain of the usage of the SharePoint WebPart base magnificence is it supported:

Cross web page connections

Connections between Web Parts which can be outside of a Web Part area

Client-side connections (Web Part Page Services Component)

Data caching infrastructure

NET 2.0 WebParts are typically considered higher to apply because SharePoint is built upon the ASP.NET 2.Zero net structure. Inheriting from the ASP.NET 2.Zero base elegance offers you features that inherit to ASP.NET 2.Zero, including embedding assets in place of use ClassResources for deployment of stated types.

Q42. How Would You Loop Using Splist Through All Sharepont List Items, Assuming You Know The Name (in A String Value) Of The List You Want To Iterate Through, And Already Have All The Site Code Written?

C#

< view plain text >

SPList interviewList = myWeb.Lists[“listtoiterate”];

foreach (SPListItem interview in interviewList)

// Do Something

Q43. How Are Sandbox Solution Migrated In Sharepoint 2013?

Sandbox Solutions are upgraded with the Content databases.

Q44. What New With Development In Sharepoint 2013?

Apart from the new App Model for Creating Custom Components, Microsoft has brought some new Namespaces to work with newly delivered – Social,Event Receivers,Delegate Controls,Callout Popups and different Custom Components in SharePoint 2013.In addition to those training some new templates in Visual Studio 2012 has additionally been introduced to Create higher answers.

Q45. How Would You Go About Getting A Reference To A Site?

C#

< view plain text >

SPSite = new  SPSite(“http:/server”);

SPWeb = SPSite.OpenWeb();

Q46. What Is Caml, And Why Would You Use It?

CAML stands for Collaborative Application Markup Language. CAML is an XML primarily based language which provides facts constructs that increase the SharePoint fields, view, and is used for table definition during web page provisioning.

CAML is accountable for rending records and the resulting HTML this is output to the person in SharePoint. CAML may be used for a diffusion of situations, normal is used to question, build and personalize SharePoint based totally sites.

A preferred use could be constructing a CAML query in a SharePoint WebPart in an effort to retrieve values from a SharePoint listing.

Q47. What Is Difference Between Load() And Loadquery() Methods ?

Load technique populates the patron item at once with what it gets information from the server i.E. A group item like ListItemCollection etc. But LoadQuery returns the data as a very new collection in IEnumerable layout.

Other principal difference is that the Collections that you load the usage of the Load() approach are eligible for rubbish series most effective while the patron context variable itself is going out of scope wherein as, in these collections exit of scope on the give up of IEnumerable list

Q48. What Is The Idesign Times Html Provider Interface, And When Can You Use It In Webparts?

The IDesign Times Html Provider interface uses the function GetDesignTimeHtml() that can include your relevant render strategies. It become helpful to use in 2003 since it allowed your WebPart to have a preview at the same time as a page changed into edited in FrontPage with the Webpart on it, because the GetDesignTimeHtml() technique includes the HTML for the clothier to render.

Q49. Can A List Definition Be Derived From A Custom Content Type?

Yes, a listing definition can derive from a content material kind which can be seen inside the schema.XML of the listing definition inside the detail.

Q50. Can A Content Type Have Receivers Associated With It?

Yes, a content kind will have an event receiver associated with it, both inheriting from the SPListEventReceiver base elegance for list stage occasions, or inheriting from the SPItemEventReceiver base magnificence. Whenever the content type is instantiated, it will be situation to the occasion receivers which can be associated with it.




CFG