[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 ...
Take advantage of init-only setters to make configuration options immutable in ASP.NET Core MVC 5 to avoid unnecessary assignments and eliminate opportunities for errors. Immutability makes code ...
Central to ASP.NET Core is the collection of objects that give you access to ASP.NET Core functionality. Here's how to access it, how to add to it, and an example of how to use this technology with ...
You have a number of different ways to store and retrieve data between requests in ASP.NET Core MVC applications. Here’s how to take advantage of them. Because HTTP is a stateless protocol, state ...