简体   繁体   中英

How to make a program using message contract in wcf?

I am very very new to WCF and I have been asked to write a WCF service that will use Message Contract to generate an xml file as well as to read the xml file via the cilent proxy?

I am unable to click thru though searched in net.

If anyone can tell me the concept as well as a simple program of wCF(specific to Message contract) will be of great help.

Thanks in advance

There's the MSDN WCF Developer Center which has everything from beginner's tutorials to articles and sample code.

Also, I would recommend you have a look at the Pluralsight screen casts on WCF - it's an excellent series going from " Creating your first WCF service " and " Creating your first WCF client " all the way to rather advanced topics. Aaron Skonnard very nicely explains everything in 10-15 minutes screencasts - highly recommended!

For Message contracts specifically, check out:

The question is: do you really need message contracts?? Most of the time (> 90%), you don't - why do you want to use message contracts specifically?? I would try to learn WCF without focussing too much on the message contracts, unless you have a very specific need for them.

Actually I did my first experiment on Message Contract from this site Difference between Data Contract and Message Contract in WCF . They have given a program in the down and with a bit of my wit (joking) I was able to get thru.

But many thanks to all of you who has helped me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM