Skip to content

csharp

dotnet

What is this Directory.Build.props file all about?

With introduction of MsBuild we can now manage all these property settings and more in a single file that we can place in the Root of our solution directory along our solution file and it will be applied to all projects defined in the solution automatically.

Book Review: Dependency Injection

presents core DI patterns in plain C#, so you’ll fully understand how DI works, covers integration with standard Microsoft technologies like ASP.NET MVC, and teaches you to use DI frameworks like Structure Map, Castle Windsor, and Unity.

dotnet core

How to use the Strategy Pattern in C#

The strategy design pattern splits the behavior (there are many behaviors) of a class from the class itself. This has some advantages, but the main draw back is that a client must understand how the Strategies differ.

Rider

How to run docker compose files in Rider

JetBrains Rider provides Docker support using the Docker plugin. The plugin is bundled and enabled by default. For more information. In this post we’ll walk through the process of running a docker compose files in Rider.