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.

109 lines
5.8 KiB

10 years ago
10 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. <!--<sectionGroup name="mailSettings">
  16. <section name="smtp" type="System.Net.Configuration.SmtpSection"/>
  17. </sectionGroup>-->
  18. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
  19. <connectionStrings>
  20. <clear />
  21. <!--<add name="SevominConnectionString" connectionString="Data Source=dc;Initial Catalog=Sevomin;Persist Security Info=True;User ID=sa;Password=123qwe;Pooling=False" providerName="System.Data.SqlClient" />-->
  22. <add name="SevominConnectionString" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=Sevomin;Integrated Security=True;Pooling=False" providerName="System.Data.SqlClient" />
  23. </connectionStrings>
  24. <appSettings>
  25. <add key="webpages:Version" value="3.0.0.0" />
  26. <add key="webpages:Enabled" value="false" />
  27. <add key="owin:AutomaticAppStartup" value="true" />
  28. <add key="ClientValidationEnabled" value="true" />
  29. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  30. </appSettings>
  31. <elmah>
  32. <!--
  33. See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
  34. more information on remote access and securing ELMAH.
  35. -->
  36. <security allowRemoteAccess="true" />
  37. <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/app_data/errors" />
  38. </elmah>
  39. <system.net>
  40. <mailSettings>
  41. <smtp>
  42. <network host="smtp.mandrillapp.com" port="587" password="4XdWMRVFBO-pow4I1md1Bw" userName="[email protected]" />
  43. </smtp>
  44. </mailSettings>
  45. </system.net>
  46. <system.web>
  47. <compilation debug="true" targetFramework="4.5.1" />
  48. <httpRuntime targetFramework="4.5.1" />
  49. </system.web>
  50. <system.webServer>
  51. <handlers>
  52. <add name="ELMAH" verb="POST,GET,HEAD" path="errors.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
  53. </handlers>
  54. <modules runAllManagedModulesForAllRequests="true">
  55. <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
  56. <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
  57. <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
  58. </modules>
  59. </system.webServer>
  60. <runtime>
  61. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  62. <dependentAssembly>
  63. <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  64. <bindingRedirect oldVersion="0.0.0.0-2.0.2.0" newVersion="2.0.2.0" />
  65. </dependentAssembly>
  66. <dependentAssembly>
  67. <assemblyIdentity name="Microsoft.Owin" 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" 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.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  76. <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
  77. </dependentAssembly>
  78. <dependentAssembly>
  79. <assemblyIdentity name="Microsoft.AspNet.Identity.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  80. <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  81. </dependentAssembly>
  82. <dependentAssembly>
  83. <assemblyIdentity name="System.Web.Helpers" 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.WebPages" publicKeyToken="31bf3856ad364e35" />
  88. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  89. </dependentAssembly>
  90. <dependentAssembly>
  91. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  92. <bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" />
  93. </dependentAssembly>
  94. <dependentAssembly>
  95. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  96. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  97. </dependentAssembly>
  98. </assemblyBinding>
  99. </runtime>
  100. <entityFramework>
  101. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  102. <parameters>
  103. <parameter value="v11.0" />
  104. </parameters>
  105. </defaultConnectionFactory>
  106. <providers>
  107. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  108. </providers>
  109. </entityFramework>
  110. </configuration>