ASP.NET 4.0 application mapped to a virtual folder in SharePoint 2010

I am considering publishing an ASP.NET MVC 3 application in a SharePoint 2010 application in IIS (not inside SharePoint like SPSite or something, just a regular IIS application for w. SP SSO integration).

The MVC application will only inherit some configs. It does not have a link to SharePoint and SharePoint does not have any link to it, except that it is a sub-application in a SharePoint 2010 application in IIS.

3x question:

  • Is it possible?
  • Are there any obvious issues with SharePoint 2010 running on 3.5, and my new application running on 4.0, for example? Is it enough to use different applications?
  • I am worried about inheriting web.configs between my MVC application in SharePoint
web.config. Are there any problems related to web.config inheritance between the two?
+3
source share
3 answers

UPDATE (February 27, 2013): We no longer need to use <location> XML to stop inheritance from SharePoint to the ASP.Net MVC 3 application. We must provide FullTrust for the ASP.Net application using the value "lt; trust level = "Full" originUrl = "" /> The XML element in Web.Config.

Some HTTP modules / HTTP handlers must be disabled from the ASP.Net MVC 3 application.

SharePoint 2010 < sectionGroup name= "system.web.extensions" > XML web.config SharePoint 2010 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config, .NET 4.0. , SharePoint web.config.

, . , . :

MVC 3 SharePoint Server 2010:

http://samsonfr.wordpress.com/2013/02/26/recette-amliore-intgrer-une-application-asp-net-mvc-3-sous-un-site-web-iis-hbergeant-sharepoint-server-2010/

MVC 3 WSS 3.0:

http://samsonfr.wordpress.com/2013/02/26/recette-amliore-intgrer-une-application-asp-net-mvc-sous-un-site-web-iis-hbergeant-wss-3-0-sharepoint-2007/

, , Google translate.

,

+5

( SPContext, ), Application folder (, Sharepoint), , Asp.NET MVC 3 - .net 4.

. Asp.net MVC 2 . , . , , ... Sharepoint site web.config( , ). Global.asax .

Sharepoint Foundation 2010 SPContext Sharepoint ( SP 2010). .

Asp.net MVC 2, .net 3.5, , Sharepoint 2010.

0

All Articles