116 lines
5.2 KiB
XML
116 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
For more information on how to configure your ASP.NET application, please visit
|
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
|
-->
|
|
<configuration>
|
|
<configSections>
|
|
<sectionGroup name="elmah">
|
|
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
|
|
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
|
|
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
|
|
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
|
|
</sectionGroup>
|
|
</configSections>
|
|
<appSettings>
|
|
<!--nome sw e versioni-->
|
|
<add key="CodModulo" value="C2P" />
|
|
<add key="appName" value="C2P" />
|
|
<add key="mainRev" value="0.5" />
|
|
<add key="minRev" value="27" />
|
|
<!--area logger-->
|
|
<add key="_logDir" value="~/logs/" />
|
|
<add key="doShrinkFolder" value="true" />
|
|
<add key="_logLevel" value="6" />
|
|
<add key="_logMaxMb" value="30" />
|
|
<!--stringhe connessione-->
|
|
<add key="C2PConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
|
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="C2P_Data.Properties.Settings.Proxima_C2PConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer;" providerName="System.Data.SqlClient" />
|
|
</connectionStrings>
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5">
|
|
</compilation>
|
|
<httpRuntime targetFramework="4.5" />
|
|
<pages>
|
|
<namespaces>
|
|
<add namespace="System.Web.Optimization" />
|
|
</namespaces>
|
|
<controls>
|
|
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
|
|
</controls>
|
|
</pages>
|
|
<authentication mode="Forms">
|
|
<forms loginUrl="~/Account/Login" timeout="2880" defaultUrl="~/" />
|
|
</authentication>
|
|
<httpModules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
|
|
</httpModules>
|
|
</system.web>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<system.webServer>
|
|
<staticContent>
|
|
<!--aggiunto mimetype x scaricamento fonts aggiuntive-->
|
|
<remove fileExtension=".woff" />
|
|
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
|
|
<!--<mimeMap fileExtension=".woff" mimeType="APPLICATION/X-WOFF" />-->
|
|
</staticContent>
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
<modules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
|
|
</modules>
|
|
</system.webServer>
|
|
<elmah>
|
|
<!--
|
|
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
|
more information on remote access and securing ELMAH.
|
|
-->
|
|
<security allowRemoteAccess="false" />
|
|
</elmah>
|
|
<location path="elmah.axd" inheritInChildApplications="false">
|
|
<system.web>
|
|
<httpHandlers>
|
|
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
|
|
</httpHandlers>
|
|
<!--
|
|
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
|
more information on using ASP.NET authorization securing ELMAH.
|
|
|
|
<authorization>
|
|
<allow roles="admin" />
|
|
<deny users="*" />
|
|
</authorization>
|
|
-->
|
|
</system.web>
|
|
<system.webServer>
|
|
<handlers>
|
|
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
|
|
</handlers>
|
|
</system.webServer>
|
|
</location>
|
|
</configuration> |