Using WSL and Let's Encrypt to create Azure App Service SSL Wildcard Certificates

There are many let's encrypt automatic tools for azure but I also wanted to see if I could use certbot in wsl to generate a wildcard certificate for the azure Friday website and then upload the resulting certificates to azure app service. Azure app service ultimately needs a spec … | Continue reading


@hanselman.com | 10 months ago

GitHub Copilot for CLI for PowerShell

GitHub Next has this cool project that is basically Copilot for the CLI (command line interface). You can sign up for their waitlist at the Copilot for CLI site. Copilot for CLI provides three shell commands: ??, git? and gh? This is cool and all, but I use PowerShell. Turns out … | Continue reading


@hanselman.com | 12 months ago

Use your own user @ domain for Mastodon discoverability with the WebFinger Protocol without hosting a server

Mastodon is a free, open-source social networking service that is decentralized and distributed. It was created in 2016 as an alternative to centralized social media platforms such as Twitter and Facebook. One of the key features of Mastodon is the use of the WebFinger protocol, … | Continue reading


@hanselman.com | 1 year ago

I got tired

I have been blogging here for the last 20 years. Every Tuesday and Thursday, quite consistently, for two decades. But last year, without planning it, I got tired and stopped. Not sure why. It didn't correspond with any life events. Nothing interesting or notable happened. I just … | Continue reading


@hanselman.com | 1 year ago

Setting Up a Shiny Development Environment Within Linux on Windows 10

While I was getting Ruby on Rails to work nicely under Ubuntu on Windows 10 I ... | Continue reading


@hanselman.com | 2 years ago

this is a test don't tweet me4

yes I know, no need to tweet me. Sorry, I will delete this soon     © 2021 Scott Hanselman. All rights reserved.      | Continue reading


@hanselman.com | 2 years ago

JavaScript Is Web Assembly Language and That’s OK (2013)

Some years ago I said that JavaScript is the Assembly Language of the Web. In ... | Continue reading


@hanselman.com | 2 years ago

Using Home Assistant to integrate a Unifi Protect G4 Doorbell and Amazon Alexa to announce visitors

I am not a Home Assistant expert, but it's clearly a massive and powerful ... | Continue reading


@hanselman.com | 2 years ago

Using Home Assistant to integrate a Unifi Protect G4 Doorbell and Amazon Alexa to announce visitors

I am not a Home Assistant expert, but it's clearly a massive and powerful ecosystem. I've interviewed the creator of Home Assistant on my podcast and I encourage you to check out that chat. Home Assistant can quickly become a hobby that overwhelms you. Every object (entity) in yo … | Continue reading


@hanselman.com | 2 years ago

Showing my realtime Blood Sugar readings in my Git Prompt

I've talked about how I love a nice pretty prompt in my Windows Terminal and ... | Continue reading


@hanselman.com | 2 years ago

JavaScript and TypeScript Projects with React, Angular, or Vue in Visual Studio 2022 with or without .NET

I was reading Gabby's blog post about the new TypeScript/JavaScript project ... | Continue reading


@hanselman.com | 2 years ago

JavaScript and TypeScript Projects with React, Angular, or Vue in Visual Studio 2022 with or without .NET

I was reading Gabby's blog post about the new TypeScript/JavaScript project experience in Visual Studio 2022. You should read the docs on JavaScript and TypeScript in Visual Studio 2022. If you're used to ASP.NET apps when you think about apps that are JavaScript heavy, "front en … | Continue reading


@hanselman.com | 2 years ago

Upgrading a 20 year old project to .NET 6

I wrote a Tiny Virtual Operating System for a 300-level OS class in C# for ... | Continue reading


@hanselman.com | 2 years ago

A Nightscout Segment for OhMyPosh shows my realtime Blood Sugar readings in my Git Prompt

I've talked about how I love a nice pretty prompt in my Windows Terminal and ... | Continue reading


@hanselman.com | 2 years ago

A Nightscout Segment for OhMyPosh shows my realtime Blood Sugar readings in my Git Prompt

