Skip to content

Instantly share code, notes, and snippets.

@ncoblentz
Created June 3, 2013 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncoblentz/5700627 to your computer and use it in GitHub Desktop.
Save ncoblentz/5700627 to your computer and use it in GitHub Desktop.
... just the web services part ...
<system.serviceModel>
<services>
<service name="MPRBSL.WebServices.AuthenticationService" behaviorConfiguration="anonymousServiceBehavior">
<endpoint address="" contract="MPRBSL.WebServices.IAuthenticationService" binding="wsHttpBinding" bindingConfiguration="myWsHttpsBinding" />
</service>
<service name="MPRBSL.WebServices.IngredientsService" behaviorConfiguration="authenticatedServiceBehavior">
<endpoint address="" contract="MPRBSL.WebServices.IIngredientsService" binding="wsHttpBinding" bindingConfiguration="myWsHttpsBinding" />
</service>
<service name="MPRBSL.WebServices.ShoppingListService" behaviorConfiguration="authenticatedServiceBehavior">
<endpoint address="" contract="MPRBSL.WebServices.IShoppingListService" binding="wsHttpBinding" bindingConfiguration="myWsHttpsBinding" />
</service>
</services>
<bindings>
<wsHttpBinding>
<binding name="myWsHttpsBinding" allowCookies="true">
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="anonymousServiceBehavior">
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="false" httpHelpPageEnabled="false" httpsHelpPageEnabled="false" />
</behavior>
<behavior name="authenticatedServiceBehavior">
<serviceAuthorization serviceAuthorizationManagerType="MPRBSL.WebServices.MyServiceAuthorizationManager,MPRBSL" />
<serviceDebug includeExceptionDetailInFaults="false" httpHelpPageEnabled="false" httpsHelpPageEnabled="false" />
</behavior>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
</system.serviceModel>
... just the web services part ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment