Using Constants in Razor Views

It is very easy when creating a website to fall into the trap of duplicating small bits of information throughout your site.  It may seem expedient to hard-code something like your phone number or email in your views, especially initially when you may only reference it in one or two places. However, once you start […]