Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to get settings json data to mvc 6 view?

$
0
0

I want to load all settings key value pair from json file at once and use the settings key value in mvc 6 view page.I would be grateful if best solution is provided.I have a scenerio  as below 

if(Settings.enable_logo_text)
{
<span>Settings.logo_text</span>
}


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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