I have a website based on react for frontend and .net MVC for the backend
I want to get the AppSettings methode in the ConfigurationManager
, but VS tells me, that there is no ConfigurationManager
type name in System.Configuration
I have a reference on System.Configuration
. Everything in other questions i tried, but it won't work.
If I try to acces the AppSettings with the methode System.Web.Configuration.WebConfigurationManager.AppSettings
it gives me an error that there is no type name or namespace for Configuration
Can someone help me fix this?
Oh wow...
With nuGet I had to search for
system.configuration
and then i could installSystem.Configuration.ConfigurationManager
Now, it works fine