213 lines
12 KiB
XML
213 lines
12 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>
|
|
<system.web>
|
|
<customErrors mode="RemoteOnly" defaultRedirect="Default.aspx" />
|
|
<compilation targetFramework="4.6.2" />
|
|
<globalization uiCulture="it-IT" culture="it-IT" />
|
|
<httpModules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
|
|
</httpModules>
|
|
<pages controlRenderingCompatibilityVersion="4.0">
|
|
<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>
|
|
<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="127.0.0.1" accessKey="" ssl="false" applicationName="MP_TAB" />
|
|
</providers>
|
|
</sessionState>
|
|
</system.web>
|
|
<appSettings>
|
|
<!--area redis!-->
|
|
<add key="RedEnab" value="true" />
|
|
<add key="MSE_cacheDuration" value="2" />
|
|
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
|
|
<add key="serializeSession" value="true" />
|
|
<add key="maxAgeAppConf_min" value="10" />
|
|
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
|
|
<add key="sqlLongCommandTimeout" value="600" />
|
|
<!--Conf generale-->
|
|
<add key="Environment" value="DEV" />
|
|
<add key="appVers" value="develop" />
|
|
<add key="downloadPath" value="c:\Steamware\installers\MP\TAB" />
|
|
<add key="doShrinkFolder" value="true" />
|
|
<add key="CodModulo" value="MoonPro" />
|
|
<!--impostazione cambio tempo calcolato tra minuti-ore-gg-->
|
|
<add key="maxMinuti" value="60" />
|
|
<add key="maxOre" value="1440" />
|
|
<!--preselezione valori da sessione-->
|
|
<add key="preselFromSession" value="false" />
|
|
<!--area gestione documenti/disegni -->
|
|
<add key="urlDisegni" value="~/Files/Disegni/{0}.pdf" />
|
|
<!--gestione check / warning-->
|
|
<add key="durMinWarning" value="20" />
|
|
<add key="intervalloControlli" value="90" />
|
|
<!--gg precedenti da visualizzare standard-->
|
|
<add key="defDayFrom" value="90" />
|
|
<!--refresh MSE-->
|
|
<add key="refrMSE_0" value="1001" />
|
|
<add key="intUpdatePagina_ms" value="1000" />
|
|
<!--!!!FARE!!! riportare a 0!!!-->
|
|
<add key="refrMSE_5" value="5" />
|
|
<add key="dtTimerInt" value="30000" />
|
|
<!-- Logging -->
|
|
<add key="_logDir" value="~/logs/" />
|
|
<add key="_logLevel" value="7" />
|
|
<add key="_logMaxMb" value="30" />
|
|
<!--Gestione auth dispositivi mobile-->
|
|
<add key="cookieName" value="Auth_MP_TAB" />
|
|
<add key="mainPage" value="~/MappaStato.aspx" />
|
|
<add key="dominio" value="Donati" />
|
|
<add key="user" value="Mobile" />
|
|
<add key="cookieDayExpire" value="3650" />
|
|
<add key="safePages" value="Test#regNewDevice" />
|
|
<add key="EmbedQRead" value="true" />
|
|
<add key="forceSecurePages" value="regNewDevice" />
|
|
<!--conf commenti e ricalcoli-->
|
|
<add key="idxTipoCommento" value="999" />
|
|
<add key="commEnableEditDel" value="true" />
|
|
<add key="minAnticipoRicalcolo" value="-2" />
|
|
<add key="dltMinRealtime" value="5" />
|
|
<add key="rdm_nEvStep" value="100" />
|
|
<add key="rdm_nEvCheck" value="40" />
|
|
<add key="rdm_ChkOnly" value="false" />
|
|
<!--caching dati in REDIS-->
|
|
<add key="currOdlCacheDur" value="300" />
|
|
<!--conf URL-->
|
|
<add key="baseUrlAdmin" value="http://iis02/MP/ADM/" />
|
|
<add key="pageUrlApprODL" value="approvazioneODL.aspx" />
|
|
<!--conf modalità conferma produzione: 1=gg, 2=turni, 0=periodo intero -->
|
|
<add key="modoConfProd" value="1" />
|
|
<!--Gestione email-->
|
|
<!--<add key="_adminEmail" value="samuele@steamware.net" />-->
|
|
<add key="_adminEmail" value="samuele@steamware.net,info@steamware.net" />
|
|
<add key="_fromEmail" value="MoonPro@steamware.net" />
|
|
<!-- <add key="_useAuthSmtp" value="false" />
|
|
<add key="_smtpCli" value="keyhammer.ath.cx" />-->
|
|
<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" />
|
|
<!--gestione approvazione ODL-->
|
|
<add key="oggettoChgTc" value="Richiesta modifica tempo ciclo da autorizzare" />
|
|
<add key="corpoChgTc" value="E' stata inserita una richiesta di modifica Tempo Ciclo in fase di attrezzaggio.{0}Per proseguire cliccare sul link seguente:{0}{0}{1}{0}{0}{0}{0}MoonPro@Steamware" />
|
|
<!--stringhe connessione SQL2016-->
|
|
<add key="DbConfConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
<add key="MoonProConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
<add key="PermessiConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
<add key="UtenteCdcConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_Anagrafica;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
<add key="VocabolarioConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_Vocabolario;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
<add key="DevicesConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
<add key="DevicesAuthConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_Anagrafica;Persist Security Info=True;User ID=steamware;Password=viadante16;" />
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="MoonProConnectionString" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" providerName="System.Data.SqlClient" />
|
|
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" providerName="System.Data.SqlClient" />
|
|
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=ColCom_MoonPro;Persist Security Info=True;User ID=steamware;Password=viadante16;" providerName="System.Data.SqlClient" />
|
|
</connectionStrings>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<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-11.0.0.0" newVersion="11.0.0.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>
|
|
<staticContent>
|
|
<remove fileExtension=".woff" />
|
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
|
<remove fileExtension=".woff2" />
|
|
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
|
|
<remove fileExtension=".svg" />
|
|
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
|
|
</staticContent>
|
|
</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> |