A quick tip on how to prettify Json data when displaying it in a .Net Core MVC view.
Posts
I was recently converting a website to have a responsive design using Bootstrap. The content is served from an Azure SQL database and I needed to make a copy of the database so I could update the content in a test environment first.
Localizing content in MVC is straight forward with the use of .resx files to either annotate your data models or referencing the resources directly. But accessing the localized resource from within JavaScript code can be a little bit fiddlier.