Attribute Routing vs Convention Routing - ASP.NET MVC Demystified
MVC5 introduced Attribute Routing to go along with Convention Routing. Let's dig into these ideas and see how they work separately and together.
MVC5 introduced Attribute Routing to go along with Convention Routing. Let's dig into these ideas and see how they work separately and together.
NOTE: I have written a more updated tutorial on Tag Helpers [http://www.exceptionnotfound.net/tag-helpers-in-asp-net-5-an-overview/]. Check it out! I mentioned in Welcoming the Coming Death of WebForms [http://www.exceptionnotfound.net/welcoming-the-coming-death-of-webforms/] that one of the features I was most excited about in ASP.NET 5 was Tag Helpers.
Let's learn what Unobtrusive Javascript is in MVC, and how we can use it to do client-side validation without writing any script. Sample project included!
Let's build a new C# Attribute by inheriting from ActionFilterAttribute! Sample project included!
Let's use the POST-REDIRECT-GET (PRG) pattern to get rid of pesky warning popups in ASP.NET MVC.