您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Web.config 3.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=301879
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  9. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  10. </configSections>
  11. <appSettings>
  12. <add key="webpages:Version" value="3.0.0.0" />
  13. <add key="webpages:Enabled" value="false" />
  14. <add key="ClientValidationEnabled" value="true" />
  15. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  16. </appSettings>
  17. <system.web>
  18. <compilation debug="true" targetFramework="4.5" />
  19. <httpRuntime targetFramework="4.5" />
  20. </system.web>
  21. <runtime>
  22. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  23. <dependentAssembly>
  24. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  25. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  26. </dependentAssembly>
  27. <dependentAssembly>
  28. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  29. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  30. </dependentAssembly>
  31. <dependentAssembly>
  32. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  33. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  37. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  41. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  45. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  46. </dependentAssembly>
  47. <dependentAssembly>
  48. <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
  49. <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  50. </dependentAssembly>
  51. </assemblyBinding>
  52. </runtime>
  53. <system.webServer>
  54. <handlers>
  55. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  56. <remove name="OPTIONSVerbHandler" />
  57. <remove name="TRACEVerbHandler" />
  58. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  59. </handlers>
  60. </system.webServer>
  61. <connectionStrings>
  62. <add name="ConnectionString42" connectionString="metadata=res://*/DataAccess.CacheEntities.csdl|res://*/DataAccess.CacheEntities.ssdl|res://*/DataAccess.CacheEntities.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=CacheControl;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  63. </connectionStrings>
  64. <entityFramework>
  65. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  66. <parameters>
  67. <parameter value="v11.0" />
  68. </parameters>
  69. </defaultConnectionFactory>
  70. <providers>
  71. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  72. </providers>
  73. </entityFramework>
  74. </configuration>