Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //CLIENT WEB CONFIG
- <?xml version="1.0"?>
- <!--
- For more information on how to configure your ASP.NET application, please visit
- http://go.microsoft.com/fwlink/?LinkId=169433
- -->
- <configuration>
- <system.web>
- <customErrors mode="Off" defaultRedirect="ErrorPage.aspx"/>
- <pages maintainScrollPositionOnPostBack="true"/>
- <compilation debug="true" targetFramework="4.0"/>
- <authentication mode="Forms">
- <forms cookieless="UseCookies" loginUrl="Default.aspx" timeout="2880"/>
- </authentication>
- <!--
- If you are deploying to a cloud environment that has multiple web server instances,
- you should change session state mode from "InProc" to "Custom". In addition,
- change the connection string named "DefaultConnection" to connect to an instance
- of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
- -->
- <sessionState mode="InProc" customProvider="DefaultSessionProvider">
- <providers>
- <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"/>
- </providers>
- </sessionState>
- </system.web>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true"/>
- <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
- <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
- <dynamicTypes>
- <add mimeType="text/*" enabled="true"/>
- <add mimeType="message/*" enabled="true"/>
- <add mimeType="application/javascript" enabled="true"/>
- <add mimeType="*/*" enabled="false"/>
- </dynamicTypes>
- <staticTypes>
- <add mimeType="text/*" enabled="true"/>
- <add mimeType="message/*" enabled="true"/>
- <add mimeType="application/javascript" enabled="true"/>
- <add mimeType="*/*" enabled="false"/>
- </staticTypes>
- </httpCompression>
- <urlCompression doStaticCompression="true" doDynamicCompression="true"/>
- <staticContent>
- <clientCache cacheControlMaxAge="14.00:00:00" cacheControlMode="UseMaxAge"/>
- <remove fileExtension=".js"/>
- <mimeMap fileExtension=".js" mimeType="text/javascript"/>
- </staticContent>
- </system.webServer>
- <system.serviceModel>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
- <bindings>
- <basicHttpBinding>
- <binding name="BasicHttpBinding_ISRSService" />
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://localhost:53091/SRSService.svc" binding="basicHttpBinding"
- bindingConfiguration="BasicHttpBinding_ISRSService" contract="WCFReference.ISRSService"
- name="BasicHttpBinding_ISRSService" />
- </client>
- </system.serviceModel>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement