Users Pricing

forum

Home Forums C# Reading Configuration settings – MindStick

C# Reading Configuration settings

Anonymous User 2984 31 Jan 2014

I have a C# class library A which has some configuration settings in its App.config I access them with

Method1()
{
string connectionString = ConfigurationManager.AppSettings["ConnectionString"];
}

But when I call Method 1() from my ASP Web project B, it cannot find the configurations settings in the Class library A

Any idea what is happening here?


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md