Quantcast
Channel: Reading settings from app.config or web.config in .NET - Stack Overflow
Viewing all articles
Browse latest Browse all 29

Answer by Jason for Reading settings from app.config or web.config in .NET

$
0
0

I have been trying to find a fix for this same issue for a couple of days now. I was able to resolve this by adding a key within the appsettings tag in the web.config file. This should override the .dll file when using the helper.

<configuration><appSettings><add key="loginUrl" value="~/RedirectValue.cshtml" /><add key="autoFormsAuthentication" value="false"/></appSettings></configuration>

Viewing all articles
Browse latest Browse all 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>