Archive for the ‘ MVC ’ Category

UiDev mode

Nice way to include JavaScript or CSS only for testing or debug purposes. This uses Combres, but you could just use a standard

@Html.Raw(ConfigurationManager.AppSettings["UiDevCodeEnabled"] == "true" ? Url.CombresLink("debugJs") : "")