mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
43 lines
2.0 KiB
XML
43 lines
2.0 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
<system.web>
|
|
<httpHandlers>
|
|
<add path="*" verb="*"
|
|
type="System.Web.HttpNotFoundHandler"/>
|
|
</httpHandlers>
|
|
|
|
<!--
|
|
Enabling request validation in view pages would cause validation to occur
|
|
after the input has already been processed by the controller. By default
|
|
MVC performs request validation before a controller processes the input.
|
|
To change this behavior apply the ValidateInputAttribute to a
|
|
controller or action.
|
|
-->
|
|
<pages
|
|
validateRequest="false"
|
|
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"
|
|
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"
|
|
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<controls>
|
|
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
|
</controls>
|
|
</pages>
|
|
</system.web>
|
|
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<handlers>
|
|
<remove name="BlockViewHandler"/>
|
|
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
|
|
</handlers>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="2.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|