Skip to content

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

Derek Comartin

Roundup #22: OSS Library Guidance, .NET Core ThreadPool Starvation, VS2019 Roadmap, Know the Flow!

Here are the things that caught my eye this week.  I’d love to hear what you found most interesting this week.  Let me know in the comments or on Twitter. Open-source library guidance This guidance provides recommendations for developers to create high-quality .NET libraries. This documentation focuses on the what and the why when building a .NET library, not the how. The issue of strong naming is address and actual guidance is actually in the docs now. Link: https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/ Diagnosing .NET Core ThreadPool Starvation This article is worth a read if you have A service written in .NET (and in particular .NET ASP.NET Core) Its ability… Read More »Roundup #22: OSS Library Guidance, .NET Core ThreadPool Starvation, VS2019 Roadmap, Know the Flow!

Testing with EF Core

I’ve been recently migrating some existing EF6 code to EF Core.  One aspect of EF Core I don’t often see is how testing with EF Core is drastically better than Entity Framework 6. There are two ways I’ve been handling running tests that use EF Core:  Using In-Memory Provider and SQLite Provider but with SQLite In-Memory. DbContext First thing I needed to do was have a constructor that took the OptionsBuilder that I could configure my DbContext options outside of the dbContext itself.  This enables us to configure our context to use the InMemory Provider.  During the OnConfiguring, check to… Read More »Testing with EF Core

Roundup #21: Roslyn, .NET Updates, IMiddleware, Warp, DDD

Here are the things that caught my eye this week.  I’d love to hear what you found most interesting this week.  Let me know in the comments or on Twitter. Note: I was away last week, hence no roundup.  This week is a bit of catch up. How Microsoft rewrote its C# compiler in C# and made it open source Roslyn is the codename-that-stuck for the open-source compiler for C# and Visual Basic.NET. Here’s how it started in the deepest darkness of last decade’s corporate Microsoft, and became an open source, cross-platform, public language engine for all things C# (and VB,… Read More »Roundup #21: Roslyn, .NET Updates, IMiddleware, Warp, DDD