configurationelement Questions

3

Suppose I have the following <httpErrors> collection in a web.config: <httpErrors> </httpErrors> Yep, nice 'n empty. And in IIS 7, my HTTP errors page looks like this: Beau...
Chlori asked 23/11, 2010 at 10:34

5

I've been scouring the net for the last 3 days, and can't find any reference to this question. I've created a custom configuration class to be used with my app.config. Everything works fine. The pr...
Wiedmann asked 20/2, 2009 at 3:4

3

Solved

I'm wanting to put a DateTime in to the config file, however, I want the DateTime expressed in a specific way. I've seen examples of using a DateTime in a ConfigurationElement (like the example bel...
Ochre asked 17/8, 2009 at 21:16

2

I have (hopefully) setup ConfigurationElementCollection of my own design with emails as keys. Now what? Hard to find actually on the web. How do I: iterate through it? See if a specific element e...
Dowitcher asked 6/5, 2010 at 19:47

3

Solved

I have a console application that is trying to load a CustomConfigurationSection from a web.config file. The custom configuration section has a custom configuration element that is required. This...

2

I'm writing a WCF service and want to expose some custom configuration elements (e.g. Custom ConfigurationSection and ConnectionStringSettings) so that I can modify the service's configuration. O...
1

© 2022 - 2024 — McMap. All rights reserved.