I've talked about how I love a nice pretty prompt in my Windows Terminal and made videos showing in detail how to do it. I've also worked with my buddy TooTallNate to put my real-time blood sugar into a bash or PowerShell prompt, but this was back in 2017. Now that I'm "Team OhMy … | Continue reading


@hanselman.com | 2 years ago

Upgrading a 20 year old University Project to .NET 6 with dotnet-upgrade-assistant

I wrote a Tiny Virtual Operating System for a 300-level OS class in C# for ... | Continue reading


@hanselman.com | 2 years ago

Upgrading a 20 year old University Project to .NET 6 with dotnet-upgrade-assistant

I wrote a Tiny Virtual Operating System for a 300-level OS class in C# for college back in 2001 (?) and later moved it to VB.NET in 2002. This is all pre-.NET Core, and on early .NET 1.1 or 2.0 on Windows. I moved it to GitHub 5 years ago and ported it to .NET Core 2.0 at the tim … | Continue reading


@hanselman.com | 2 years ago

.NET 6 Hot Reload and "Refused to connect to ws: because it violates the Content Security Policy directive" because Web Sockets

If you're excited about Hot Reload like me AND you also want an 'A' grade from ... | Continue reading


@hanselman.com | 2 years ago

.NET 6 Hot Reload and "Refused to connect to ws: because it violates the Content Security Policy directive" because Web Sockets

If you're excited about Hot Reload like me AND you also want an "A" grade from SecurityHeaders.com (really, go try this now) then you will learn very quickly about Content-Security-Policy headers. You need to spend some time reading and you may end up with a somewhat sophisticate … | Continue reading


@hanselman.com | 2 years ago

DotNetConf 2021 - .NET Everywhere - Windows, Linux, and Beyond

.NET 6 is released and it's a LTS release which means it'll be fully and ... | Continue reading


@hanselman.com | 2 years ago

DotNetConf 2021 - .NET Everywhere - Windows, Linux, and Beyond

.NET 6 is released and it's a LTS release which means it'll be fully and actively supported for the next 3 years. If you've been paused waiting for the right time to upgrade to .NET 6, it's a good time to make the move! The .NET Upgrade Assistant can take Windows Forms, WPF, ASP. … | Continue reading


@hanselman.com | 2 years ago

Let's upgrade my main site and podcast to .NET 6 LTS

.NET 6 is released and it's a LTS release which means it'll be fully and ... | Continue reading


@hanselman.com | 2 years ago

Let's upgrade my main site and podcast to .NET 6 LTS

.NET 6 is released and it's a LTS release which means it'll be fully and actively supported for the next 3 years. If you've been paused waiting for the right time to upgrade to .NET 6, it's a good time to make the move! Right now, Hanselman.com and Hanselminutes.com (my podcast) … | Continue reading


@hanselman.com | 2 years ago

WSL2 can now mount Linux ext4 disks directly

If you're on a version of Windows 11 that is build 22000 or greater, you can ... | Continue reading


@hanselman.com | 2 years ago

It's time for you to install Windows Terminal

It's time. It's the feature complete release of the Windows Terminal. Stop ... | Continue reading


@hanselman.com | 2 years ago

PowerShell 7.2.0 - Could not load type System.Management.Automation.Subsystem.PredictionResult

My PowerShell upgraded to the new PowerShell 7.2.0 and it happened ... | Continue reading


@hanselman.com | 2 years ago

PowerShell 7.2.0 - Could not load type System.Management.Automation.Subsystem.PredictionResult

My PowerShell upgraded to the new PowerShell 7.2.0 and it happened automatically since I get PowerShell from the Windows Store. However, my fancy prompt use PSReadLine with Predictive Autocomplete stopped working suddenly. However, suddenly I started getting this error on every p … | Continue reading


@hanselman.com | 2 years ago

WSL2 can now mount Linux ext4 disks directly

If you're on a version of Windows 11 that is build 22000 or greater, you can ... | Continue reading


@hanselman.com | 2 years ago

WSL2 can now mount Linux ext4 disks directly

