Using Central Package Management with .NET solutions

Overview If you’ve ever had a large .NET solution with lots of project inside of it and struggled to reconcile different package versions (or worse, different behavior due to the versions!) of the same package between the projects, Central Package Management is for you. You’ll be able to keep your common packages across projects in […]

Using Central Package Management with .NET solutions Read More »

Part 3: Creating a clean test suite for C# integration tests

This post is part 3 of a 3-part series: Part 1: How to test a database in C# with TestContainers Part 2: Resetting your test database in C# with Respawn Part 3: Creating a clean test suite for C# integration tests Overview Now, we’ve got a test suite successfully running that uses a containerized database

Part 3: Creating a clean test suite for C# integration tests Read More »

Using AutoFixture with EF Core without circular references

If you’ve used AutoFixture with Entity Framework before, chances are you’ve encountered an error like this: AutoFixture.ObjectCreationExceptionWithPath : AutoFixture was unable to create an instance of type AutoFixture.Kernel.SeededRequest because the traversed object graph contains a circular reference. Or maybe this: Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for

Using AutoFixture with EF Core without circular references Read More »

Scroll to Top