Josh Morales
@selaromdotnet.bsky.social
16 followers
13 following
29 posts
Professional software engineer on the microsoft dot net stack. I love c#, asp.net and blazor! Also star trek!
Posts
Media
Videos
Starter Packs
Josh Morales
@selaromdotnet.bsky.social
· Sep 15
Josh Morales
@selaromdotnet.bsky.social
· Jun 23
Josh Morales
@selaromdotnet.bsky.social
· Jun 14
Comparing Raw ASP.NET Request Throughput across Versions: 8.0 to 9.0 Edition
Once again I'm taking a look at the newish .NET release and how it compares to the previous release - this time .NET 9.0 from .NET 8.0. I'll run my simple load tests to compare performance and also discuss a number of anecdotes from running .NET 9.0 in production apps for the last couple of months.
link.content360.io
Josh Morales
@selaromdotnet.bsky.social
· Jun 13
Resolving Paths To Server Relative Paths in .NET Code
ASP.NET Core has support for resolving Urls in Controllers and Razor Pages via embedded `~/` links in Views and via `Url.Content()`. But, these features are tied to Controllers or Razor Pages - what if you need to resolve Urls elsewhere, in middleware or even inside of business logic? In this post I describe how you can build a couple of helpers that are more flexible and also provide some additional functionality of resolving site root and relative paths to full site root paths.
link.content360.io
Josh Morales
@selaromdotnet.bsky.social
· Jun 12
Back to Basics: Await a Task with a Timeout
Sometimes it's useful to call async methods and be able to stop waiting after a given timeout period. Unfortunately there's no native support on Task to provide this. In this short post I show how you can simulate timeouts and provide a couple of helper methods to make the process generically available.
link.content360.io