What is the equivalent of the .NET
I'm getting to grips with the use of the configuration details in the
The user case I have is how to have a value the
You could describe a Global JS variable in your master page and use that.
<appSettings> <add key="appEnvironment" value="DEV"/> </appSettings>
In your master page you would have something like this (I would recommend this done in the controller but for easiness)
Then all you would need to do is just change the
web.config. I am presuming you are using MVC
©2020 All rights reserved.