home.social

#nuget — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nuget, aggregated by home.social.

fetched live
  1. I don't develop using #npm, and I guess this happens with #pypi and #nuget as well.
    What's the answer? Only install stuff completely manually? Don't store credentials on your dev PCs, only in your e.g. smartphone and enter them manually? Let humans manually verify each upload to package registries? /s

  2. From the .NET blog...

    In case you missed it earlier...

    Strengthening NuGet Supply Chain Security: Reducing API Key Lifetime
    devblogs.microsoft.com/dotnet/ #dotnet #NuGet #Security

  3. Как я посадил WireMock.Net на gRPC стероиды

    WireMock.Net умеет мокать gRPC . Но для этого он заставляет разработчика таскать .proto файлы и поддерживать лишнюю конфигурацию. Я контрибьютил в проект несколько месяцев, разобрался в кишках и написал своё расширение WireMock.Grpc.Protobuf Пакет предлагает gRPC моки через типизированные контракты Google.Protobuf . Получилось короче, надёжнее и заметно удобнее. В статье покажу, почему мой способ удобнее стандартного, как всё устроено под капотом и зачем вашему проекту пакет WireMock.Grpc.Protobuf Кстати, подобные инженерные разборы, open-source и внутренности .NET я регулярно публикую в Telegram-канале StepOne . Если статья зайдёт — заглядывайте. dotnet add package WireMock.Grpc.Protobuf

    habr.com/ru/articles/1063162/

    #grpc #proto #protobuf #wiremock #google #csharp #dotnet #nuget #github #mock

  4. I just released version 0.9 of ConsoleRenderer!

    This version increases performance for sparsely populated screens by a significant margin, thanks to @micutio!

    This version also drops support for .NET 8 in favor of .NET 10, which is the latest LTS version.

    The previous version is still very stable, so if you you depend on ConsoleRenderer and haven't moved your project to .NET 10, you can still use that without issue.

    nuget.org/packages/ConsoleRend

  5. If you're a C# #developer and need some helpful generalized/reusable code, you can check out an offshoot of my big project called #CapyKit.

    git.jordanwages.com/wagesj45/C

    Documentation: capykit.happycapy.net/

    Available in #nuget via #selfhosted #Foregejo repository. Or build it yourself.

  6. #TIL Nowadays #NuGET replaces #API keys with what they call trusted publishing which is kind of oAuth where CI runs (currently only #GitHub actions, it seems) ask for a short-lived token, receive it and publish a package. Reason number 42 for me to stay on gitHub. #DotNet

  7. 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.

    devlead.se/posts/2026/2026-06-

    #dotnet #csharp #oss #nuget

  8. File-based apps в .NET 10

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

    habr.com/ru/companies/otus/art

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

  9. 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.

  10. Just released the StyloExtract packages nuget.org/packages?q=styloextr

    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

  11. 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.

    github.com/NuGet/Announcements

    #dotnet #nuget

  12. 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

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

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

    habr.com/ru/articles/1043276/

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

  14. github.com/dennisdoomen/dotnet - #dotNET library starter kit is a bunch of dotnet new templates to quickly get you started building high-quality #NuGet packages.

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

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

    habr.com/ru/articles/1040932/

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