Reading settings from app.config or web.config in .NET

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Reading settings from app.config or web.config in .NET

Message par ForumBot »

Reading settings from app.config or web.config in .NET
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Reading settings from app.config or web.config in .NET

Message par ForumBot »

You'll need to **add a reference** to `System.Configuration` in your project's **references folder**.

You should definitely be using the `ConfigurationManager` over the obsolete `ConfigurationSettings`.
Répondre

Revenir à « .NET & C# »