How to use Simple Injector in ASP.NET Core MVC

How to use Simple Injector in ASP.NET Core MVC

Take advantage of the fast, easy, and lightweight Simple Injector inversion of control library to implement dependency injection in your ASP.NET Core MVC applications.

How to prevent CSRF attacks in ASP.NET Core

How to prevent CSRF attacks in ASP.NET Core

Take advantage of anti-forgery tokens in ASP.NET Core to protect users of your applications against cross site request forgery exploits.

How coupling impacts software quality

How coupling impacts software quality

Why loose coupling between components makes your .NET application more flexible, manageable, scalable, and testable.

How to use string interpolation in C# 9

How to use string interpolation in C# 9

Take advantage of string interpolation to incorporate variable substitution in formatted strings in C#.

How to build lightweight services in ASP.NET Core 6

How to build lightweight services in ASP.NET Core 6

Take advantage of the extension methods of the IEndpointConventionBuilder interface to implement lightweight services sans template or controller in ASP.NET Core 6.

How to work with Azure Queue Storage in C#

How to work with Azure Queue Storage in C#

Take advantage of Azure Storage queues to store large numbers of messages for asynchronous or even distributed processing.

How to use correlation IDs in ASP.NET Core MVC

How to use correlation IDs in ASP.NET Core MVC

Capture and pass correlation IDs in ASP.NET Core MVC 5 to track HTTP requests that flow through multiple back-end services.

How to use HTTP logging in ASP.NET Core 6

How to use HTTP logging in ASP.NET Core 6

Take advantage of the HTTP logging middleware in ASP.NET Core to log request and response information with flexibility and ease.

How to use advanced Serilog features in ASP.NET Core MVC

How to use advanced Serilog features in ASP.NET Core MVC

Take advantage of filters and request logging middleware in Serilog to reduce log verbosity and generate useful log summaries in your ASP.NET Core MVC applications.

How to use filters in ASP.NET Core MVC

How to use filters in ASP.NET Core MVC

Take advantage of filters to execute custom code at specific points in the request processing pipeline and avoid code duplication across actions.

How to avoid redundant DI code in ASP.NET Core

How to avoid redundant DI code in ASP.NET Core

Take advantage of base controllers to avoid dependency injection code duplication and enforce the DRY principle in ASP.NET Core MVC.

How to use Razor View Engine in ASP.NET Core MVC

How to use Razor View Engine in ASP.NET Core MVC

Take advantage of the friendly syntax of Razor View Engine to more easily create views from templates in ASP.NET Core MVC.

How to validate method parameters using PostSharp in C#

How to validate method parameters using PostSharp in C#

Take advantage of aspect-oriented programming using PostSharp to validate method parameters in C#.

How to use closures in C#

How to use closures in C#

Take advantage of closures in C# — including anonymous methods, delegates, and lambda expressions — to make your code robust, efficient, readable, and easier to maintain.

How to build AWS Lambda functions in .NET Core

How to build AWS Lambda functions in .NET Core

Learn how to use .NET Core and the AWS Toolkit for Visual Studio to build serverless functions and deploy them to AWS Lambda in the Amazon cloud.

How to read request headers in ASP.NET Core 5 MVC

How to read request headers in ASP.NET Core 5 MVC

Learn how to read request headers and work with optional data that is passed between the server and client in ASP.NET Core 5 applications.

Get started with Blazor in .NET 5

Get started with Blazor in .NET 5

Take advantage of Blazor, Microsoft’s answer to full-stack development, to build rich web apps with C# and .NET Core.

When to use String vs. StringBuilder in .NET Core

When to use String vs. StringBuilder in .NET Core

Take advantage of these best practices when working with strings in .NET Core for the optimal performance of your applications.

How to use SortedDictionary, SortedList, and SortedSet in C#

How to use SortedDictionary, SortedList, and SortedSet in C#

Take advantage of the SortedDictionary, SortedList, and SortedSet classes in C# to store key-value pairs and sort them based on keys.

How to use Parallel.For and Parallel.ForEach in C#

How to use Parallel.For and Parallel.ForEach in C#

Take advantage of lock-free, thread-safe implementations in C# to maximize the throughput of your .NET or .NET Core applications.

Load More