22 December 2023

22 December 2023

What's New in NuGet for .NET 8 | .NET Conf 2023 🔗

The first point was most interesting: NuGetAudit.

It higlights known vulnerabilities in NuGet packages that you're consuming, also for transitive packages. It's enabled by default in .Net 8. It runs whenever you do any package operations, eg restore, add package, etc. It's also shown in the Visual Studio project explorer.

Clean Architecture with ASP.NET Core 8 | .NET Conf 2023 🔗

Nice explanation of Clean Architecture. The Core project defines domain-specific interfaces etc, and everything else depends on it and/or implements it. Wired up in the top level, eg the web project.

I like the idea of defining specifications in the core projact and using it instead of Linq all over the place.

Bonus: chaining project structure - put a class in a file with the same name and it'll get nested. That's not the same as nested namespaces - just nested files.

GQL - Git Query Language 🔗

This is looks really cool. SQL-like queries for git, eg

SELECT name, email FROM commits WHERE name LIKE "%gmail%" ORDER BY name