Click here to Skip to main content
15,943,085 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to create a wcf web application, with MSMQ Queue messages with selfhosting and netMsmqBinding...

Please help me to do it........

dan!sh 28-Jan-13 4:05am    
Have you tried anything yet?
pradeepdg 28-Jan-13 4:25am    
i am not in getting how to create wcf service for MSMQ... and how to consume it?

1 solution

Hi..first of all..what is selfHosting??
You can start with creating a WCF service first using the templates in Visual Studio.
1)Add DataContracts, which mean what kind of data you wana expose, the datatypes and stuffs..
2)Add Service and Operation Contracts, which will have your methods and stuffs
3)Have an implementation of the methods

You can edit your WCF service by either the WCF COnfiguration editor or by manually editing the web.config..
Add an end-point with netMSMQBinding...

Later you can consume this WCF service in the web app which you wana create,by adding a service reference..
There will be many tutorials available here and also on various sites..Have a look..

Browse thru the below will help you...[^]

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900