行 1: <?xml version="1.0" encoding="utf-8"?>
行 2:
行 3: <!--
行 4: 有关如何配置 ASP.NET 应用程序的详细信息,请访问
行 5: http://go.microsoft.com/fwlink/?LinkId=152368
行 6: -->
行 7:
行 8: <configuration>
行 9: <connectionStrings>
行 10: <add name="ConnStr_Storebook" connectionString="Server=.;Database=Storebook;Uid=sa;Pwd=bjhttr" />
行 11: </connectionStrings>
行 12: <appSettings>
行 13: <add key="WebDAL" value="Purple.SqlServerDAL" />
行 14: </appSettings>
行 15:
行 16: <system.web>
行 17: <compilation debug="true" targetFramework="4.0">
行 18: <assemblies>
行 19: <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
行 20: <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
行 21: <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
行 22: </assemblies>
行 23: </compilation>
行 24:
行 25: <authentication mode="Forms">
行 26: <forms loginUrl="~/account/login" timeout="2880" />
行 27: </authentication>
行 28:
行 29: <membership>
行 30: <providers>
行 31: <clear />
行 32: <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
行 33: </providers>
行 34: </membership>
行 35:
行 36: <profile>
行 37: <providers>
行 38: <clear />
行 39: <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
行 40: </providers>
行 41: </profile>
行 42:
行 43: <roleManager enabled="false">
行 44: <providers>
行 45: <clear />
行 46: <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
行 47: <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
行 48: </providers>
行 49: </roleManager>
行 50:
行 51: <pages>
行 52: <namespaces>
行 53: <add namespace="Purple.Model" />
行 54: <add namespace="System.Web.Mvc" />
行 55: <add namespace="System.Web.Mvc.Ajax" />
行 56: <add namespace="System.Web.Mvc.Html" />
行 57: <add namespace="System.Web.Routing" />
行 58: </namespaces>
行 59: </pages>
行 60: </system.web>
行 61:
行 62: <system.webServer>
行 63: <validation validateIntegratedModeConfiguration="false" />
行 64: <modules runAllManagedModulesForAllRequests="true" />
行 65: </system.webServer>
行 66:
行 67: <runtime>
行 68: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
行 69: <dependentAssembly>
行 70: <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
行 71: <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
行 72: </dependentAssembly>
行 73: </assemblyBinding>
行 74: </runtime>
行 75: </configuration>
行 76:
行 77:
|