191 lines
10 KiB
XML
191 lines
10 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
<configSections>
|
|
<!--Area ottimizzazioni FLESK-->
|
|
<sectionGroup name="Flesk.NET">
|
|
<section name="HttpCompression" type="Flesk.Accelerator.HttpCompression.ConfigHandler, Flesk.Accelerator"/>
|
|
<section name="ViewStateOptimizer" type="Flesk.Accelerator.Viewstate.ConfigHandler, Flesk.ViewState"/>
|
|
</sectionGroup>
|
|
</configSections>
|
|
<Flesk.NET>
|
|
<!--Area Compressione-->
|
|
<HttpCompression Algorithm="Deflate" CompressionLevel="high" ExcludeContentType="application/x-zip-compressed;image/jpeg;image/png">
|
|
<UserAgent Required="false">
|
|
<Exclude Match="Google"/>
|
|
</UserAgent>
|
|
<RequestPath>
|
|
<Exclude Match="\.axd"/>
|
|
<Exclude Match="WebResource\.axd"/>
|
|
<Exclude Match="WebUserControls\WebResource\.axd"/>
|
|
<Exclude Match="WebResource\.axd"/>
|
|
<Exclude Match="WebUserControls\WebResource\.axd"/>
|
|
<Exclude Match="\.asbx"/>
|
|
<!-- Exclude Microsoft Ajax -->
|
|
<Exclude Match="ajax/.+\.ashx"/>
|
|
</RequestPath>
|
|
<ContentType>
|
|
<IsText Match="text/.*"/>
|
|
<IsText Match="application/xml"/>
|
|
<IsText Match="image/(vnd\.\w+\.)?svg[\-|\+]xml"/>
|
|
</ContentType>
|
|
</HttpCompression>
|
|
<!--Area ViewState-->
|
|
<!--
|
|
The StorageMethod parameter sets the ViewState's storage type.
|
|
Possible values are :
|
|
|
|
- File (saves ViewState into a file, server side)
|
|
- StoragePath must specify a write enabled server path ( ~ means site root path)
|
|
If StoragePath is a web path (i.e.: \\MachineName\Dir), when used in webfarms,
|
|
please add the following line under <system.web>
|
|
<identity impersonate="true" userName="domain\username" password="userpass"/>
|
|
|
|
- Default (default ViewState saving method, sending hidden fields to client side)
|
|
|
|
- Session (saves ViewState into a Session variable, server side)
|
|
|
|
- SqlServer (saves the ViewState into a database table)
|
|
- ConnectionString specifies the database connection.
|
|
- TableName specifies the table in the database where the records will be stored.
|
|
|
|
New Option :
|
|
Compressed="true" or Compressed="false"
|
|
this will compress the ViewState if StorageMethod is Default or File.
|
|
so the ViewState's value will be significantly smaller than the original value.
|
|
Compression method is not suported by StorageMethod="Session"
|
|
|
|
-->
|
|
<ViewStateOptimizer PersistenceHandler="MyNamespace.MyViewstatePersister, MyAssembly" StorageMethod="File" StoragePath="~/Logs/ViewStates" ConnectionString="Data Source=localhost;Initial Catalog=EQUA_XPS;Persist Security Info=True;User ID=sa;Password=sa" TableName="app_ViewState" Compressed="true" RequestBehavior="EachLoad" ViewStateCleanupInterval="00:30:00" ViewStateFilesMaxAge="00:30:00"/>
|
|
</Flesk.NET>
|
|
<!--
|
|
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
|
|
|
The following attributes can be set on the <httpRuntime> tag.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.6.2" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<globalization uiCulture="auto" enableClientBasedCulture="true"/>
|
|
<compilation debug="true" targetFramework="4.6.2">
|
|
<assemblies>
|
|
<add assembly="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
|
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
|
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
|
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
|
<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
|
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
</assemblies>
|
|
<buildProviders/>
|
|
</compilation>
|
|
<httpHandlers>
|
|
<add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
|
</httpHandlers>
|
|
<httpModules>
|
|
<!--Area FLESK-->
|
|
<add name="CompressionModule" type="Flesk.Accelerator.Module, Flesk.Accelerator"/>
|
|
<!--
|
|
This HttpModule provides automatic cleanup of viewstate files
|
|
on the start of each session, thus requiring
|
|
the SessionStateModule to be installed as well.
|
|
-->
|
|
<add name="ViewstateCleanupModule" type="Flesk.Accelerator.Viewstate.CleanupModule, Flesk.ViewState"/>
|
|
</httpModules>
|
|
<customErrors mode="Off"/>
|
|
<!--<customErrors mode="RemoteOnly" defaultRedirect="unauthorized.aspx"/>-->
|
|
<httpRuntime maxRequestLength="102400"/>
|
|
<!-- qui sopra configurato x gestire allegati fino a 100 mb...
|
|
<httpRuntime
|
|
maxRequestLength="102400"
|
|
executionTimeout="1200"
|
|
useFullyQualifiedRedirectUrl="false"
|
|
minFreeThreads="8"
|
|
minLocalRequestFreeThreads="4"
|
|
appRequestQueueLimit="100" />
|
|
-->
|
|
<pages controlRenderingCompatibilityVersion="4.0"/>
|
|
</system.web>
|
|
<system.web.extensions>
|
|
<scripting>
|
|
<scriptResourceHandler enableCompression="true" enableCaching="true"/>
|
|
</scripting>
|
|
</system.web.extensions>
|
|
<appSettings>
|
|
<add key="CodModulo" value="XPS"/>
|
|
<add key="_navMaxChar" value="20"/>
|
|
<!--gestione cookie-->
|
|
<add key="AuthCookie" value="XPST"/>
|
|
<add key="enableCookie" value="true"/>
|
|
<add key="cookieDayExp" value="365"/>
|
|
<add key="authSite" value="http://IIS02/Equa_Auth/"/>
|
|
<add key="currSite" value="http://IIS02/XPST/"/>
|
|
<!--gestione button-->
|
|
<add key="autoConfCmd" value="true"/>
|
|
<!--gestione pagina-->
|
|
<add key="intUpdatePagina_ms" value="120000"/>
|
|
<add key="_righeDataGrid" value="30"/>
|
|
<add key="_righeDataGridAnagr" value="20"/>
|
|
<add key="_righeDataGridLong" value="20"/>
|
|
<add key="_righeDataGridMed" value="15"/>
|
|
<add key="_righeDataGridShort" value="10"/>
|
|
<add key="_fromEmail" value="xps@steamware.net"/>
|
|
<add key="_logDir" value="./logs/"/>
|
|
<add key="_logLevel" value="6"/>
|
|
<add key="_logMaxMb" value="30"/>
|
|
<add key="_allowForceUser" value="true"/>
|
|
<add key="_safePages" value="chLang.aspx#jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx"/>
|
|
<add key="_commonPages" value="menu.aspx"/>
|
|
<add key="_titoloPagina" value="XPS"/>
|
|
<add key="appName" value="XPST"/>
|
|
<add key="mainRev" value="1.3"/>
|
|
<add key="minRev" value="175"/>
|
|
<add key="copyRight" value="SteamWare © 2008-2012"/>
|
|
<add key="defaultApp" value="XPS_Appl"/>
|
|
<add key="defaultTitle" value="XPS_ShortWelcome"/>
|
|
<add key="defaultBody" value="XPS_LongWelcome"/>
|
|
<add key="_treeMaxChar" value="45"/>
|
|
<add key="_showAllTree" value="false"/>
|
|
<add key="_jumpStart" value="10"/>
|
|
<add key="defDayLeadTime" value="3"/>
|
|
<add key="_adminEmail" value="equa@steamware.net"/>
|
|
<add key="_emailUser" value="magazzino@fosfatazione.it"/>
|
|
<add key="_emailPwd" value="07fosfatazione"/>
|
|
<add key="_smtpCli" value="posta.fosfatazione.it"/>
|
|
<add key="XPSConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User id=sa;Password=keyhammer"/>
|
|
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User id=sa;Password=keyhammer"/>
|
|
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User id=sa;Password=keyhammer"/>
|
|
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Vocabolario;Persist Security Info=True;User id=sa;Password=keyhammer"/>
|
|
<!--Area barcode-->
|
|
<add key="bCodeRetMain" value="bcex"/>
|
|
<!-- Setup link a reporting -->
|
|
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&rs:Command=Render&rc:Parameters=false&rc:Toolbar=true&IdxObj={3}{4}"/>
|
|
<!-- NB: "/" == "%2f" -->
|
|
<add key="reportingServerAddress" value="10.74.82.217\SQL2008R2"/>
|
|
<add key="reportDir" value="ReportEqua"/>
|
|
<add key="reportName_mod" value="ReportSchedaIdentificazione"/>
|
|
<add key="reportName_lbl" value="LabelEqua"/>
|
|
<add key="reportOpzPdf" value="&rs:Format=PDF"/>
|
|
<add key="printerSchedaIdent" value="PDFCreator"/>
|
|
<add key="printerBarcode" value="PDFCreator"/>
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="XPS_data.Properties.Settings.si_dt30ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\MDB_Data\si_dt30.mdb;Persist Security Info=True" providerName="System.Data.OleDb"/>
|
|
<add name="XPS_data.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
|
<add name="XPS_data.Properties.Settings.Equa_XPSConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Equa_XPS_prod;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
|
</connectionStrings>
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<handlers>
|
|
<add name="ASBXHandler" verb="GET,HEAD,POST" path="*.asbx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
|
</handlers>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
|
<codeBase version="8.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL"/>
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration> |