PageRenderTime 47ms CodeModel.GetById 45ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/CSASPNETMVCCustomActionFilter/Views/Web.config

#
Unknown | 34 lines | 32 code | 2 blank | 0 comment | 0 complexity | 1e654076700af0ccdf4c88e4a84ed86f MD5 | raw file
 1<?xml version="1.0"?>
 2<configuration>
 3  <system.web>
 4    <httpHandlers>
 5      <add path="*" verb="*"
 6          type="System.Web.HttpNotFoundHandler"/>
 7    </httpHandlers>
 8
 9    <!--
10        Enabling request validation in view pages would cause validation to occur
11        after the input has already been processed by the controller. By default
12        MVC performs request validation before a controller processes the input.
13        To change this behavior apply the ValidateInputAttribute to a
14        controller or action.
15    -->
16    <pages
17        validateRequest="false"
18        pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
19        pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
20        userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
21      <controls>
22        <add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
23      </controls>
24    </pages>
25  </system.web>
26
27  <system.webServer>
28    <validation validateIntegratedModeConfiguration="false"/>
29    <handlers>
30      <remove name="BlockViewHandler"/>
31      <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
32    </handlers>
33  </system.webServer>
34</configuration>