1 | <?xml version="1.0"?>
|
---|
2 |
|
---|
3 | <configuration>
|
---|
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 |
|
---|
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>
|
---|
22 |
|
---|
23 | <appSettings>
|
---|
24 | <add key="webpages:Enabled" value="false" />
|
---|
25 | </appSettings>
|
---|
26 |
|
---|
27 | <system.web>
|
---|
28 | <httpHandlers>
|
---|
29 | <add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
|
---|
30 | </httpHandlers>
|
---|
31 |
|
---|
32 | <!--
|
---|
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 | -->
|
---|
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>
|
---|
49 |
|
---|
50 | <system.webServer>
|
---|
51 | <validation validateIntegratedModeConfiguration="false" />
|
---|
52 |
|
---|
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>
|
---|