You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
5.3 KiB

11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  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=301880
  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. <sectionGroup name="elmah">
  10. <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
  11. <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
  12. <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
  13. <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
  14. </sectionGroup>
  15. </configSections>
  16. <connectionStrings>
  17. <clear />
  18. <add name="SevominConnectionString" connectionString="Data Source=192.168.1.214;Initial Catalog=Sevomin;Integrated Security=True;Pooling=False" providerName="System.Data.SqlClient" />
  19. </connectionStrings>
  20. <appSettings>
  21. <add key="webpages:Version" value="3.0.0.0" />
  22. <add key="webpages:Enabled" value="false" />
  23. <add key="owin:AutomaticAppStartup" value="true" />
  24. <add key="ClientValidationEnabled" value="true" />
  25. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  26. </appSettings>
  27. <elmah>
  28. <!--
  29. See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
  30. more information on remote access and securing ELMAH.
  31. -->
  32. <security allowRemoteAccess="true" />
  33. <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/app_data/errors" />
  34. </elmah>
  35. <system.net>
  36. <mailSettings>
  37. <smtp from="[email protected]">
  38. <network host="localhost" port="25" enableSsl="false" userName="[email protected]" password="thIsI3aSecuR3P@$" />
  39. </smtp>
  40. </mailSettings>
  41. </system.net>
  42. <system.web>
  43. <compilation debug="true" targetFramework="4.5.1" />
  44. <httpRuntime targetFramework="4.5.1" />
  45. </system.web>
  46. <system.webServer>
  47. <handlers>
  48. <add name="ELMAH" verb="POST,GET,HEAD" path="errors.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
  49. </handlers>
  50. <modules runAllManagedModulesForAllRequests="true">
  51. <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
  52. <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
  53. <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
  54. </modules>
  55. </system.webServer>
  56. <runtime>
  57. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  58. <dependentAssembly>
  59. <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  60. <bindingRedirect oldVersion="0.0.0.0-2.0.2.0" newVersion="2.0.2.0" />
  61. </dependentAssembly>
  62. <dependentAssembly>
  63. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  64. <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
  65. </dependentAssembly>
  66. <dependentAssembly>
  67. <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  68. <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
  69. </dependentAssembly>
  70. <dependentAssembly>
  71. <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  72. <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
  73. </dependentAssembly>
  74. <dependentAssembly>
  75. <assemblyIdentity name="Microsoft.AspNet.Identity.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  76. <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  77. </dependentAssembly>
  78. <dependentAssembly>
  79. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  80. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  81. </dependentAssembly>
  82. <dependentAssembly>
  83. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  84. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  85. </dependentAssembly>
  86. <dependentAssembly>
  87. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  88. <bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" />
  89. </dependentAssembly>
  90. <dependentAssembly>
  91. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  92. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  93. </dependentAssembly>
  94. </assemblyBinding>
  95. </runtime>
  96. <entityFramework>
  97. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  98. <parameters>
  99. <parameter value="v11.0" />
  100. </parameters>
  101. </defaultConnectionFactory>
  102. <providers>
  103. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  104. </providers>
  105. </entityFramework>
  106. </configuration>