Blog Archives

ASP.NET MVC Deep Dive – Routing


Oftentimes as developers we use frameworks without really knowing how hte magic happens because we are so focussed on delivery and lean upon the frameworks. So for instance, have you ever wondered how the following are achieved: How do images,

Posted in ASP.NET MVC

Global exception logging in ASP.NET MVC 4


This post is an aggregation of various posts found on the web which aim to address the issue of global logging of exceptions as well as the display of nice “error” pages in ASP.NET MVC 4. As developers, we do

Posted in .NET, ALT.NET, ASP.NET MVC, NLog

ASP.NET MVC Label display name and validation messages


This is an aide-memoire for how ASP.NET MVC will output label and error messages and what “settings” will override which ones. Model public class LoginModel {     [Required]     public string UserName { get; set; }     [Required]     [DataType(DataType.Password)]

Posted in AideMemoire, ASP.NET MVC