Click here to Skip to main content
13,146,395 members (49,591 online)
Rate this:
Please Sign up or sign in to vote.
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........

Posted 27-Jan-13 22:02pm
d@nish 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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...[^]


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100