May 2010
Intermediate to advanced
1272 pages
61h 18m
English
Soap serialization works similarly to binary serialization. First, you need to add a reference to the System.Runtime.Serialization.Formatters.Soap.dll assembly. Then you add an Imports System.Runtime.Serialization.Formatters.Soap directive. At this point you can serialize and deserialize your objects. To continue the example of the typed collection shown in the previous section, write the following code to accomplish serialization with the Soap formatter:

Basically there is no difference in the syntax for the Soap formatter if compared to the binary one.
Read now
Unlock full access