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

.NET Core

Roundup #23: Building Rider, Async Guidance and Mistakes, Local NuGet Cache

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. Building a .NET IDE with JetBrains Rider Before we get into the technology and architecture of Rider, we must look at where this IDE came from. As far back as 2004, JetBrains was looking at a stand-alone application for the Visual Studio add-in ReSharper. It was never released, but a fully functional prototype was around at that time. Link: https://www.codemag.com/Article/1811091/Building-a-.NET-IDE-with-JetBrains-Rider   Async Guidance Asynchronous programming has been around for several years… Read More »Roundup #23: Building Rider, Async Guidance and Mistakes, Local NuGet Cache

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