Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.43 KB | None | 0 0
  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=169433
  5.   -->
  6. <configuration>
  7.   <configSections>
  8.     <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
  9.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  11.     <section name="DbLayerConfig" type="Libs.DbLayer.DbLayerConfig, Libs.DbLayer" />
  12.   </configSections>
  13.   <DbLayerConfig dbConnString="Data Source=IZABELAANT\SQL2014EXPRESS;Initial Catalog=LBPulse;Persist Security Info=False;User ID=lbpulse;Password=lbpulse" tooLongQueryTime="00:00:10" />
  14.   <system.web>
  15.     <pages>
  16.       <namespaces>
  17.         <add namespace="System.Web.Optimization" />
  18.         <add namespace="LBPulse.Extensions" />
  19.       </namespaces>
  20.     </pages>
  21.     <compilation debug="true" targetFramework="4.5">
  22.       <assemblies>
  23.         <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  24.         <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  25.       </assemblies>
  26.     </compilation>
  27.     <httpRuntime targetFramework="4.5" />
  28.   </system.web>
  29.   <appSettings>
  30.     <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  31.     <add key="FilesPath" value="D:\Projekty\LBPulse\ServerApps\Applications\LBPulseMainWeb\UploadedFiles" />
  32.     <add key="EmailAddresses" value="andrzej.przykladowy@gmail.com,andrzej.przykladowy@gmail.com" />
  33.     <add key="UseBundling" value="0" />
  34.     <add key="EmailFromPerson" value="andrzej.przykladowy@gmail.com" />
  35.     <add key="SitePathPrefix" value="https://mainwebtestlbpulse.lbpro.pl" />
  36.   </appSettings>
  37.   <connectionStrings>
  38.     <add name="LBPulseEntities" connectionString="metadata=res://*/Domain.Model1.csdl|res://*/Domain.Model1.ssdl|res://*/Domain.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=IZABELAANT\SQL2014EXPRESS;initial catalog=LBPulse;integrated security=True;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  39.   </connectionStrings>
  40.   <entityFramework>
  41.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  42.     <providers>
  43.       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  44.     </providers>
  45.   </entityFramework>
  46.   <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  47.     <variable name="logdir" value="${basedir}\Logs" />
  48.     <variable name="filename" value="LBPulseMainWeb" />
  49.     <targets>
  50.       <target name="logfile" xsi:type="File" fileName="${logdir}\${filename}.log" layout="[${level}][${longdate}]${newline}Message:${message}${exception:format=tostring}" archiveFileName="${logdir}\Archive\${date:format=yyyyMMdd}\${filename}.log.{##}.txt" archiveEvery="Day" archiveNumbering="Rolling" maxArchiveFiles="30" />
  51.     </targets>
  52.     <rules>
  53.       <logger name="*" minlevel="Trace" writeTo="logfile" />
  54.     </rules>
  55.   </nlog>
  56.   <system.webServer>
  57.     <handlers>
  58.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  59.       <remove name="OPTIONSVerbHandler" />
  60.       <remove name="TRACEVerbHandler" />
  61.       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  62.     </handlers>
  63.   </system.webServer>
  64.   <runtime>
  65.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  66.       <dependentAssembly>
  67.         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  68.         <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  69.       </dependentAssembly>
  70.       <dependentAssembly>
  71.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  72.         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  73.       </dependentAssembly>
  74.     </assemblyBinding>
  75.   </runtime>
  76. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement