mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 12:03:16 +08:00
Upgrade projects and web.config to 4.5 FW
This commit is contained in:
@@ -43,10 +43,17 @@
|
||||
<system.transactions>
|
||||
<defaultSettings timeout="00:30:00"/>
|
||||
</system.transactions>
|
||||
<!--
|
||||
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
The following attributes is set on the <httpRuntime> tag: targetFramework="4.5"
|
||||
for more info: http://blogs.msdn.com/b/webdev/archive/2012/11/19/all-about-httpruntime-targetframework.aspx
|
||||
|
||||
-->
|
||||
<system.web>
|
||||
<!--<trust level="Medium" originUrl="" />-->
|
||||
<!-- Accept file uploads up to 64 Mb -->
|
||||
<httpRuntime requestValidationMode="2.0" maxRequestLength="65536" />
|
||||
<httpRuntime targetFramework="4.5" requestValidationMode="2.0" maxRequestLength="65536"/>
|
||||
<!--
|
||||
Set compilation debug="true" to insert debugging
|
||||
symbols into the compiled page. Because this
|
||||
@@ -98,7 +105,7 @@
|
||||
to be displayed in place of a error stack trace.
|
||||
-->
|
||||
<customErrors mode="RemoteOnly"/>
|
||||
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
||||
<pages>
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc"/>
|
||||
<add namespace="System.Web.Mvc.Ajax"/>
|
||||
@@ -110,10 +117,7 @@
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web>
|
||||
<!--
|
||||
The system.webServer section is required for running ASP.NET AJAX under Internet
|
||||
Information Services 7.0. It is not necessary for previous version of IIS.
|
||||
-->
|
||||
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
<modules runAllManagedModulesForAllRequests="false">
|
||||
@@ -138,7 +142,7 @@
|
||||
<security>
|
||||
<requestFiltering>
|
||||
<!-- Accept file uploads up to 64 Mb -->
|
||||
<requestLimits maxAllowedContentLength="67108864" />
|
||||
<requestLimits maxAllowedContentLength="67108864"/>
|
||||
</requestFiltering>
|
||||
</security>
|
||||
</system.webServer>
|
||||
|
||||
Reference in New Issue
Block a user