PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/MvcMusicStore/Web.config

#
ASP.NET | 60 lines | 50 code | 6 blank | 4 comment | 0 complexity | 2b776e72d027452be0796278e36a2008 MD5 | raw file
 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  <appSettings>
 9    <add key="webpages:Version" value="1.0.0.0"/>
10    <add key="ClientValidationEnabled" value="true"/>
11    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
12  </appSettings>
13    
14  <system.web>
15    <roleManager enabled="true" />
16    <compilation debug="true" targetFramework="4.0">
17      <assemblies>
18        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
19        <add assembly="System.Web.Helpers, Version=1.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=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
22        <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
23      </assemblies>
24    </compilation>
25
26    <authentication mode="Forms">
27      <forms loginUrl="~/Account/LogOn" timeout="2880" />
28    </authentication>
29
30    <pages>
31      <namespaces>
32        <add namespace="System.Web.Helpers" />
33        <add namespace="System.Web.Mvc" />
34        <add namespace="System.Web.Mvc.Ajax" />
35        <add namespace="System.Web.Mvc.Html" />
36        <add namespace="System.Web.Routing" />
37        <add namespace="System.Web.WebPages"/>
38      </namespaces>
39    </pages>
40  </system.web>
41
42  <system.webServer>
43    <validation validateIntegratedModeConfiguration="false"/>
44    <modules runAllManagedModulesForAllRequests="true"/>
45  </system.webServer>
46
47  <runtime>
48    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
49      <dependentAssembly>
50        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
51        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
52      </dependentAssembly>
53    </assemblyBinding>
54  </runtime>
55  <connectionStrings>
56    <add name="MusicStoreEntities"
57     connectionString="Data Source=|DataDirectory|MvcMusicStore.sdf"
58     providerName="System.Data.SqlServerCe.4.0"/>
59  </connectionStrings>  
60</configuration>