I am currently evaluating my options for a rewrite of the projects I’m working on and I am a bit miffed by the stringly-typed nature of our app.config files.
I’d like to move to a more structured approach, so I have two options:
- Use custom SectionHandlers in the app.config
- Scrap app.config and use XAML instead.
I’d like to get your opinions and horror stories on this, what are the pros and cons of using XAML for this?
Cheers,
Florian
If we are talking about config files I would use the app.config? Why? That’s what it’s meant for. If we are talking about resources (pictures, messages) I would put them in a XAML resource directory.
There is a guideline available on the web on where to put what, but was still in draft last time I checked and doesn’t mention app.config afaik.
But do what works best for you 🙂