If you're on a version of Windows 11 that is build 22000 or greater, you can now use WSL to mount Linux disks directly. Run winver to see your Windows version. I'm on 22000.282 as of the time of this writing. I can also run wsl --help and see the --mount instructions. If you don' … | Continue reading


@hanselman.com | 2 years ago

How to fix Base System Device Driver issue in Windows 10 and Windows 11

I had a hard drive die recently so I decided to do a full fresh reinstall of ... | Continue reading


@hanselman.com | 2 years ago

How to set the default user for a WSL distro that has been manually installed with wsl --import

I've blogged before on how to easily move WSL distributions between Windows 10 ... | Continue reading


@hanselman.com | 2 years ago

How to set the default user for a WSL distro that has been manually installed with wsl --import

I've blogged before on how to easily move WSL distributions between Windows 10 machines with import and export. I recently did a full fresh install of Windows 11 and wanted to bring my existing highly customized Ubuntu installation along with me. You can tar up (zip up) the user- … | Continue reading


@hanselman.com | 2 years ago

How to fix Base System Device Driver issue in Windows 10 and Windows 11

I had a hard drive die recently so I decided to do a full fresh reinstall of ... | Continue reading


@hanselman.com | 2 years ago

Parallel.ForEachAsync in .NET 6

Great tweet from Oleg Kyrylchuk (follow him!) showing how cool ... | Continue reading


@hanselman.com | 2 years ago

Space Cadet Pinball for Windows 95 recompiled for Linux running on Windows 11 as a Linux app under WSLg

Award for longest blog post title ever? Andrey Muzychenko has a great github ... | Continue reading


@hanselman.com | 2 years ago

Dotnet could not execute because the application was not found or a compatible .NET SDK is not installed

I ran into this interesting issue where my System PATH environment variables ... | Continue reading


@hanselman.com | 2 years ago

Shrink your WSL2 Virtual Disks and Docker Images and Reclaim Disk Space

Docker Desktop for Windows uses SSL to manage all your images and container ... | Continue reading


@hanselman.com | 2 years ago

ASP.NET Core Diagnostic Scenarios

David and friends has a great repository filled with examples of 'broken ... | Continue reading


@hanselman.com | 2 years ago

The code worked differently when the moon was full

I love a good bug, especially ones that are initially hard to explain but then ... | Continue reading


@hanselman.com | 2 years ago

Differences between Hashtable vs Dictonary vs ConcurrentDictionary vs ImmutableDictionary

I'm very much enjoying David Fowler's tweets, and since he doesn't have a blog, ... | Continue reading


@hanselman.com | 2 years ago

How to make Shared Google Calendars show up on your iPhone and iPad Calendar

My niece just started her MBA at a local university and that uni is a G ... | Continue reading


@hanselman.com | 2 years ago

The code worked differently when the moon was full

I love a good bug, especially ones that are initially hard to explain but then ... | Continue reading


@hanselman.com | 2 years ago

Implicit Usings in .NET 6

'.NET 6 introduces implicit namespace support for C# projects. To reduce the ... | Continue reading


@hanselman.com | 2 years ago

How to detect if the User's OS prefers dark mode and change your site with CSS and JS

I got a tweet from Stevö John who said he found my existing light theme for my ... | Continue reading


@hanselman.com | 2 years ago

Minimal APIs at a glance in .NET 6

David Fowler doesn't have a blog. I think the psychic weight of having a blog ... | Continue reading


@hanselman.com | 2 years ago

Minimal APIs in .NET 6 but where are the Unit Tests?

Minimal APIs in .NET 6 is great. But where are the Unit Tests?! Often testing ... | Continue reading


@hanselman.com | 2 years ago

Minimal APIs at a glance in .NET 6

David Fowler doesn't have a blog. I think the psychic weight of having a blog ... | Continue reading


@hanselman.com | 2 years ago

My Ultimate PowerShell Prompt with Oh My Posh and the Windows Terminal

I've long blogged about my love of setting up a nice terminal, getting the ... | Continue reading


@hanselman.com | 2 years ago