171 lines
10 KiB
XML
171 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Per altre informazioni su come configurare l'applicazione ASP.NET, vedere
|
|
https://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>
|
|
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
|
|
<add key="serializeSession" value="true" />
|
|
<add key="disable_singleton" value="true" />
|
|
<add key="errorPageRedirect" value="./Reset?Action=CDV" />
|
|
<add key="maxAgeAppConf_min" value="15" />
|
|
<!--parametri base-->
|
|
<add key="intUpdatePagina_ms" value="240000" />
|
|
<add key="baseLang" value="IT" />
|
|
<!--nome sw e versioni-->
|
|
<add key="CodModulo" value="B2BC" />
|
|
<add key="AutoAuth" value="true" />
|
|
<add key="baseUrl" value="http://iis02/B2BC" />
|
|
<add key="SiteName" value="iis02/B2BC" />
|
|
<!--gestione log-->
|
|
<add key="_logDir" value="~/logs/" />
|
|
<add key="_logLevel" value="7" />
|
|
<add key="_logMaxMb" value="30" />
|
|
<!-- parametri programma -->
|
|
<add key="minStatoER" value="10" />
|
|
<add key="maxStatoER" value="50" />
|
|
<!--gestione auth dispositivi-->
|
|
<add key="AuthCookieName" value="AuthDeviceB2Bc" />
|
|
<add key="defaultDomain" value="B2BC" />
|
|
<add key="enablePlain" value="true" />
|
|
<add key="urlGestUtenti" value="UserAdmin" />
|
|
<add key="adminEmail" value="samuele@steamware.net" />
|
|
<add key="PageNoIndex" value="UserAdmin#About#Contact#Login" />
|
|
<!--Gestione email-->
|
|
<add key="_debugEmail" value="samuele@steamware.net" />
|
|
<add key="_adminEmail" value="ceo@steamware.net" />
|
|
<add key="_fromEmail" value="B2BC@steamware.net" />
|
|
<add key="_useAuthSmtp" value="true" />
|
|
<add key="_smtpCli" value="smtp.gmail.com" />
|
|
<add key="_emailUser" value="steamwarebot@gmail.com" />
|
|
<add key="_emailPwd" value="drmfsls16" />
|
|
<add key="_enableSSL" value="true" />
|
|
<!--DB 2016-->
|
|
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="DevicesAuthConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="B2BCondConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="Data.Properties.Settings.B2BCondConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
|
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=B2BCond;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
|
</connectionStrings>
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.6.2" />
|
|
<httpRuntime targetFramework="4.6.1" />
|
|
<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>
|
|
<httpModules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" /><add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" /><add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" /></httpModules>
|
|
<sessionState mode="Custom" customProvider="MySessionStateStore">
|
|
<providers>
|
|
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki --><!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. --><!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. --><!--
|
|
<add name="MySessionStateStore"
|
|
host = "127.0.0.1" [String]
|
|
port = "" [number]
|
|
accessKey = "" [String]
|
|
ssl = "false" [true|false]
|
|
throwOnError = "true" [true|false]
|
|
retryTimeoutInMilliseconds = "5000" [number]
|
|
databaseId = "0" [number]
|
|
applicationName = "" [String]
|
|
connectionTimeoutInMilliseconds = "5000" [number]
|
|
operationTimeoutInMilliseconds = "1000" [number]
|
|
connectionString = "<Valid StackExchange.Redis connection string>" [String]
|
|
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
|
|
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
|
|
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
|
|
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
|
|
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
|
|
/>
|
|
-->
|
|
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="localhost" accessKey="localhost" ssl="false" applicationName="B2BC" />
|
|
</providers>
|
|
</sessionState></system.web>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
|
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35" />
|
|
<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="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.AspNet.TelemetryCorrelation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.0.3.0" newVersion="1.0.3.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<system.webServer>
|
|
<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" />
|
|
<remove name="Session" />
|
|
<add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
|
|
</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>
|
|
<system.codedom>
|
|
<compilers>
|
|
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
|
|
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
|
|
</compilers>
|
|
</system.codedom>
|
|
</configuration> |