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 Sergey Alexandrovich Kryukov 504
1 Maciej Los 349
2 Kornfeld Eliyahu Peter 325
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,303
1 DamithSL 4,764
2 Maciej Los 4,306
3 Kornfeld Eliyahu Peter 3,914
4 Sergey Alexandrovich Kryukov 3,538


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2014
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