annotate Agendas/trunk/src/Agendas.Web/Views/Web.config @ 10:c62b77fc33f4

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