You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<configuration>
|
|
<system.web>
|
|
<httpHandlers>
|
|
<add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
|
|
</httpHandlers>
|
|
|
|
<!--
|
|
在视图页面中启用请求验证将导致验证在
|
|
控制器已对输入进行处理后发生。默认情况下,
|
|
MVC 在控制器处理输入前执行请求验证。
|
|
若要更改此行为,请对控制器或操作
|
|
应用 ValidateInputAttribute。
|
|
-->
|
|
<pages
|
|
validateRequest="false"
|
|
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
|
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
|
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
<controls>
|
|
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" 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>
|
|
</configuration>
|