Groups | Blog | Home
all groups > dotnet xml > march 2004 >

dotnet xml : XML Serialization


VB Programmer
3/12/2004 10:08:57 AM
(1) Can someone explain in a nutshell what this is, (2) when it's most
useful and (3) post a quick sample code for serializing/deserializing?

Thanks.

Cowboy (Gregory A. Beamer)
3/12/2004 12:08:21 PM
1. Serialization is the act of taking an object and reducing it to its LCD
(which is XML in .NET) so it can be reconstituted elsewhere (another app on
another server, for example).

2. When you have two apps that use common objects or a client that needs to
use the same object(s) as a server

3. Do not have any right away, but the easiest method is via web services
(either ASMX or Remoting) and using ISerializable. I will see if I can find
a link for you.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
[quoted text, click to view]

AddThis Social Bookmark Button