Home All Groups Group Topic Archive Search About

How to use the new .NET 2.0 with EntLib to serialize an object into configuration???

Author
3 Nov 2006 7:35 PM
twang090
Goal:
1. The configuration files will be another file from app.config
2. I will tell .NET the format by providing a serializable object

What I usually do for configuration in .NET 1.1 with Entlib 1.1 is to
1. develop a schema
2. use a tool (xsdobjectgen) to generate the .NET classes
3. Initialize an instance and assign values
4. Use EntLib configuration tool to assign the configuration section to
a separate file
5. Use EntLib Configuration Application block to save this instance to
a section, the configuration data will automatically be there in step 4

This thing totally change when .NET 2.0 and EntLib 2.0 comes out, I
completely have no idea with how to achieve my goal.

could someone help please?

AddThis Social Bookmark Button