https://github.com/tonerdo/dotnet-env - `dotnet add package DotNetEnv` and now #dotNET projects can read .env files too. Great for copying secrets between #React and #ASPnet.
GitHub - tonerdo/dotnet-env: A .NET library to load environment variables from .env files

A .NET library to load environment variables from .env files - tonerdo/dotnet-env

GitHub

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

🗂️ 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

Encountering `TryParse` errors in ASP.NET Core? This insightful post breaks down common pitfalls and provides solutions to streamline your development process. #aspnet #dotnet

https://isaacl.dev/g2e

Logging without structure = flying blind in production. Serilog is essential for #dotnet apps. Learn structured logging best practices for #aspnet Core with this comprehensive guide.

https://codewithmukesh.com/blog/structured-logging-with-serilog-in-aspnet-core/

#csharp #observability #logging

Structured Logging with Serilog in ASP.NET Core .NET 10 - codewithmukesh

Master structured logging with Serilog in ASP.NET Core .NET 10 — sinks, enrichers, OpenTelemetry, anti-patterns, correlation IDs, and production-ready config templates.

Mukesh Murugan - Helping you Become a Better .NET Developer

🚨 Silent security bugs are the worst kind. Discover how a quirk in legacy #aspnet MVC silently dropped a critical security filter—and what to do about it.

https://bartwullems.blogspot.com/2026/03/the-silent-filter-how-aspnet-mvc-quirk.html

#dotnet #security #aspnetcore

The silent filter: How an ASP.NET MVC quirk became a security leak

We recently discovered a bug in one of our legacy ASP.NET MVC applications — the kind that doesn't throw an exception, doesn't log a warning...

I gave my Blazor based ncrontab testing tool a facelift
https://ncrontab.swimburger.net
#dotnet #csharp #blazor #aspnet
NCrontab Expression Tester Evaluator

Use the NCrontab Expression Tester tool to test out your NCrontab/CRON expression and see the DateTimes of your occurrences.

The Agentic Coding Workflow: A Practical Example #dotnet #aspnet #blazor #ai #agents

https://isaacl.dev/g1x

🧩 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