Search code examples
wcfvisual-studiomsmqcassini

WCF MSMQ service from Visual Studio


I'm trying to setup a very simple WCF service using MSMQ. I am following the steps here. When I go to run my service and load the .svc file, I get the following error:

The protocol 'net.msmq' is not supported.

Here's the relevant part of my config:

<services>
  <service name="MSMQService.MSMQService">
    <host>
      <baseAddresses>
        <add baseAddress="http://technoka1-l7:9999/"/>
      </baseAddresses>
    </host>
    <endpoint address="net.msmq://technoka1-l7/private/MSMQService.svc"
              binding="netMsmqBinding" contract="MSMQService.IMSMQService" />
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  </service>
</services>

Any ideas on how to fix would be greatly appreciated. I've looked at a lot of different places that make suggestions for IIS, but this is running within Cassini right now.


Solution

  • Looks like Cassini only supports http, so there is no way to run straight from Visual Studio.