Mercurial > silverbladetech
diff SilverlightExampleApp/SilverlightExampleApp.Web/Web.config @ 49:502f5f365649
Initial load for Silverlight Example Application
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Tue, 17 Apr 2012 17:57:52 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SilverlightExampleApp/SilverlightExampleApp.Web/Web.config Tue Apr 17 17:57:52 2012 +0100 @@ -0,0 +1,92 @@ +<?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.webServer> + <modules runAllManagedModulesForAllRequests="true" /> + <validation validateIntegratedModeConfiguration="false" /> + </system.webServer> + <system.web> + <compilation debug="true" targetFramework="4.0" /> + <authentication mode="Forms"> + <forms defaultUrl="index.html" + loginUrl="index.html" + name="SilverlightExampleApp.Web" /> + </authentication> + </system.web> + + <!--<location path="Secure"> + <system.web> + <authorization> + <deny users="?"/> + </authorization> + </system.web> + </location>--> + + <location path="Services"> + <system.web> + <authorization> + <allow users="*"/> + </authorization> + </system.web> + </location> + + <system.serviceModel> + <behaviors> + <serviceBehaviors> + <behavior name=""> + <serviceMetadata httpGetEnabled="true" /> + <serviceDebug includeExceptionDetailInFaults="false" /> + </behavior> + </serviceBehaviors> + </behaviors> + <bindings> + <customBinding> + <binding name="SilverlightExampleApp.Web.Services.AuthenticationService.customBinding0"> + <binaryMessageEncoding /> + <httpTransport /> + </binding> + <binding name="SilverlightExampleApp.Web.Services.SecureService.customBinding0"> + <binaryMessageEncoding /> + <httpTransport /> + </binding> + <binding name="SilverlightExampleApp.Web.Secure.SecureService.customBinding0"> + <binaryMessageEncoding /> + <httpTransport /> + </binding> + <binding name="SilverlightExampleApp.Web.Secure.ClientDataService.customBinding0"> + <binaryMessageEncoding /> + <httpTransport /> + </binding> + </customBinding> + </bindings> + <serviceHostingEnvironment aspNetCompatibilityEnabled="true" + multipleSiteBindingsEnabled="true" /> + <services> + <service name="SilverlightExampleApp.Web.Services.AuthenticationService"> + <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Services.AuthenticationService.customBinding0" + contract="SilverlightExampleApp.Web.Services.AuthenticationService" /> + <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> + </service> + <service name="SilverlightExampleApp.Web.Services.SecureService"> + <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Services.SecureService.customBinding0" + contract="SilverlightExampleApp.Web.Services.SecureService" /> + <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> + </service> + <service name="SilverlightExampleApp.Web.Secure.SecureService"> + <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Secure.SecureService.customBinding0" + contract="SilverlightExampleApp.Web.Secure.SecureService" /> + <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> + </service> + <service name="SilverlightExampleApp.Web.Secure.ClientDataService"> + <endpoint address="" binding="customBinding" bindingConfiguration="SilverlightExampleApp.Web.Secure.ClientDataService.customBinding0" + contract="SilverlightExampleApp.Web.Secure.ClientDataService" /> + <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> + </service> + </services> + </system.serviceModel> +</configuration>