Блог Scott Hanselman's blog | DevsDay.ru

IT-блоги Блог Scott Hanselman's blog

IT-блоги Блог Scott Hanselman's blog


Разработка Scott Hanselman's blog 14 декабря 2021 г. 21:36

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 yo...... читать далее

Home Server Musings

Разработка Scott Hanselman's blog 25 ноября 2021 г. 20:50

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 a...... читать далее

ASP.NET Javascript Web Services

Разработка Scott Hanselman's blog 23 ноября 2021 г. 20:02

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...... читать далее

Diabetes Open Source

Разработка Scott Hanselman's blog 18 ноября 2021 г. 21:18

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...... читать далее

DotNetCore Open Source

Разработка Scott Hanselman's blog 16 ноября 2021 г. 19:37

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 u...... читать далее

DotNetCore

Разработка Scott Hanselman's blog 11 ноября 2021 г. 21:07

.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...... читать далее

DotNetCore Open Source

Разработка Scott Hanselman's blog 9 ноября 2021 г. 18:43

.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 H...... читать далее

Blogging DotNetCore

Разработка Scott Hanselman's blog 4 ноября 2021 г. 17:21

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 starte...... читать далее

PowerShell

Разработка Scott Hanselman's blog 2 ноября 2021 г. 19:21

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 --m...... читать далее

Linux

Разработка Scott Hanselman's blog 28 октября 2021 г. 17:51

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. Yo...... читать далее

Linux Win10 Win11

Разработка Scott Hanselman's blog 26 октября 2021 г. 18:30

I had a hard drive die recently so I decided to do a full fresh reinstall of Windows, this time a fresh Windows 11 from a downloaded ISO burned to a USB stick. It was a solid install and everything worked out of the box. I used it for a few days and...... читать далее

Win10 Win11

Разработка Scott Hanselman's blog 21 октября 2021 г. 17:03

Great tweet from Oleg Kyrylchuk (follow him!) showing how cool Parallel.ForEachAsync is in .NET 6. It's new! Let's look at this clean bit of code in .NET 6 that calls the public GitHub API and retrieves n number of names and bios, given a list of Git...... читать далее

DotNetCore Open Source

Разработка Scott Hanselman's blog 18 октября 2021 г. 22:33

Award for longest blog post title ever? Andrey Muzychenko has a great github repository where they decompiled the 25 year old Space Cadet Pinball application from Windows 95/XP and then recompiled it for Linux (and really any platform now that it's p...... читать далее

Linux Win11

Разработка Scott Hanselman's blog 7 октября 2021 г. 18:31

I ran into this interesting issue where my System PATH environment variables got out of order. I ran "dotnet --version" and saw an error I'd not seen before. Dotnet "Could not execute because the application was not found or a compatible .NET SDK is...... читать далее

DotNetCore

Разработка Scott Hanselman's blog 5 октября 2021 г. 18:26

Docker Desktop for Windows uses SSL to manage all your images and container files and keeps them in a private virtual hard drive (VHDX) called ext4.vhdx. It's usually in C:\Users\YOURNAME\AppData\Local\Docker\wsl\data and you can often reclaim some...... читать далее

Docker Linux

Разработка Scott Hanselman's blog 30 сентября 2021 г. 18:27

David and friends has a great repository filled with examples of "broken patterns" in ASP.NET Core applications. It's a fantastic learning resource with both markdown and code that covers a number of common areas when writing scalable services in ASP...... читать далее

ASP.NET DotNetCore Open Source

Разработка Scott Hanselman's blog 28 сентября 2021 г. 18:01

I'm very much enjoying David Fowler's tweets, and since he doesn't have a blog, I will continue to share and expand on his wisdom so that it might reach a larger audience. He points out that ".NET has 4 built-in dictionary/map types [and] there’s no...... читать далее

DotNetCore Musings

Разработка Scott Hanselman's blog 23 сентября 2021 г. 19:31

My niece just started her MBA at a local university and that uni is a G Suite/Google/Gmail user. Her professors share their class calendars (vs inviting the students to events) so everything is a "Shared with You" shared calendar. That means the even...... читать далее

Musings

Разработка Scott Hanselman's blog 21 сентября 2021 г. 18:58

I love a good bug, especially ones that are initially hard to explain but then turn into forehead slapping moments - of course! There's a bug over on Github called Hysteresis effect on threadpool hill-climbing that is a super interesting read. Hill c...... читать далее

Bugs Musings

Разработка Scott Hanselman's blog 16 сентября 2021 г. 19:05

".NET 6 introduces implicit namespace support for C# projects. To reduce the amount of using directives boilerplate in .NET C# project templates, namespaces are implicitly included by utilizing the global using feature introduced in C# 10." NOTE: Did...... читать далее

DotNetCore