Enjoy Every Sandwich

Thoughts on SQL, XML, .NET and sometimes beer.

<November 2008>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456


Navigation

Tools

List O'Links

Kent's Other Stuff

Subscriptions

News

Please read these
Notices and Disclamiers

Post Categories

Article Categories



Custom Web.Config sections: At least I can dream

I'm going off on rant. Deal with it.

Custom sections in Web.Config are pretty cool since you can use them to define easily changed configuration settings for applications outside of the bounds of <appSettings>.

So long as you want to use simple data structures like dictionaries, NamedValue pairs and so on.

Originally I though, hey, here's a great solution to my problem where I can't read a file during application_OnStart -- I'll just put that XML into a custom section.

Uh. No. It doesn't appear that there's a handler that supports reading in a whole section as an XML document fragment.

Well, there's one for the Orcas wishlist, I guess. Meantime its back to square one for me.

posted on Thursday, August 26, 2004 10:11 AM by ktegels





Powered by Dot Net Junkies, by Telligent Systems