Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <!--
- For more information on how to configure your ASP.NET application, please visit
- http://go.microsoft.com/fwlink/?LinkId=152368
- -->
- <configuration>
- <configSections>
- <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
- </configSections>
- <appSettings>
- <add key="webpages:Version" value="1.0.0.0"/>
- <add key="ClientValidationEnabled" value="true"/>
- <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
- <add key="MarkTest" value="default"/>
- </appSettings>
- <!-- <system.diagnostics>
- <trace autoflush="true">
- <listeners>
- <add
- name="textWriterTraceListener"
- type="System.Diagnostics.TextWriterTraceListener"
- initializeData="C:\log4net.txt" />
- </listeners>
- </trace>
- </system.diagnostics>-->
- <system.web>
- <compilation debug="true" targetFramework="4.0"/>
- <authentication mode="Forms">
- <forms loginUrl="~/Account/LogOn" timeout="2880"/>
- </authentication>
- <pages controlRenderingCompatibilityVersion="4.0">
- <namespaces>
- <add namespace="System.Web.Helpers"/>
- <add namespace="System.Web.Mvc"/>
- <add namespace="System.Web.Mvc.Ajax"/>
- <add namespace="System.Web.Mvc.Html"/>
- <add namespace="System.Web.Routing"/>
- <add namespace="System.Web.WebPages"/>
- </namespaces>
- </pages>
- <httpRuntime/>
- <profile defaultProvider="DefaultProfileProvider">
- <providers>
- <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/"/>
- </providers>
- </profile>
- <membership defaultProvider="DefaultMembershipProvider">
- <providers>
- <add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
- </providers>
- </membership>
- <roleManager defaultProvider="DefaultRoleProvider">
- <providers>
- <add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/"/>
- </providers>
- </roleManager>
- <sessionState mode="InProc" customProvider="DefaultSessionProvider">
- <providers>
- <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"/>
- </providers>
- </sessionState>
- </system.web>
- <system.webServer>
- <validation validateIntegratedModeConfiguration="false"/>
- <!-- existingReponse="PassThrough" should be used in development, but existingResponse="Replace" everywhere else -->
- <httpErrors errorMode="Custom" existingResponse="Replace">
- <clear />
- <error statusCode="403" path="/StaticContent/Unauthorized" responseMode="ExecuteURL" />
- <error statusCode="404" path="/StaticContent/PageNotFound" responseMode="ExecuteURL" />
- <error statusCode="500" path="/StaticContent/Error" responseMode="ExecuteURL" />
- </httpErrors>
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
- <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0"/>
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <entityFramework>
- <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
- </entityFramework>
- <connectionStrings>
- <add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-MvcApplication2-20130218153733;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-MvcApplication2-20130218153733.mdf"/>
- </connectionStrings>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement