Daniel Cazzulino

Latest articles

How to generate code using Roslyn source generators in real world scenarios

Roslyn (as of 16.8 Preview 3) now brings first-class support for source code generators that run as part of a project compilation. The provided cookbook is a fantastic resource to get to know the capabilities and some specific scenarios this feature was created for. The carefully chosen set of features, driven by concrete scenarios, make for...

How to customize and publish a docfx site

I wanted to tweak the dotnetconfig.org site in a few ways, and it turned out that many of the generated files from a docfx build are plain content files that are provided only if your project doesn’t provide them already. Change default icons Most docfx sites I see just have the default logo because it’s not documented (that I could easily...

Messaging Extensibility API

Back in 2012, I was on a CQRS Journey together with the fine team at Microsoft patterns & practices. We had a great advisory board to discuss and learn from and it was an interesting way to tackle a novel pattern to solve a complex problem. Back then microservices wasn’t even a thing yet, go figure! Without getting into the CQRS pattern itself,...

Central Package Versions

There is some ongoing work in NuGet itself to add support for managing nuget packages in a central manner, make sure you read about the indented design since you may want to wait for that to ship in stable form if you require the advanced features outlined there This showcases how you can adopt this now, with stuff that is already shipping and stable,...

Customizing Windows Terminal with Visual Studio tabs

I usually switch between VS versions, powershell and regular command prompt. Having a quick access Windows Terminal tab ready is indispensable: Scott Hanselman has already written an excelent overview of the general features, the new format and how it all works, so I won’t repeat any of that here. What I do think is valuable to share beyond...

On Visual Studio Extensibility

I’ve been thinking a lot about Visual Studio extensibility and its APIs evolution over the years. It’s amazing how fast these last 15+ years doing extensibility went by. The first product my company built shipped as a Visual Studio 2005 “Whidbey” extension (then, 2008 “Orcas”): The fact that the product was both a Visual Studio extension...

Developer PowerShell Core Prompt in Visual Studio Code Integrated Terminal

Visual Studio recently got a new Developer PowerShell command prompt, which is super useful since it has all the environment variables properly set up to do things like msbuild from command line and have it pick the “right” MSBuild. As a follow up to my post on Developer Command Prompt in Visual Studio Code Integrated Terminal, this is how...

Serverless redirection to save us from ugly URLs

I’m a fan of CI-independent serverless nuget feeds: you can push packages from arbitrary systems to a single feed that is highly available and requires no maintenance. It can also be made public access (which Azure Artifacts/VSTS still doesn’t allow). There is one minor issue, though: the URL isn’t all that memorable or particularly short. Its...

How To Install and Cleanup Visual Studio 2017 Instances

Visual Studio 2017 allows multiple side by side installations, which makes experimenting with various versions and extensions a breeze: To install those multiple IDEs, you simply head over to http://visualstudio.com, grab each of the editions you want to test and just run the installers. NOTE: you can install one of each VS editions...

How To Migrate PCL and Xamarin.Forms Apps to NETStandard Today

One of the reasons devs don’t update their (Xamarin.Forms) PCL library projects to .NETStandard 2.0 is that there are a bunch of NuGet packages that still haven’t migrated to it. It turns out, that that’s not a problem at all! Basically, the steps are: Open your .csproj and delete everything Replace its contents with: <Project Sdk="Microsoft.NET.Sdk">...

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!