• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 957
  • Last Modified:

When would I use Serializing/Deserializing in .Net WCF?

Hi:

I'm relatively new to the world of WCF and have been working through several online tutorials.

Currently, I'm looking at the aspect of serialization/deserialization and am trying to get my head around it. So far I've been using basic DataContracts and passing objects directly in my WCF service calls.

WCF provides the ability to serialize/deserialize objects (DataContract & XML).

It's not clear to me as to why I would need to do this.
In what instances would I need to do this?
What are the benefits of doing this?

Any overview would be awesome.

Thanks,
JohnB
0
jxbma
Asked:
jxbma
1 Solution
 
AndyAinscowCommented:
When you want to save (objects) to a file or read from a file for instance.
0
 
jxbmaSoftware ConsultantAuthor Commented:
I mean more specifically in terms contracts, schemas and/or messages in the WCF service/client architecture.
0
 
anarki_jimbelCommented:
Have a look at the topic. It also contains a reference to a good article.

http://social.msdn.microsoft.com/Forums/en/wcf/thread/321f365b-878e-4f11-84e9-251322011f92
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now