How to deploy MSMQ on IIS (WCF) RRS feed

  • Question

  • Hi,
      I want to use netMsmqBinding. in WCF service and deploy on the IIS.
    First of all I want to know ,can we deploy netMsmqBinding on IIS.if yes then how?.I have created an application like 
    public interface IMSMQWCFService
        //string MyOperation1(string myValue);

        [OperationContract(IsOneWay = true)]
        void SendMessage(string message);

    public class MSMQWCFService : IMSMQWCFService

        #region IMSMQService Members

        public void SendMessage(string message)
            Console.WriteLine("Received Request--------->Message Received{0}", message);


    server -   web.config file 
    <binding name="MsmqBindingNonTransactionalNoSecurity" exactlyOnce="false">
    <security mode="None"/>
    <endpoint name="MSMQWCFService"
     binding="netMsmqBinding" bindingConfiguration="MsmqBindingNonTransactionalNoSecurity"
     contract="IMSMQWCFService" />
    I want to send message from client .Please tell me how to send message from client  to server using MSMQ.

    • Moved by eryang Monday, November 23, 2009 6:31 AM (From:.NET Base Class Library)
    Tuesday, November 17, 2009 4:28 AM

All replies

  • Hi,
    Thanks for your post, but where IIS experts live in, is dedicated to IIS and related technologies, you can post it there for better responses.

    Please remember to mark helpful replies as answers and unmark them if they provide no help.
    Wednesday, November 18, 2009 3:14 AM