I drew this migration guide a few years ago after discussions with various teams on how to modernize their IIS based windows server environments to allow Kestrel based applications.
YARP is a key component as it takes over from IIS as the router. YARP is special sauce since it can run on any OS using Kestrel, but with the magic of being built on https://t.co/PiydKAsC8g primitives, it can also run natively on IIS or HTTP.sys directly.
This means you can use YARP as an efficient router to since it has a multitude of transports (Unix domain sockets, HTTP.sys fast delegation, HTTP/1.1/2).
This lets you build new services that will be more portable when they eventually move to a container-based platform (that's where all of these teams are going).
#dotnet #aspnetcore #migration #yarp
The Azure team is building a CDK that lets you express azure resources in C#. It's still experimental at the moment but aspire integrates with this library to enable define azure resource graphs in C#. We build higher level APIs on top of these lower-level APIs with "smart defaults". This will ultimately turn into bicep and be executed in azure to create the resource.
For local development, we can automate resource deployment and gathering of connection information to allow running locally (https://t.co/LFMzfyh2Lr).
When used for deployment, we provision both the resource and the compute in azure, setting up the required role assignments.
These APIs allow for composition so defaults can be overridden.
Below shows the transition from low-level resource to high level abstraction using the aspire resource building blocks:
#dotnet #aspire #azure
Finally got around to setting up a Pi-hole. Web browsing was noticeably faster immediately and 24 hours later thousands of requests blocked on my home network. Highly recommend doing this.
https://t.co/3DkyTpIJxf
We are happy to release KEDA 2.9.2 🎉
⚡Here are some fixes released:
- Prevent panic that might occur while refreshing scaler
- Fix exposed Prometheus metric
- Fix Azure Service Bus Scaler Pod Identity
💬 Release Notes:
https://t.co/9ZKncHXylf
#kubernetes#autoscaling#keda
📢 Hey readers of @MicrosoftLearn content, here's a quick tip.
✏️ Whenever you have a small fix or typo to address, you can use the pencil edit button to take you to the backing docs repository, for the MD file in question. From there, edit the file, and propose changes. 🎉
Reading the @MicrosoftLearn module I wrote with @camsoper "Null safety in C#": we should add messaging that the type in a nullable context when using "var" is always nullable instead of the explicit type. This really makes me like "var" less ☹️ #dotnet
https://t.co/Bw1T9wGNVI
Hey, devs! ✌
Sharing another tip to speed up your project configurations when created using dotnet CLI. This command adds all projects recursively to the solution.
#dotnet#commandline#tips https://t.co/JzF3NOWWV3
Every time I come back to Europe, I’m reminded of the absolute batshit insanity that cookie warnings are. Idiotic, poorly thought out, user experience-killing compliance garbage that can’t possibly do anything to improve privacy in any meaningful way whatsoever.
@dotMemory – Rider’s built-in memory profiler plugin – is finally available on macOS and Linux inside Rider 2022.3. 🎉
Here’s how you profile #dotnet code using dotMemory in Rider: https://t.co/gJsO2kdoWr