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

https://medium.com/@michael.kopt/%EF%B8%8F-modernizing-net-part-16-replacing-binaryformatter-with-protobuf-net-for-speed-and-security-f5cc5db8055a
#dotnet #dotnetcore #dotnet8 #dotnet9 #dotnet10 #aspnet #aspnetcore #csharp #programming #serialization #protobuf

🛡️ Modernizing .NET — Part 16: Replacing BinaryFormatter with protobuf-net for Speed and Security

Learn how to eliminate the risks of BinaryFormatter by migrating to protobuf-net. Boost performance by 7x and reduce size by 3x.

Medium
.NET 10.0.5 Out-of-Band Release - macOS Debugger Fix - .NET Blog

An out-of-band release of .NET 10.0.5 to fix a critical debugger crash affecting macOS users with Visual Studio Code.

.NET Blog

🗂️ 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 → https://medium.com/@michael.kopt/%EF%B8%8F-custom-session-store-for-complex-objects-in-asp-net-core-1349b680ce12
#DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Middleware #SessionState

🗂️ Custom Session Store for Complex Objects in ASP.NET Core

ASP.NET Core’s default session fails with complex objects. This post shows how to store them safely in memory.

Medium

Upgrading from .NET 9 to .NET 10 is more than a routine update — it is a strategic move toward better performance, stronger security, and cloud-ready scalability.

Explore the complete migration guide here: https://prishusoft.com/blog/upgrade-dotnet-9-to-dotnet-10-guide

If you are planning a framework upgrade or optimizing enterprise systems, Prishusoft provides end-to-end .NET development, migration support, cloud integration, and scalable web solutions tailored to your business goals.

#DotNet #DotNet10 #SoftwareDevelopment #DevOps

🧩 New: Modernizing .NET – Part 14
WebHost still works, but WebApplication is better.
Here’s how to migrate your ASP.NET Core app to the modern hosting model.

Read → https://medium.com/@michael.kopt/modernizing-net-part-14-migrating-from-webhost-to-webapplication-in-asp-net-core-612a7a8e1b88
#DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Middleware

🧩 Modernizing .NET — Part 14: Migrating from WebHost to WebApplication in ASP.NET Core

WebHost was common in early ASP.NET Core apps. This post shows how to migrate to the modern WebApplication model.

Medium

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

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

🪢Modernizing .NET — Part 12: Managing Dependency Injection in Background Threads with SharedContext

Legacy background threads don’t support DI — this post introduces the SharedContext pattern to bridge the gap

Medium

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

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

📡 Modernizing .NET — Part 11 Migrating WebClient and RestSharp to HttpClientFactory

This post gives a production‑ready migration path for replacing WebClient and RestSharp with HttpClient backed by IHttpClientFactory. It…

Medium
📊 New post: Modernizing .NET – Part 10
Replace OleDB with ExcelDataReader in .NET Core.
Setup, formatting, exporting, performance tips — all covered.
Read → https://medium.com/@michael.kopt/modernizing-net-part-10-replacing-oledb-excel-reading-with-exceldatareader-a2cdae1e2cb8
#DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #Excel #OLEDB
📊 Modernizing .NET — Part 10: Replacing OleDB Excel Reading with ExcelDataReader

Legacy .NET apps rely on OleDB to read Excel files — but it doesn’t work in .NET Core. This guide shows how to migrate to ExcelDataReader

Medium
🦊 New post: Modernizing .NET – Part 9
SAML SSO migration to ITfoxtec in .NET Core.
Config, response handling, logging — all covered.
Read it → https://medium.com/@michael.kopt/modernizing-net-part-9-migrating-saml-sso-to-itfoxtec-44133b003702
#DotNet #SAML #SSO #ITfoxtec #CSharp #Identity #ASPNet #ASPNetCore #Linux #DotNetCore #DotNet8 #DotNet9 #DotNet10
.NET 10 support in Visual Studio 2022

.NET 10 is here, and you'll likely want to use it. It is recommended that you upgrade to Visual Studio 2026, but how do you use it if you're sticking with VS2022?