Ensures fcnMode and file size maximums are set for the debug web config transform and also for the nuget transform.
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
</providers>
|
||||
</membership>
|
||||
|
||||
<httpRuntime targetFramework="4.5" fcnMode="Single" xdt:Transform="SetAttributes(targetFramework,fcnMode)" />
|
||||
<httpRuntime targetFramework="4.5" fcnMode="Single" maxRequestLength="1048576" xdt:Transform="SetAttributes(targetFramework,fcnMode,maxRequestLength)" />
|
||||
|
||||
<compilation debug="true" targetFramework="4.5" xdt:Transform="SetAttributes(debug,targetFramework)">
|
||||
<assemblies xdt:Transform="Remove" />
|
||||
@@ -116,6 +116,14 @@
|
||||
<remove name="SpellChecker" xdt:Transform="Remove" xdt:Locator="Match(name)" />
|
||||
<add name="SpellChecker" xdt:Transform="Remove" xdt:Locator="Match(name)" />
|
||||
</handlers>
|
||||
|
||||
<!-- Increase the default upload file size limit -->
|
||||
<security xdt:Transform="InsertIfMissing">
|
||||
<requestFiltering xdt:Transform="InsertIfMissing">
|
||||
<requestLimits maxAllowedContentLength="1073741824" xdt:Transform="InsertIfMissing" />
|
||||
</requestFiltering>
|
||||
</security>
|
||||
|
||||
</system.webServer>
|
||||
|
||||
<runtime>
|
||||
|
||||
Reference in New Issue
Block a user