10
|
1 <?xml version="1.0"?>
|
|
2
|
|
3 <configuration>
|
30
|
4 <configSections>
|
|
5 <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
6 <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
|
7 <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
|
8 </sectionGroup>
|
|
9 </configSections>
|
10
|
10
|
30
|
11 <system.web.webPages.razor>
|
|
12 <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
13 <pages pageBaseType="System.Web.Mvc.WebViewPage">
|
|
14 <namespaces>
|
|
15 <add namespace="System.Web.Mvc" />
|
|
16 <add namespace="System.Web.Mvc.Ajax" />
|
|
17 <add namespace="System.Web.Mvc.Html" />
|
|
18 <add namespace="System.Web.Routing" />
|
|
19 </namespaces>
|
|
20 </pages>
|
|
21 </system.web.webPages.razor>
|
10
|
22
|
30
|
23 <appSettings>
|
|
24 <add key="webpages:Enabled" value="false" />
|
|
25 </appSettings>
|
10
|
26
|
30
|
27 <system.web>
|
|
28 <httpHandlers>
|
|
29 <add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
|
|
30 </httpHandlers>
|
10
|
31
|
30
|
32 <!--
|
10
|
33 Enabling request validation in view pages would cause validation to occur
|
|
34 after the input has already been processed by the controller. By default
|
|
35 MVC performs request validation before a controller processes the input.
|
|
36 To change this behavior apply the ValidateInputAttribute to a
|
|
37 controller or action.
|
|
38 -->
|
30
|
39 <pages
|
|
40 validateRequest="false"
|
|
41 pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
|
42 pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
|
43 userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
44 <controls>
|
|
45 <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
|
46 </controls>
|
|
47 </pages>
|
|
48 </system.web>
|
10
|
49
|
30
|
50 <system.webServer>
|
|
51 <validation validateIntegratedModeConfiguration="false" />
|
10
|
52
|
30
|
53 <handlers>
|
|
54 <remove name="BlockViewHandler"/>
|
|
55 <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
|
56 </handlers>
|
|
57 </system.webServer>
|
|
58 </configuration> |