The Catch Block C# ASP.NET The Catch Block #34 - Useful String Extensions Let's build useful string extension methods like ToDelimitedList and Excerpt. Plus: .NET 5.0 has launched! by Matthew Jones
ASP.NET Tutorials Guest Writer Program MongoDB Transactions in .NET Applications This post gives you a general idea on Database Transactions, defines what transactions in MongoDB are and explains how to run your MongoDB as a replicaset. You will also learn how to use MongoDB Transactions in a .NET application. by Ram Hemasri
ASP.NET Razor Pages ASP.NET Sample Project Using Anti-Forgery Tokens in ASP.NET 5.0 Razor Pages Let's see how to use anti-forgery tokens and validation to prevent CSRF attacks in our Razor Pages apps! by Matthew Jones
Testing XUnit Sample Project Using XUnit Theory and InlineData to Test C# Extension Methods Let's unit test a C# extension method using XUnit's [Theory] and [InlineData] attributes, so we can write lots of tests in little time! by Matthew Jones
Testing Moq Sample Project Using Moq to Create Fluent Test Classes in ASP.NET 5.0 Using Moq, we'll create a set of "fluent" mocked classes, which will clean up our tests by allowing us to "chain" methods being mocked. by Matthew Jones
Dependency Injection C# ASP.NET The Repository-Service Pattern with DI and ASP.NET 5.0 Let's build a complex but useful architecture called the Repository-Service pattern to clearly enforce separation of concerns. by Matthew Jones
ASP.NET C# Sorting How Can We Efficiently Sort Socks with C#? I hate laundry, and particularly sorting socks. Let's make my hate a little less strong by learning how to sort socks efficiently with C#. by Matthew Jones
Ultimate Asynchronous ASP.NET Async/Await A Practical Example Of Asynchronous Programming in C# and ASP.NET Let's take an existing synchronous ASP.NET web app and begin refactoring it to use asynchronous programming. Sample C# project included. by Matthew Jones