Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Web.config 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
  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. <loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="GeneralLog" logWarningsWhenNoCategoriesMatch="true">
  12. <listeners>
  13. <add name="Database Trace Listener" type="Microsoft.Practices.EnterpriseLibrary.Logging.Database.FormattedDatabaseTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging.Database, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration.FormattedDatabaseTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging.Database, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" databaseInstanceName="Logs-test" writeLogStoredProcName="dbo.WriteLog" addCategoryStoredProcName="dbo.AddCategory" formatter="Text Formatter" traceOutputOptions="None" />
  14. </listeners>
  15. <formatters>
  16. <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" template="Timestamp: {tab}{timestamp}&#xA;Category: {tab}{category}&#xA;Activity Code: {tab}{eventid}&#xA;Priority: {tab}{priority}&#xA;Severity: {tab}{severity}&#xA;UserName: {tab}{title}&#xA;Machine: {tab}{machine}&#xA;Application: {tab}{appDomain}&#xA;Session Id: {tab}{processId}&#xA;Win32 ThreadId: {win32ThreadId}&#xA;Thread Name: {tab}{threadName}&#xA;Message: {tab}{message}&#xA;Payload: {tab}{processName}&#xA;Extended Properties: {newline}{dictionary({key} - {value}&#xA;)}" name="Text Formatter" />
  17. <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" template="Extended Properties: {newline}{dictionary({key} - {value}&#xA;)}" name="Text Formatter for DB" />
  18. </formatters>
  19. <categorySources>
  20. <add switchValue="All" name="GeneralLog">
  21. <listeners>
  22. <add name="Database Trace Listener" />
  23. </listeners>
  24. </add>
  25. </categorySources>
  26. <specialSources>
  27. <allEvents switchValue="All" name="All Events">
  28. <listeners>
  29. <add name="Database Trace Listener" />
  30. </listeners>
  31. </allEvents>
  32. <notProcessed switchValue="All" name="Unprocessed Category">
  33. <listeners>
  34. <add name="Database Trace Listener" />
  35. </listeners>
  36. </notProcessed>
  37. <errors switchValue="All" name="Logging Errors &amp; Warnings">
  38. <listeners>
  39. <add name="Database Trace Listener" />
  40. </listeners>
  41. </errors>
  42. </specialSources>
  43. </loggingConfiguration>
  44. <connectionStrings>
  45. <add name="Logs-test" connectionString="Server=127.0.0.1;Database=Logs-test;Integrated Security=True" providerName="System.Data.SqlClient" />
  46. <add name="SqlServerManagerEntities" connectionString="metadata=res://*/DataAccess.SqlServerManager.csdl|res://*/DataAccess.SqlServerManager.ssdl|res://*/DataAccess.SqlServerManager.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=127.0.0.1;initial catalog=Logs-test;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /></connectionStrings>
  47. <appSettings>
  48. <add key="webpages:Version" value="3.0.0.0" />
  49. <add key="webpages:Enabled" value="false" />
  50. <add key="ClientValidationEnabled" value="true" />
  51. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  52. </appSettings>
  53. <system.web>
  54. <compilation debug="true" targetFramework="4.5" />
  55. <httpRuntime targetFramework="4.5" />
  56. </system.web>
  57. <runtime>
  58. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  59. <dependentAssembly>
  60. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  61. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  62. </dependentAssembly>
  63. <dependentAssembly>
  64. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  65. <bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  66. </dependentAssembly>
  67. <dependentAssembly>
  68. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  69. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  70. </dependentAssembly>
  71. <dependentAssembly>
  72. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  73. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  74. </dependentAssembly>
  75. <dependentAssembly>
  76. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  77. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  78. </dependentAssembly>
  79. <dependentAssembly>
  80. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  81. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  82. </dependentAssembly>
  83. <dependentAssembly>
  84. <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
  85. <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  86. </dependentAssembly>
  87. </assemblyBinding>
  88. </runtime>
  89. <system.webServer>
  90. <handlers>
  91. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  92. <remove name="OPTIONSVerbHandler" />
  93. <remove name="TRACEVerbHandler" />
  94. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  95. </handlers>
  96. </system.webServer>
  97. <entityFramework>
  98. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  99. <parameters>
  100. <parameter value="v11.0" />
  101. </parameters>
  102. </defaultConnectionFactory>
  103. <providers>
  104. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  105. </providers>
  106. </entityFramework>
  107. </configuration>