Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Web.config @ 11255

Last change on this file since 11255 was 4985, checked in by wtollsch, 14 years ago

#1198 HLWebOkbAdminPlugin

File size: 1.5 KB
RevLine 
[4985]1<?xml version="1.0"?>
2
3<configuration>
4  <system.web>
5    <httpHandlers>
6      <add path="*" verb="*" 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=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
19        pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
20        userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
21      <controls>
22        <add assembly="System.Web.Mvc, Version=2.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   
30    <handlers>
31      <remove name="BlockViewHandler"/>
32      <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
33    </handlers>
34  </system.webServer>
35</configuration>
Note: See TracBrowser for help on using the repository browser.