Visual Studio

xUnit Roslyn Analyzers

Putting your code under the scope

David Pine

5 minute read

p { opacity: 1 !important; } Intro At my day job, I wear many hats. I’m currently wearing the “upgrade our team’s tooling” hat. I counted 99 *.xproj and project.json based projects spanning four repositories that need to be updated to the revitalized *.csproj project format. With this the team can upgrade to the latest version of Visual Studio (finally upgrading to 2017 from 2015) and start taking advantage of the following: Supported tooling, no longer on preview tooling bits Allows us to explore C# 7 (and peruse C# 7.1) with production code Leverage the latest SDK and .NET Core CLI Other obvious reasons And so on… Upgrading tooling is not always glamorous, but there are times that I find myself excited.

Perusing C# 7.1

The language features you've been waiting for

David Pine

6 minute read

Earlier this year in March – Visual Studio 2017 was released. With this the world was given C# 7, checkout my post on “Exploring C# 7” here. In this post we will peruse C# 7.1, the first incremental release while C# 8 is being fleshed out. Async Main Since the release of C# 5, developers have either embraced the async and await keywords or fumbled along the way feebly attempting to comprehend them.

Exploring C# 7

Expressiveness Redefined & #notasugly

David Pine

12 minute read

Intro Since we have all been actively celebrating the 20th anniversary of Visual Studio, it felt appropriate to post about C# 7! In this post we will explore the features that make C# 7 so promising. I’ve put together a demonstration C# 7 project, that is available here. This post contains examples and details on five of the nine new C# 7 features. Pattern matching out variables Tuples Local functions throw expressions These are the remaining features, that I do not cover in this post.