Better Minimal APIs Endpoint Organization With Carter in ASP.NET Core
In this article, we'll look closely at the Carter library and how we can use it in our ASP.NET Core projects. Let's get started! What...
Code Maze Weekly #210
Issue #210 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Top Picks Computing code coverage for a .NET project [www.meziantou.net] Computing code coverage without any dependencies is now possible in .NET. Check this article by...
How to Check the Total Number of Items Defined in an Enum
In this article, we talk about enums and, more specifically, how to find the total number of items defined in the enum. But first of all, let's define an enum. Let's go over the basics and see which constructors we have available in C# with Aram Tchekrekjian. Can you...
How to Test gRPC Services in ASP.NET Core
gRPC is a popular way to create fast and scalable API's in the .NET world. In this article, we explore how to test gRPC Services in .NET applications, and set up both unit and integration tests to ensure the reliability and performance of gRPC services. Here's something a bit different but important if you're into web development....
Present a List of Files in a Directory With Directory Browsing in ASP.NET Core
In ASP.NET Core, directory browsing is a feature that allows a web application to present a list of files in a specified directory to the user. For security, however, directory browsing is disabled by default to prevent unauthorized users from accessing a website's...
Improve Performance With Source-Generated RegEx in .NET
In this article, we'll look at source-generated RegEx and how it can improve performance in our .NET applications. ...