home.social

#dotnet9 — Public Fediverse posts

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

  1. Part 16 of Modernizing .NET is out! 🛡️

    Today we’re ditching the obsolete BinaryFormatter in favor of the fast and secure protobuf-net.

    🚀 7x faster 📉 3x smaller ✅ Fully safe for modern .NET

    medium.com/@michael.kopt/%EF%B

  2. 🗂️ New: Modernizing .NET – Part 15
    JSON fails with circular objects. Protobuf-net can’t fix recursive graphs.
    Here’s a custom ASP.NET Core Session Store that can.

    Read → medium.com/@michael.kopt/%EF%B

  3. 🧵 New: Modernizing .NET – Part 12
    Use HttpClientFactory in legacy background threads with the SharedContext pattern.
    Thread‑safe, DI‑friendly, minimal refactoring.

    📖 Read → medium.com/@michael.kopt/19c66
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #LegacyCode #HttpClientFactory #DependencyInjection #BackgroundThreads

  4. 🧵 New: Modernizing .NET – Part 12
    Use HttpClientFactory in legacy background threads with the SharedContext pattern.
    Thread‑safe, DI‑friendly, minimal refactoring.

    📖 Read → medium.com/@michael.kopt/19c66
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #LegacyCode #HttpClientFactory #DependencyInjection #BackgroundThreads

  5. 🧵 New: Modernizing .NET – Part 12
    Use HttpClientFactory in legacy background threads with the SharedContext pattern.
    Thread‑safe, DI‑friendly, minimal refactoring.

    📖 Read → medium.com/@michael.kopt/19c66

  6. 📡 New post: Modernizing .NET – Part 11
    Migrate from WebClient and RestSharp to HttpClientFactory.
    Full code, DI setup, and performance boost.

    Read → medium.com/@michael.kopt/c3a74
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Linux #RestShart #WebClient #DepedencyInjection

  7. 📡 New post: Modernizing .NET – Part 11
    Migrate from WebClient and RestSharp to HttpClientFactory.
    Full code, DI setup, and performance boost.

    Read → medium.com/@michael.kopt/c3a74
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Linux #RestShart #WebClient #DepedencyInjection

  8. 📡 New post: Modernizing .NET – Part 11
    Migrate from WebClient and RestSharp to HttpClientFactory.
    Full code, DI setup, and performance boost.

    Read → medium.com/@michael.kopt/c3a74
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Linux #RestShart #WebClient #DepedencyInjection

  9. 📡 New post: Modernizing .NET – Part 11
    Migrate from WebClient and RestSharp to HttpClientFactory.
    Full code, DI setup, and performance boost.

    Read → medium.com/@michael.kopt/c3a74

  10. Guid Version 7 in .NET 9 introduces a new way to generate globally unique identifiers (GUIDs) based on timestamps and randomness, making them more suitable for relational databases. Unlike the non-sequential GUID v4, GUID v7 reduces index fragmentation, improving database performance.

    okyrylchuk.dev/blog/guid-versi

  11. ✅ New post in my Modernizing .NET series: Validators in CoreWCF — how to bring back pre‑deserialization SOAP validation using AssertValidator + ParameterInspector.
    🔗 medium.com/@michael.kopt/50c0e
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CoreWCF #WCF #SOAP #CSharp

  12. ✅ New post in my Modernizing .NET series: Validators in CoreWCF — how to bring back pre‑deserialization SOAP validation using AssertValidator + ParameterInspector.
    🔗 medium.com/@michael.kopt/50c0e
    #DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CoreWCF #WCF #SOAP #CSharp

  13. ✅ New post in my Modernizing .NET series: Validators in CoreWCF — how to bring back pre‑deserialization SOAP validation using AssertValidator + ParameterInspector.
    🔗 medium.com/@michael.kopt/50c0e

  14. Next part of Modernizing .NET:
    🧼 Part 3 - Migrating WCF SOAP services to .NET 8? I used CoreWCF to keep legacy endpoints alive—no rewrite needed.
    🔗 medium.com/@michael.kopt/moder