⚡️ Setting Up Production-Ready Monitoring in ASP.NET Core

🏷️ #devdigest #dotnet #net #aspnet #asp #mongodb

https://devdigest.today/goto/5381

How to Set Up Production-Ready Monitoring With ASP.NET Core Health Checks

Learn how to build a production-ready monitoring system using ASP.NET Core Health Checks. This guide covers adding health checks for Postgres, Redis, MongoDB, and MassTransit (RabbitMQ), creating custom checkers, creating custom JSON response formatter for health checks, implementing a custom health check publisher, and setting up a professional Health Checks UI.

Anton Dev Tips

⚡️ A quick tour of Instrument<T> in System.Diagnostics.Metrics

🏷️ #devdigest #dotnet #net #aspnet #asp

https://devdigest.today/goto/5346

Creating standard and "observable" instruments: System.Diagnostics.Metrics APIs - Part 3

In this post I discuss the various Instrument<T> types exposed by the System.Diagnostics.Metrics API and show examples from the .NET libraries and ASP.NET Core

Andrew Lock | .NET Escapades

🧵 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

Ok next update to StyloBot is crazy, worked on the ASP.NET interaction:

app.MapPost("/api/checkout", () => Results.Ok())
.BlockBots()
.BlockIfSignal(SignalKeys.GeoIsVpn, SignalOperator.Equals, "True");

YUP, that's enterprise grade vpn detection on a minimal api (two lines of config in program.cs). #aspnet #aspnetcore #minimalapi coming soon https://www.stylobot.net

Stylobot - Zero-PII Bot Detection & Analytics

Advanced bot detection using heuristics and analytics with a zero-PII approach. Protect your platform without compromising user privacy.

Stylobot
Man I fucking LOVE building stuff. My free / OSS bot & scraper protection system is now live
https://www.stylobot.net . It's umm...VERY different from almost anything else. Oh and ridiculously more powerful than almost anything else too by taking a behavioural approach rather than simple string matching. It builds a comprehensive ledger of each user (no PII stored!) and their behaviour across sessions, requests, and even within a single request-response operation.
Uses heuristics & deterministic analysis (with optional LLM escalation for novel detections).
Free, ASP.NET Middleware, Docker Image & executable. Public Domain (commercial addons coming later)
https://github.com/scottgal/stylobot
#aspnet #csharp #botdetector #oss #unlicense

⚡️ .NET 11 Preview 1 lands with updates across the stack

🏷️ #devdigest #dotnet #net #csharp #maui #microsoft #blazor #web #aspnet #asp

https://devdigest.today/goto/5331

.NET 11 Preview 1 is now available! - .NET Blog

Explore .NET 11 Preview 1, now available with updates to the runtime, libraries, and more. Get the details today!

.NET Blog

Explore the implementation of client assertions in ASP.NET Core with OpenID Connect, OAuth DPoP, and OAuth PAR. #ASPNet #dotnet #oauth

https://isaacl.dev/g0w

📡 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

ASP.NET for .NET 11 summarized roadmap

The upcoming version of .NET 11, which is going to be a short term release of .NET that succeeds .NET 10, will feature improvements that are planned for the ASP.NET framework for web applications, such as Blazor and Blazor WebAssembly applications.

The top feedback and pain points will be addressed in the live roadmap for ASP.NET for .NET 11, which will improve your web application usability and reliability for developers and users alike.

You can find the live roadmap on this GitHub page, along with the discussion.

The roadmap addresses the points, including, but not limited to:

  • It has been planned that the discriminated unions is expected to be added to this version of .NET and ASP.NET.
  • The feature parity for the static server-side rendering is expected to be addressed.
  • The form validation component for Blazor will be improved in this version, such as asynchronous validation enhancements.
  • WebAssembly will be supported on CoreCLR interpreter runtime, eliminating the need for Mono, with .NET 12 being the version that completes the transition.
  • Progressive Web Applications (PWA) will be added to the Blazor Web App template.
  • The concept of state transitions for animations will be added in Blazor to better support animated components.

In real-world projects, the AOT and trimming support is still fragile, because of the following challenges:

  • Reflection remains a blocker, since trimmed web applications that use reflection-based frameworks and other components may fail to render with error messages or components failing to load.
  • System.Text.Json is currently hostile to AOT, since it uses reflection for serialization and deserialization operations by default, unless explicit source code generation is used.
  • AOT + Trimming currently doesn’t fail at build time if trimming is deemed to be unsafe due to reflection and other incompatible features. Also, the documentation suffers from fragmented trimming guidance for third-party libraries.

If everything goes as planned, .NET 11 Preview 1 will be released as early as today, and developers and curious bleeding-edge users will be able to try it out.

#Net #ASPNET #Blazor #C #csharp #dotnet #news #Razor #Tech #Technology #update