Web.config 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Дополнительные сведения о настройке приложения ASP.NET см. на странице
  4. https://go.microsoft.com/fwlink/?LinkId=301879.
  5. -->
  6. <configuration>
  7. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  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.7.2" />
  19. <httpRuntime targetFramework="4.7.2" />
  20. </system.web>
  21. <system.webServer>
  22. <handlers>
  23. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  24. <remove name="OPTIONSVerbHandler" />
  25. <remove name="TRACEVerbHandler" />
  26. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  27. </handlers>
  28. </system.webServer>
  29. <runtime>
  30. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  31. <dependentAssembly>
  32. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
  33. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  37. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  41. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="Microsoft.Web.Infrastructure" publicKeyToken="31bf3856ad364e35" />
  45. <bindingRedirect oldVersion="0.0.0.0-2.0.1.0" newVersion="2.0.1.0" />
  46. </dependentAssembly>
  47. <dependentAssembly>
  48. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  49. <bindingRedirect oldVersion="1.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  50. </dependentAssembly>
  51. <dependentAssembly>
  52. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  53. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  54. </dependentAssembly>
  55. <dependentAssembly>
  56. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  57. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  58. </dependentAssembly>
  59. <dependentAssembly>
  60. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  61. <bindingRedirect oldVersion="1.0.0.0-5.2.9.0" newVersion="5.2.9.0" />
  62. </dependentAssembly>
  63. </assemblyBinding>
  64. </runtime>
  65. <connectionStrings>
  66. <add name="esoftEntities" connectionString="metadata=res://*/Models.Entities.Base.csdl|res://*/Models.Entities.Base.ssdl|res://*/Models.Entities.Base.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=VPMT.RU\IS4;initial catalog=user9;persist security info=True;user id=user9;password=user9;trustservercertificate=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  67. </connectionStrings>
  68. <entityFramework>
  69. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  70. <parameters>
  71. <parameter value="mssqllocaldb" />
  72. </parameters>
  73. </defaultConnectionFactory>
  74. <providers>
  75. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  76. </providers>
  77. </entityFramework>
  78. <system.codedom>
  79. <compilers>
  80. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
  81. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  82. </compilers>
  83. </system.codedom>
  84. </configuration>