You want to test something that uses an Entity Framework DbContext as a dependency.
Can I replace this easily with a fake DbContext?
How good is ChatGPT at writing code?
Prefer ValueTask for Interfaces
How do you debug your JWT bearer token in .NET 6?
With the new .NET 7 we see increased code generation being used for efficiency. In this blog I want to discuss the added support for regular expressions.
Complex business logic can be simplified by implementing
this as a decision table using C# pattern matching.
With .NET 6 comes C# 10, and this has a couple of interesting language features. Here I want to disc
Using Nullable Reference Types
One of the major sources of unexpected runtime er
With Blazor you can postpone loading certain assemblies, to get your application up-and-running faster.
However, when you move components to be lazy loaded you will encounter problems with lazy loading.
In the blog post I want to show you how you can enable lazy loading, and how to handle dependency injection for those components.
Should I really care if I am using
i += 1 in a loop?
Short answer is that there i