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

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

What are the Changes to Solutions deployed in \bin directory and GAC in SharePoint 2013?

Posted By :volvo     Posted Date :January 02, 2014    Points :40   Category :SharePoint 
There are following changes in SharePoint Solution Deployment:-

1.Any files deployed to the \bin directory must be full trust.

2.You can no longer add partial trust Solution Packages to the \bin directory.

3.Any deployment scripts needs to be updated to make sure that they specify the correct trust level.

4.After the release of .NET Framework 4.0, the GAC was split into two, one for each CLR.

c:\windows\assembly is the location for .NET versions 1.0 through 3.5 and c:\windows\microsoft.net\assembly is location for all the dlls for project Created in .NET Framework 4.0.

You can also find related Interview Question to What are the Changes to Solutions deployed in \bin directory and GAC in SharePoint 2013?  below: 

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. (More...)

How would you re-deploy the old custom solutions in SharePoint 2010.What Changes are needed to the old Solution files.

SharePoint 2010 object model contains many changes and enhancements, but our custom code will still compile and, will run as expected. You should however, rewrite and recompile any code that refers to files and resources in "12 hive".
For Details See :
SharePoint Object Model - Backward Compatibility (More...)

Q. How will you use WebParts or other solutions Created in SharePoint 2007 in SharePoint 2010 ?


Ans. In SharePoint 2010 the 12 hive is now replaced by 14 hive, So we will rewrite and recompile any code that refers to files and resources in "12? hive. In addition to we must recompile custom code written for Windows SharePoint Services 3.0 and Office SharePoint Server 2007 that does not run on IIS.

Can it be possible to integrate active directory users to SharePoint website?

Yes it is possible to integrate active directory users to a SharePoint websites. (More...)

How many Hosting Type in SharePoint 2013?

Their three hosting type.

Sharepoint-hosted (More...)

What's the new App model in Sharepoint 2013?

An app may include SharePoint 2013 components such as lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint.

What is the Sharepoint 2010 Hive Directory?

Sharepoint 2010 Hive directory is C:\Program Files\Common Files\Microsoft Shared\Web server extensions\14

Where are Assemblies in Sandboxed Solutions Deployed?

The assemblies in a sandboxed solution are included in the solution package (.wsp file), and the package is deployed to the site collection's Solutions Gallery. When a sandboxed solution is accessed for the first time, such as when a user navigates to a page that contains a Web Part from a sandboxed solution, any assemblies in the solution are extracted from the package in the gallery and copied to the file system of the server that is handling the sandboxed request. The location is C:\ProgramData\Microsoft\SharePoint\UCCache. The executable of this service is SPUCHostService.exe. The server that handles the sandboxed request is not necessarily the front-end web server that is handling the initial HTTP request: The Microsoft SharePoint Foundation Sandboxed Code Service can be run on back-end application servers in the farm instead. Because the sandboxed user process (SPUCWorkerProcess.exe) cannot copy anything to the file system, the copying is done by the Microsoft SharePoint Foundation Sandboxed Code Service.
The assemblies of a sandboxed solution do not stay in the file cache perpetually. When the user session that accessed the solution ends, the assemblies stay in the cache for only a short time, and they may be reloaded from there if another user session accesses them. Eventually, if they are not accessed, they are removed in accordance with a proprietary algorithm that takes into account how busy the server is and how much time has gone by since the assemblies were last accessed. If the sandboxed solution is used after that time, the assemblies are extracted again and copied to the UCCache. (More...)

What is new Features of SharePoint 2013?

SharePoint 2013 has a lot of New and Improved Features:

1. New Minimal UI
2. SharePoint and Office Apps model.
3. Social and Collaboration Features
4. Improved Search
5. Cross-Site Publishing
6. Shredded Storage
7. Out-of-Box PDF support
8. Minimal Download Strategy (More...)

What's new with Visual WebPart in SharePoint 2013?

A new Visual WebPart Template has been added to Visual Studio 2012 for Creating Visual Webparts for SharePoint 2013. In this new Template both the User Control and WebPart Classes are merged to Create one template unlike SharePoint 2010 where you had a separate ascx and webpart file.Also, now you can Create both Sandbox and Farm solutions using Visual WebPart Template. (More...)

Can you explain the steps to migrate a Site Collection from SharePoint 2010 to SharePoint 2013?

We need to follow below steps to migrate a Site Collection from SharePoint 2010 to SharePoint 2013:-

1. Backup and Restore SharePoint 2010 Content database in your SharePoint 2013 farm.
2. Run Test-SPContentDatabase cmdlet to identify missing Components along with potential errors and related warnings. Check the upgrade log and deploy any missing components and re-run the cmdlet to verify.
3. Attach the Content database to the desired web application using Mount-SPContentDatabase cmdlet.
4. After successfully mounting the content database to web application, the site should be accessible in 14 mode.
5. Next, to Upgrade the site to 15 Hive, Navigate to SiteUpgrade.aspx page in Site Setting of your site collection.
6. Click on "Upgrade the Site Collection" button.
7. During the upgrade The SiteUpgrade.aspx page shows the progress and provides a link to an upgrade log for troubleshooting purposes.
8. Site Collection Should now be accessible in 15 mode. (More...)

How does an app communicate with SharePoint 2013?

In SharePoint 2013 app communicate in two ways mainly:-
1.REST and JavaScript APIs
2.Managed APIs (.NET)

How many Connectors available out of the box in sharepoint 2013

There are five Connectors available SharePoint 2013:

1. SharePoint
3. File Share
4. BDC (Exchange Public Folder, Lotus Notes,Doacumentum,Taxonomy)
5. People Profile Connector

What is App model in SharePoint 2013?

Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website.SharePoint 2013 Introduces a Cloud App Model that enables you to Create apps. An app may include SharePoint components such as lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

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

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

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