Conclusion

The .NET Framework API for reading configuration settings is designed to greatly simplify the code needed on the client. This API represents the perfect example of smooth XML integration. No matter how the configuration data is organized and where the data is located, the code you use to access the data is nearly identical. The only significant drawback I’ve noticed in the current implementation of the configuration API is that you can’t rely on a common and official API to update settings. However, as this chapter showed, using XML writers or, better yet, XML DOM documents provides a quick and effective workaround.

In this chapter, we reviewed the fundamentals of the .NET Framework configuration subsystem, the files in which it is ...

Get Applied XML Programming for Microsoft® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.