Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Web/Web.config @ 82:c8897b1c6f49
Manejo de excepciones en sitio web
author | nelopauselli |
---|---|
date | Tue, 24 May 2011 19:31:10 -0300 |
parents | c8099df941bd |
children | d1688622fa88 |
rev | line source |
---|---|
10 | 1 <?xml version="1.0"?> |
2 <!-- | |
3 For more information on how to configure your ASP.NET application, please visit | |
4 http://go.microsoft.com/fwlink/?LinkId=152368 | |
5 --> | |
43 | 6 |
10 | 7 <configuration> |
30 | 8 <connectionStrings> |
9 <add name="ApplicationServices" | |
10 connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" | |
11 providerName="System.Data.SqlClient" /> | |
67
c8099df941bd
Implementando persistencia con NHibernate en el proyecto web
nelopauselli
parents:
43
diff
changeset
|
12 <add name="AltNetHispano" connectionString="Data Source=.\sqlexpress;Initial Catalog=AltNetHispano;Integrated Security=SSPI"/> |
c8099df941bd
Implementando persistencia con NHibernate en el proyecto web
nelopauselli
parents:
43
diff
changeset
|
13 |
30 | 14 </connectionStrings> |
10 | 15 |
30 | 16 <appSettings> |
17 <add key="ClientValidationEnabled" value="true"/> | |
18 <add key="UnobtrusiveJavaScriptEnabled" value="true"/> | |
19 </appSettings> | |
10 | 20 |
30 | 21 <system.web> |
82 | 22 <customErrors mode="On"/> |
30 | 23 <compilation debug="true" targetFramework="4.0"> |
24 <assemblies> | |
25 <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
26 <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
27 <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
28 <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
29 <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
30 </assemblies> | |
31 </compilation> | |
10 | 32 |
30 | 33 <authentication mode="Forms"> |
34 <forms loginUrl="~/Account/LogOn" timeout="2880" /> | |
35 </authentication> | |
10 | 36 |
30 | 37 <membership> |
38 <providers> | |
39 <clear/> | |
40 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" | |
41 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" | |
42 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" | |
43 applicationName="altnet-hispano.agenda" /> | |
44 </providers> | |
45 </membership> | |
10 | 46 |
30 | 47 <profile> |
48 <providers> | |
49 <clear/> | |
50 <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /> | |
51 </providers> | |
52 </profile> | |
10 | 53 |
30 | 54 <roleManager enabled="false"> |
55 <providers> | |
56 <clear/> | |
57 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /> | |
58 <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> | |
59 </providers> | |
60 </roleManager> | |
10 | 61 |
30 | 62 <pages> |
63 <namespaces> | |
64 <clear/> | |
65 <add namespace="System.Web.Helpers" /> | |
66 <add namespace="System.Web.Mvc" /> | |
67 <add namespace="System.Web.Mvc.Ajax" /> | |
68 <add namespace="System.Web.Mvc.Html" /> | |
69 <add namespace="System.Web.Routing" /> | |
70 <add namespace="System.Web.WebPages"/> | |
71 </namespaces> | |
72 </pages> | |
73 </system.web> | |
10 | 74 |
30 | 75 <system.webServer> |
76 <validation validateIntegratedModeConfiguration="false"/> | |
77 <modules runAllManagedModulesForAllRequests="true"/> | |
78 </system.webServer> | |
10 | 79 |
30 | 80 <runtime> |
81 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
82 <dependentAssembly> | |
83 <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> | |
84 <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /> | |
85 </dependentAssembly> | |
86 </assemblyBinding> | |
87 </runtime> | |
88 </configuration> |