comparison Agendas/trunk/src/Agendas.Web/Web.config @ 10:c62b77fc33f4

website inicial
author nelo@MTEySS.neluz.int
date Sun, 13 Mar 2011 18:51:06 -0300
parents
children 18bb9fe40517
comparison
equal deleted inserted replaced
9:c90492faf268 10:c62b77fc33f4
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 -->
6
7 <configuration>
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" />
12 </connectionStrings>
13
14 <appSettings>
15 <add key="ClientValidationEnabled" value="true"/>
16 <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
17 </appSettings>
18
19 <system.web>
20 <compilation debug="true" targetFramework="4.0">
21 <assemblies>
22 <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
23 <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
24 <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
25 <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
26 <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
27 </assemblies>
28 </compilation>
29
30 <authentication mode="Forms">
31 <forms loginUrl="~/Account/LogOn" timeout="2880" />
32 </authentication>
33
34 <membership>
35 <providers>
36 <clear/>
37 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
38 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
39 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
40 applicationName="/" />
41 </providers>
42 </membership>
43
44 <profile>
45 <providers>
46 <clear/>
47 <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
48 </providers>
49 </profile>
50
51 <roleManager enabled="false">
52 <providers>
53 <clear/>
54 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
55 <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
56 </providers>
57 </roleManager>
58
59 <pages>
60 <namespaces>
61 <add namespace="System.Web.Helpers" />
62 <add namespace="System.Web.Mvc" />
63 <add namespace="System.Web.Mvc.Ajax" />
64 <add namespace="System.Web.Mvc.Html" />
65 <add namespace="System.Web.Routing" />
66 <add namespace="System.Web.WebPages"/>
67 </namespaces>
68 </pages>
69 </system.web>
70
71 <system.webServer>
72 <validation validateIntegratedModeConfiguration="false"/>
73 <modules runAllManagedModulesForAllRequests="true"/>
74 </system.webServer>
75
76 <runtime>
77 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
78 <dependentAssembly>
79 <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
80 <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
81 </dependentAssembly>
82 </assemblyBinding>
83 </runtime>
84 </configuration>