Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WCF MSMQ
Hi all,
 

I want to create a wcf web application, with MSMQ Queue messages with selfhosting and netMsmqBinding...
 
Please help me to do it........
 

Thanks,
Posted 27-Jan-13 23:02pm
Comments
d@nish at 28-Jan-13 4:05am
   
Have you tried anything yet?
pradeepdg at 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
good
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 link..it will help you...
http://blogs.msdn.com/b/tess/archive/2009/01/12/wcf-101-creating-and-consuming-a-basic-wcf-service-hosted-in-iis.aspx[^]
 
Regards
Anurag
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 520
1 Maciej Los 205
2 Suvendu Shekhar Giri 159
3 Peter Leow 140
4 Kornfeld Eliyahu Peter 133
0 Sergey Alexandrovich Kryukov 9,623
1 OriginalGriff 8,895
2 Peter Leow 5,044
3 Kornfeld Eliyahu Peter 3,333
4 Maciej Los 2,561


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2015
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