How to refactor God objects in C#

How to refactor God objects in C#

Follow these best practices to eliminate God objects and design classes that are loosely coupled, cohesive, and easy to maintain

How to use attribute routing in ASP.NET Core

How to use attribute routing in ASP.NET Core

Take advantage of attribute-based routing in ASP.NET Core to decouple the controller and action names from the route template and allow more flexibility in your routing

How to pass parameters to action methods in ASP.NET Core MVC

How to pass parameters to action methods in ASP.NET Core MVC

Explore the various ways in which you can pass parameters to action methods in ASP.NET Core MVC

How to use API Analyzers in ASP.NET Core

How to use API Analyzers in ASP.NET Core

Take advantage of API Analyzers and Swagger to improve the documentation of your ASP.NET Core APIs

How to use route data tokens in ASP.NET Core

How to use route data tokens in ASP.NET Core

Take advantage of data tokens in ASP.NET Core to attach additional information to a route and retrieve it programmatically when needed

How to use ValueTask in C#

How to use ValueTask in C#

Take advantage of ValueTask in C# to avoid allocation when returning task objects from an asynchronous method

How to use immutability in C#

How to use immutability in C#

Learn the importance of immutability and how to take advantage of it in your C# applications

How to use API versioning in ASP.NET Core

How to use API versioning in ASP.NET Core

Take advantage of API versioning in ASP.NET Core to manage the impact of changes to your APIs on your clients

How to use Data Transfer Objects in ASP.NET Core 3.1

How to use Data Transfer Objects in ASP.NET Core 3.1

Learn the benefits of Data Transfer Objects, why they should be immutable, and how to take advantage of them in your ASP.NET Core applications

How to use const, readonly, and static in C#

How to use const, readonly, and static in C#

Understand the similarities and differences between the const, readonly, and static keywords in C#

How to handle 404 errors in ASP.NET Core MVC

How to handle 404 errors in ASP.NET Core MVC

Take advantage of ASP.NET Core middleware to handle 404 errors more gracefully in ASP.NET Core MVC

How to use dependency injection in action filters in ASP.NET Core 3.1

How to use dependency injection in action filters in ASP.NET Core 3.1

Take advantage of dependency injection to make your action methods in ASP.NET Core lean, clean, and maintainable

How to use data annotations in C#

How to use data annotations in C#

Take advantage of data annotations to decorate your models using attribute tags so that your application’s data definition can be managed in a single place

How to use the options pattern in ASP.NET Core

How to use the options pattern in ASP.NET Core

Take advantage of the options pattern to load configuration data directly into your classes at runtime for simple and flexible configuration data management

How to use endpoint routing in ASP.NET Core 3.0 MVC

How to use endpoint routing in ASP.NET Core 3.0 MVC

Learn how to implement endpoint routing in ASP.NET Core 3.0 MVC to bring more flexibility and functionality to your applications

How to work with GUIDs in C# 8

How to work with GUIDs in C# 8

Take advantage of GUIDs to create universally unique identifiers and avoid data collisions in your applications

How to export data to Excel in ASP.NET Core 3.0

How to export data to Excel in ASP.NET Core 3.0

Learn how to use the ClosedXML NuGet package to export data as a CSV or XLSX file for Excel from an ASP.NET Core application

How to use anonymous types in C#

How to use anonymous types in C#

Take advantage of anonymous types in C# to create and instantiate types that have read-only properties without having to declare the type beforehand

How to use LoggerMessage in ASP.NET Core 3.0

How to use LoggerMessage in ASP.NET Core 3.0

Take advantage of high-performance logging by using LoggerMessage instead of Logger extension methods in ASP.NET Core

How to send emails in ASP.NET Core

How to send emails in ASP.NET Core

Take advantage of the open source MailKit library to send emails in ASP.NET Core easily

Load More