Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Web/Web.config @ 67:c8099df941bd
Implementando persistencia con NHibernate en el proyecto web
author | nelopauselli |
---|---|
date | Thu, 19 May 2011 01:24:56 -0300 |
parents | a5632b23ca43 |
children | c8897b1c6f49 |
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> |
22 <compilation debug="true" targetFramework="4.0"> | |
23 <assemblies> | |
24 <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
25 <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
26 <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
27 <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
28 <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
29 </assemblies> | |
30 </compilation> | |
10 | 31 |
30 | 32 <authentication mode="Forms"> |
33 <forms loginUrl="~/Account/LogOn" timeout="2880" /> | |
34 </authentication> | |
10 | 35 |
30 | 36 <membership> |
37 <providers> | |
38 <clear/> | |
39 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" | |
40 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" | |
41 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" | |
42 applicationName="altnet-hispano.agenda" /> | |
43 </providers> | |
44 </membership> | |
10 | 45 |
30 | 46 <profile> |
47 <providers> | |
48 <clear/> | |
49 <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /> | |
50 </providers> | |
51 </profile> | |
10 | 52 |
30 | 53 <roleManager enabled="false"> |
54 <providers> | |
55 <clear/> | |
56 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /> | |
57 <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> | |
58 </providers> | |
59 </roleManager> | |
10 | 60 |
30 | 61 <pages> |
62 <namespaces> | |
63 <clear/> | |
64 <add namespace="System.Web.Helpers" /> | |
65 <add namespace="System.Web.Mvc" /> | |
66 <add namespace="System.Web.Mvc.Ajax" /> | |
67 <add namespace="System.Web.Mvc.Html" /> | |
68 <add namespace="System.Web.Routing" /> | |
69 <add namespace="System.Web.WebPages"/> | |
70 </namespaces> | |
71 </pages> | |
72 </system.web> | |
10 | 73 |
30 | 74 <system.webServer> |
75 <validation validateIntegratedModeConfiguration="false"/> | |
76 <modules runAllManagedModulesForAllRequests="true"/> | |
77 </system.webServer> | |
10 | 78 |
30 | 79 <runtime> |
80 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
81 <dependentAssembly> | |
82 <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> | |
83 <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /> | |
84 </dependentAssembly> | |
85 </assemblyBinding> | |
86 </runtime> | |
87 </configuration> |