annotate Agendas/trunk/src/Agendas.Web/Views/Web.config @ 208:607384590bf8

Mejorando el mensaje de error que se muestra cuando hay un error de validación del lado del servidor
author nelopauselli
date Wed, 24 Aug 2011 11:30:06 -0300
parents 23aaf98b8377
children
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>
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
4 <configSections>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
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">
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
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" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
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" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
8 </sectionGroup>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
9 </configSections>
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
10
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
11 <system.web.webPages.razor>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
12 <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
13 <pages pageBaseType="System.Web.Mvc.WebViewPage">
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
14 <namespaces>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
15 <add namespace="System.Web.Mvc" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
16 <add namespace="System.Web.Mvc.Ajax" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
17 <add namespace="System.Web.Mvc.Html" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
18 <add namespace="System.Web.Routing" />
94
db4b1e2cae49 Cambio del nombre de la clase Ponente a Persona
Nelo@Kenia.neluz.int
parents: 30
diff changeset
19 <add namespace="AltNetHispano.Agendas.Web"/>
155
23aaf98b8377 Generalizando editores en EditorDefault basando los textos en recursos
Nelo@Guinea.neluz.int
parents: 94
diff changeset
20 <add namespace="AltNetHispano.Agendas.Resources.Properties"/>
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
21 </namespaces>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
22 </pages>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
23 </system.web.webPages.razor>
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
24
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
25 <appSettings>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
26 <add key="webpages:Enabled" value="false" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
27 </appSettings>
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
28
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
29 <system.web>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
30 <httpHandlers>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
31 <add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
32 </httpHandlers>
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
33
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
34 <!--
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
35 Enabling request validation in view pages would cause validation to occur
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
36 after the input has already been processed by the controller. By default
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
37 MVC performs request validation before a controller processes the input.
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
38 To change this behavior apply the ValidateInputAttribute to a
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
39 controller or action.
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
40 -->
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
41 <pages
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
42 validateRequest="false"
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
43 pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
44 pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
45 userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
46 <controls>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
47 <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
48 </controls>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
49 </pages>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
50 </system.web>
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
51
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
52 <system.webServer>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
53 <validation validateIntegratedModeConfiguration="false" />
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
54
30
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
55 <handlers>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
56 <remove name="BlockViewHandler"/>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
57 <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
58 </handlers>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
59 </system.webServer>
3e5b80e58b1d tabs en web.config
nelo@MTEySS.neluz.int
parents: 10
diff changeset
60 </configuration>