Just blogged: Follow-up to my 2021 console stack post: templates scaffold well, but shared glue code drifts when you maintain many CLI tools.

Now I use Devlead.Console.Template plus the Devlead.Console source package. Scaffold once, update bootstrap via NuGet. Partial Program hooks for your commands and DI.

https://www.devlead.se/posts/2026/2026-06-27-template-plus-source-package-my-dotnet-console-stack-in-2026

#dotnet #csharp #oss #nuget

@devlead - Mattias Karlsson's Blog - Template plus source package: my .NET console stack in 2026

How Devlead.Console and a slim template fix template drift while keeping the same opinionated console bootstrap

File-based apps в .NET 10

Для небольших скриптов на C# долгое время приходилось создавать полноценный проект даже ради нескольких строк кода. В.NET 10 появилась поддержка file‑based apps — теперь приложение можно запускать и публиковать прямо из одного.cs‑файла. Разбираемся, как это работает и где новый подход действительно полезен.

https://habr.com/ru/companies/otus/articles/1049290/

#NET_10 #C# #filebased_apps #Native_AOT #ASPNET_Core #minimal_API #NuGet #CLI_утилиты #автоматизация #скрипты

File-based apps в .NET 10

Привет, Хабр! C# исторически был языком для больших проектов: solution-файлы, проектная структура, csproj с десятками настроек, дисциплина ceremony для запуска даже простой утилиты. Для маленьких...

Хабр
I really wish #NuGet had an SBOM tab, i.e., #dotnet tools show "This package has no dependencies." which, from a NuGet package point of view, is true, but .NET tools can have plenty of dependencies, they're just bundled. Dependencies aren't just a package graph; they're acknowledgement and risk.

Just released the StyloExtract packages https://www.nuget.org/packages?q=styloextract&includeComputedFrameworks=true&prerel=true&sortby=relevance

Really for internal use but someone might find them useful.
It's an adaptive HTML to (AI Friendly, structural) Markdown converter designed for extensibility and AoT compatibility.

It's the basis of a future StyloBot feature where it will auto generate any upstream page to markdown for AI scrapers automatically. This lets it be FAST!

#nuget #stylobot

Changes to NuGet package ids

nuget.org now requires new package IDs to use only ASCII letters, digits, dots, and dashes, similar to the conventions used by npm, PyPI, and other major registries. Existing packages and existing IDs remain available.

Enforced for new packages, and from 15th July for existing packages.

https://github.com/NuGet/Announcements/issues/75

#dotnet #nuget

Strengthening NuGet Security with Package ID Standards · Issue #75 · NuGet/Announcements

Keeping the NuGet ecosystem safe is something we take seriously, and today we're sharing a change that's been carefully considered with that responsibility in mind: a small tightening of the rules ...

GitHub
Opening #NuGet packages & decompiling assemblies in them was possible for a long time. Net-new will be a search & download capability for arbitrary NuGet feeds #ilspy #comingsoon

Rust внутри .NET: как упаковать native-библиотеку в один NuGet-пакет

FFI, P/Invoke, EmbeddedResource, DllImportResolver и кроссплатформенная доставка без ручного копирования .dll , .so и .dylib . Когда .NET-коду нужно вызвать Rust-библиотеку, первый прототип обычно заводится быстро: Rust собирается как cdylib ; функции экспортируются через extern "C" ; C# вызывает их через DllImport ; результат возвращается через указатель.

https://habr.com/ru/articles/1043276/

#dotnet #rust #ffi #invoke #nuget #nativelibrary #dllimportresolver

Rust внутри .NET: как упаковать native-библиотеку в один NuGet-пакет

FFI, P/Invoke, EmbeddedResource, DllImportResolver и кроссплатформенная доставка без ручного копирования  .dll ,  .so  и  .dylib . В примерах ниже используется условная функция...

Хабр
another #nuget blast and email inbox full. #dotnet
https://github.com/dennisdoomen/dotnet-library-starter-kit - #dotNET library starter kit is a bunch of dotnet new templates to quickly get you started building high-quality #NuGet packages.
GitHub - dennisdoomen/dotnet-library-starter-kit: A battle-tested starter kit for building open-source and internal NuGet libraries using "dotnet new", born from half a billion downloads

A battle-tested starter kit for building open-source and internal NuGet libraries using "dotnet new", born from half a billion downloads - dennisdoomen/dotnet-library-starter-kit

GitHub

KeyboardHook: кроссплатформенный глобальный перехват клавиатуры и мыши для .NET

Рассказываю, как написал кроссплатформенную .NET-библиотеку для глобального перехвата клавиатуры и мыши. Под капотом: WH_KEYBOARD_LL на Windows, CGEventTap на macOS и polling через XQueryKeymap на Linux. Один интерфейс, три реализации, ноль внешних зависимостей.

https://habr.com/ru/articles/1040932/

#nuget #c# #net #windows #linux #macos #global_hooks #keyboardhooker #crossplatform

KeyboardHook: кроссплатформенный глобальный перехват клавиатуры и мыши для .NET

Проблема: ни один готовый пакет не подошёл Первые несколько пакетов, которые я попробовал, работали исключительно на Windows и молчали на macOS. Другие просто вешали приложение при первом нажатии...

Хабр