webconfigurationmanager Questions

5

Solved

I have a win form that creates a site in IIS7. One function needs to open the web.config file and make a few updates. (connection string, smtp, impersonation) However I do not have the virtual pat...
Raquelraquela asked 3/3, 2010 at 4:21

4

Solved

What's the difference between the WebConfigurationManager and the ConfigurationManager? When should I use one over the other? UPDATED I just looked at the WebConfigurationManager, and for some r...
Irreducible asked 30/3, 2009 at 17:20

1

Solved

Recently, I've been experimenting with caching objects with HttpRuntime.Cache and I was generally under the impression that if I "added" something to the cache like this: HttpRuntime.Cache.Insert(...
Unanimous asked 19/10, 2010 at 21:34

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

Solved

I had some trouble on a test server with an ASP.NET website. I goofed, and had the home directory of the Default Web Site pointed to the wrong place. When I tried: ConfigurationManager.ConnectionS...

2

Solved

I've used these two configuration files many times before, but I've never taken the time to fully understand how they really work. As most people do, I understand the basics in how to call WebConfi...
1

© 2022 - 2024 — McMap. All rights reserved.