How to Manage Solution Projects using dotnet CLI

How to Manage Solution Projects using dotnet CLI

You can use the latest version of the dotnet CLI (installed by default with the latest version of Visual Studio 2017, or available here) to manage the projects included in your solution file(s). The command line tool now exposes three new commands off of the ‘sln’ command:

The command accepts the name of the […]

Windows Mac Native Google Mail Client

Windows Mac Native Google Mail Client

I’m involved in quite a few businesses and ventures at any given time, and most of them have an email account associated with them. My preferred email client is Google/GMail/Google Apps/G suite, mainly because it’s fast, ubiquitous, and (mostly) free (google apps was free for a very long time, and now has pretty reasonable per-user […]

What’s New in C# 6

What’s New in C# 6

Last month, Brendan Enrick published a short course on What’s New in C#6. He also presented a standing-room-only session on the subject at CodeMash (people were blocked from trying to get in from the hall, the room was so packed). Even though some of these features have been available for a while, a lot of […]

How to add a Nuget Package Using dotnet add

How to add a Nuget Package Using dotnet add

A feature I’ve long wished for in .NET Core and its command line interface (CLI) is the ability to manage nuget references from the command line. This becomes increasingly important as the final version of the tooling for .NET Core (and Visual Studio 2017) moves from a JSON-based project file to an XML-based one (for […]

Bus or Queue

Bus or Queue

A common question I encounter is, “what is the difference between a message bus (or service bus) and a message queue?” There has been some blurring of the lines between these two concepts, as some products now support features that previously belonged only to one or the other category (for instance Azure Service Bus supports […]

Encapsulated Collections in Entity Framework Core

Encapsulated Collections in Entity Framework Core

Starting with Entity Framework Core 1.1, you can now have properly encapsulated collections in your classes that rely on EF for persistence. Previous versions of EF have required collection properties to support ICollection<T>, which means any user of the class can add or remove items from its properties (or even Clear it). If you’re writing […]

xUnit Test Discovery Error with ASPNET Core 1.1

If you run into an error with test discovery using xUnit and ASP.NET Core 1.1 where there is a FileNotFoundException looking for Microsoft.DotNet.Internal.Abstractions version 1.0.0.0, there is a fairly simple fix. The problem is that one of the dependent packages in ASP.NET Core requires this package but for some reason it’s not being pulled in. […]