Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call custom config from web.config?
Message
From
26/11/2007 08:37:49
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01271196
Message ID:
01271209
Views:
16
>I thought I read somewhere that there is a way to have your own (custom) configuration file (e.g. my.config) that can be included in web.config. Is it possible and how? I want to have all of my custom < appSettings > in a config file but not in web.config.
>
>Thank you in advance for any help.

I haven't done this with a web application, but I am assuming you can have an app.config at the application level. When you make a call to read from a config file, there is a specific order that the application looks at the config files. Maybe somebody else can confirm that you can have an app.config in a web project.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform