I was working unit and functional tests for a project that had a database using EntityFramework. It had multiple migrations that we had applied over time. These migrations are placed as code in our project under a Migrations folder. As I was building and running unit tests, I saw large block of code that we … Continue reading Ignoring EF Migrations from Code Coverage
Month: June 2025
Simplifying JWT Authentication in Development with ‘dotnet user-jwts’
When developing secure APIs in ASP.NET Core, implementing authentication can often slow down the development cycle, especially when integrating with full-fledged identity providers like Auth0 or Azure AD. Fortunately, starting with .NET 7, Microsoft introduced a powerful CLI tool that streamlines this process: dotnet user-jwts. In this post, we'll explore what dotnet user-jwts is, how … Continue reading Simplifying JWT Authentication in Development with ‘dotnet user-jwts’
Using Code Cleanup Profiles in Visual Studio
In Visual Studio 2022, the Code Cleanup Profiles feature is a great way to automate code formatting and clean-up operations using predefined or custom rules. By using cleanup profiles, you can make all of the changes in one operation and free yourself from updating lots of code files manually. Here's a detailed explanation of how … Continue reading Using Code Cleanup Profiles in Visual Studio
create-guid: Simple CLI Tool for Generating GUIDs
In modern software development, GUIDs (Globally Unique Identifiers) are used everywhere: from identifying database records and correlation tokens to generating unique keys for distributed systems. While System.Guid.NewGuid() is the standard way to generate GUIDs in .NET, there are scenarios where you want a tool that gives you quick and scriptable access to GUIDs from the … Continue reading create-guid: Simple CLI Tool for Generating GUIDs