Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <sectionGroup name="emailConfigGroup">
- <section name="provider" type="OccasionalWork.WebUI.Infrastructure.Config.EmailSection" allowLocation="true" allowDefinition="Everywhere"/>
- </sectionGroup>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
- </configSections>
- <connectionStrings>
- <add name="DefaultConnection" connectionString="server=xxx;user id=xx;pwd=xxx;database=occasionalwork;Convert Zero Datetime=True" providerName="MySql.Data.MySqlClient" />
- </connectionStrings>
- <log4net debug="true">
- <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
- <file value="logs\log.txt" />
- <appendToFile value="true" />
- <rollingStyle value="Size" />
- <maxSizeRollBackups value="10" />
- <maximumFileSize value="10MB" />
- <staticLogFileName value="true" />
- <layout type="log4net.Layout.PatternLayout">
- <conversionPattern value="%-5p %d %5rms %-22.22c{1} %-18.18M - %m%n" />
- </layout>
- </appender>
- <root>
- <level value="DEBUG" />
- <appender-ref ref="RollingLogFileAppender" />
- </root>
- </log4net>
- <appSettings>
- <add key="webpages:Version" value="3.0.0.0" />
- <add key="webpages:Enabled" value="false" />
- <add key="ClientValidationEnabled" value="true" />
- <add key="UnobtrusiveJavaScriptEnabled" value="true" />
- </appSettings>
- <emailConfigGroup>
- <provider>
- <emailProvider username="noreply@occasionalwork.se"
- password="xxxx"
- email="noreply@occasionalwork.se"
- server="smtp01.binero.se"
- port="587"
- useSsl="false"/>
- </provider>
- </emailConfigGroup>
- <system.web>
- <authentication mode="Forms">
- <forms loginUrl="~/Account/Login" timeout="2880" />
- </authentication>
- <compilation debug="true" targetFramework="4.5.2">
- <assemblies>
- </assemblies>
- </compilation>
- <httpRuntime targetFramework="4.5.2" />
- </system.web>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <system.data>
- <DbProviderFactories>
- <remove invariant="MySql.Data.MySqlClient" />
- <add description=".Net Framework Data Provider for MySQL" invariant="MySql.Data.MySqlClient" name="MySQL Data Provider" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.10.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
- </DbProviderFactories>
- </system.data></configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement