202 lines
10 KiB
XML
202 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="maxAgeAppConf_min" value="10" />
|
|
<add key="IOB_RedEnab" value="true" />
|
|
<add key="RedEnab" value="true" />
|
|
<!--valore durata cache x seq stati in minuti-->
|
|
<add key="seqCacheDurMin" value="7" />
|
|
<!--<add key="seqCacheDurMin" value="1440" />-->
|
|
<!--default valori-->
|
|
<add key="appName" value="MoonPro.18" />
|
|
<add key="seq_gg" value="15" />
|
|
<add key="seq_height" value="40" />
|
|
<add key="seq_numSpl" value="1000" />
|
|
<add key="UpdateToDefault" value="true" />
|
|
<add key="refreshShort" value="50000" />
|
|
<add key="refreshLong" value="300000" />
|
|
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
|
|
<add key="sqlLongCommandTimeout" value="600" />
|
|
<!--conf base-->
|
|
<add key="CodModulo" value="MoonPro" />
|
|
<add key="_righeDataGrid" value="30" />
|
|
<add key="_righeDataGridAnagr" value="20" />
|
|
<add key="_righeDataGridMed" value="10" />
|
|
<add key="_righeDataGridShort" value="10" />
|
|
<add key="_logDir" value="~/logs/" />
|
|
<add key="_logLevel" value="7" />
|
|
<add key="_logMaxMb" value="30" />
|
|
<add key="_allowForceUser" value="true" />
|
|
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
|
|
<add key="_commonPages" value="menu.aspx" />
|
|
<add key="_treeMaxChar" value="35" />
|
|
<add key="_showAllTree" value="false" />
|
|
<add key="_fromEmail" value="MoonPro@steamware.net" />
|
|
<add key="_adminEmail" value="samuele@steamware.net" />
|
|
<add key="_smtpCli" value="localhost" />
|
|
<add key="keepAliveMin" value="10" />
|
|
<add key="MinCharAutocomplete" value="1" />
|
|
<add key="_pdwRefreshDb" value="steamware" />
|
|
<add key="prefDichProd" value="XX" />
|
|
<add key="MostraProd" value="XXPRD" />
|
|
<add key="ConfermaProd" value="XXOK" />
|
|
<add key="AnnullaProd" value="XXCAN" />
|
|
<add key="AumentaProd" value="XXP" />
|
|
<add key="DiminuisciProd" value="XXM" />
|
|
<add key="prefDichFerm" value="FE" />
|
|
<add key="prefDichOp" value="OP" />
|
|
<add key="prefDichCodArt" value="KA" />
|
|
<add key="prefDichAttrezzaggio" value="AT" />
|
|
<add key="StartSetup" value="AT02" />
|
|
<add key="EndSetup" value="AT01" />
|
|
<add key="EndProd" value="AT07" />
|
|
<add key="prefModTurno" value="MT" />
|
|
<add key="modTurno1" value="MT01" />
|
|
<add key="modTurno2" value="MT02" />
|
|
<add key="modTurno3" value="MT03" />
|
|
<add key="idxPostazioneStd" value="P1005" />
|
|
<add key="idxMacchinaStd" value="1005" />
|
|
<add key="minutiUpdateAdmin" value="5" />
|
|
<add key="showSeqStati" value="true" />
|
|
<add key="showSeqTC" value="true" />
|
|
<add key="codV" value="Lavora" />
|
|
<add key="codG" value="???" />
|
|
<add key="codR" value="Ferma" />
|
|
<add key="codB" value="Attesa" />
|
|
<add key="codS" value="Spenta" />
|
|
<add key="authSenzaDominio" value="true" />
|
|
<add key="TcMaxFactor" value="2" />
|
|
<add key="chkIdxOdlEndProd" value="false" />
|
|
<!--charting-->
|
|
<add key="fastColorDecode" value="true" />
|
|
<add key="AutoCleanUpInterval" value="10" />
|
|
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
|
|
<!--DB 2016-->
|
|
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="MoonProConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
|
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
|
</connectionStrings>
|
|
<!--
|
|
Per una descrizione delle modifiche al file web.config, vedere il sito Web all'indirizzo http://go.microsoft.com/fwlink/?LinkId=235367.
|
|
|
|
Gli attributi seguenti possono essere impostati sul tag <httpRuntime>.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.6.2" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<globalization uiCulture="it" culture="it-IT" enableClientBasedCulture="false" />
|
|
<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>
|
|
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="127.0.0.1" accessKey="" ssl="false" applicationName="MP_SITE" />
|
|
</providers>
|
|
</sessionState>
|
|
</system.web>
|
|
<system.webServer>
|
|
<staticContent>
|
|
<!--aggiunto mimetype x scaricamento fonts aggiuntive-->
|
|
<remove fileExtension=".woff" />
|
|
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
|
|
<remove fileExtension=".woff2" />
|
|
<mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
|
|
</staticContent>
|
|
|
|
</system.webServer>
|
|
<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="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
|
|
</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>
|
|
</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" />
|
|
</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> |