You can take advantage of custom route constraints in ASP.NET Core to validate route values and avoid passing unwanted or unnecessary requests to action methods. Route constraints in ASP.NET Core are ...
Take advantage of global exception handling to avoid writing scads of boilerplate exception handling code in ASP.NET Core MVC. Exceptions are runtime errors that ...
In previous columns I’ve looked at using TypeScript with popular JavaScript frameworks like Knockout and Backbone. It makes sense, therefore, to look at how to use TypeScript with one of the most ...
App.config and Web.config files are a great way to add flexibility to your .NET application without having to modify code in the future. They also allow clients or end users to make configuration ...
When the beta for Visual Studio 2010 (news, site) first came out, it lacked the ability to create ASP.NET MVC applications. This was because Visual Studio was in lock down before MVC 1.0 was released.
[Editor's note: Peter rewrote this article after a reader pointed out he over-engineered his original solution. ("What can I say: The code worked -- I just didn't need nearly as much code as I thought ...
A lot of ASP applications produce their output based on the contents of one or more XML files. XSLT documents transform the browser-neutral contents of those XML files into browser-specific HTML. The ...