You can now add operators to classes you didn't write.
Want to "add" two Workshop objects or combine Paths with a +? Use static extension operators in .NET 10.
You can now add operators to classes you didn't write.
Want to "add" two Workshop objects or combine Paths with a +? Use static extension operators in .NET 10.
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
via @dotnet : .NET 10.0.5 Out-of-Band Release – macOS Debugger Fix
https://ift.tt/v1U3Iae
#dotnet #dotnet10 #dotnet105 #dotnetupdate #net10 #debuggerfix #macOS #macos #apple silicon #arm64 #visualstudiocode #vscode #dotnetsdk #netcore #outofband #oob #release #s…
🗂️ 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
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.
🧩 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
🧵 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
📡 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