Skip to content

Instantly share code, notes, and snippets.

@andreasohlund
Created June 1, 2011 12:50
Show Gist options
  • Select an option

  • Save andreasohlund/1002228 to your computer and use it in GitHub Desktop.

Select an option

Save andreasohlund/1002228 to your computer and use it in GitHub Desktop.
Exercise 12- Web
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="MsmqTransportConfig" type="NServiceBus.Config.MsmqTransportConfig, NServiceBus.Core"/>
<section name="UnicastBusConfig" type="NServiceBus.Config.UnicastBusConfig, NServiceBus.Core"/>
</configSections>
<MsmqTransportConfig InputQueue="web" ErrorQueue="error" NumberOfWorkerThreads="1" MaxRetries="5" />
<UnicastBusConfig>
<MessageEndpointMappings>
<add Messages="Messages.Request, Messages" Endpoint="server" />
</MessageEndpointMappings>
</UnicastBusConfig>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_ISecurityService" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:60988/Service1.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_ISecurityService" contract="ServiceReference1.ISecurityService" name="BasicHttpBinding_ISecurityService" />
</client>
</system.serviceModel>
<system.web>
<compilation debug="true" targetFramework="4.0"></compilation>
<authentication mode="Windows"/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment