Rick Strahl
Rick Strahl's Web Log provides a variety of .NET development topics with focus on ASP.NET and enterprise development. Topics are wide ranging from introductory articles to tips and tricks, observations in the process of software development and examination of new and upcoming technologies. Content is honest and sometimes outspoken and doesn't tote any particular party line - Rick says it as he sees it.
Rick Strahl's Web Log | 04 Sep 2024 09:31
Rick Strahl writes "....Today I was helping out a customer with their ASP.NET core application that wasn't starting up on a live server, hosted in IIS. Not uncommon in a first install, and when this happens I often resort to starting the app directly using Kestrel first,..."
Read more » Getting the ASP.NET Core Server Hosting Urls at Startup and in Requests
Rick Strahl's Web Log | 04 Aug 2024 23:52
Rick Strahl writes "....I've run into this scenario way too many times as a NuGet package creator:
I update a NuGet Package
I publish it to NuGet Package Store
I wait a few minutes
I open another project
I try to update and compile with the new Package Version
Sometimes..."
Read more » Nuking Local Nuget Package Sources to show newly Published Packages
Rick Strahl's Web Log | 29 Jul 2024 22:16
Rick Strahl writes "....It's been a while since I've posted some Markdown Monster content, so I thought I'd share a fun feature I recently added to my Markdown Monster editor. In the process I'll highlight a useful library and service that is PlantUML, and how you can add..."
Read more » Create a .NET PlantUML Markdown Render Extension
Rick Strahl's Web Log | 25 Jul 2024 21:48
Rick Strahl writes "....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..."
Read more » Back to Basics: Await a Task with a Timeout
Rick Strahl's Web Log | 23 Jul 2024 07:53
Rick Strahl writes "....The WebView2 control's NavigateToString() method has a limit for the string size of 2mb, which can be a problem especially for HTML pages with embedded content. In this post I'll describe how this problem can show up and show a couple of ways to..."
Read more » Work around the WebView2 NavigateToString() 2mb Size Limit
Rick Strahl's Web Log | 19 Jul 2024 07:02
Rick Strahl writes "....If you deal with old .NET library code that is sprinkled with some Windows specific code in places you've likely run into places where the Windows specific code is throwing up unwanted compiler warnings. Sometimes that matters, but often times these..."
Read more » Dealing with Platform Specific Classes and Methods in CrossPlatform .NET
Rick Strahl's Web Log | 14 Jun 2024 06:12
Rick Strahl writes "....I'm tired of trying to format versions for user facing interfaces after fumbling with it again and again. In this short post I show a small helper extension method that lets you configure how to form user friendly version strings to display to end..."
Read more » C# Version String Formatting
Rick Strahl's Web Log | 27 May 2024 07:50
Rick Strahl writes "....Ran into an old legacy application recently that required that attached data was preformatted to Mime Base64 which I never even heard of before. Turns out it's a 'url-safe' version of base64 that replaces certain characters that can be present in..."
Read more » Mime Base64 is a Thing?
Rick Strahl's Web Log | 04 May 2024 06:53
Rick Strahl writes "....If you're like me, you've probably cursed the Windows Start menu from time to time, when it's either very slow to pop up, or in some instances fails to pop up at all when you press the Windows key. This simple tip can drastically improve performance..."
Read more » Speed up your Start Menu by disabling Web Search
Rick Strahl's Web Log | 29 Apr 2024 01:06
Rick Strahl writes "....I recently ran into a major failure related to Shadow Copying for an ASP.NET Web app on IIS which was caused by corruption of the Shadow Copy directories. The app starts with the dreaded white ANCM Error page and event log entries that point at..."
Read more » ASP.NET Core Hosting Module with Shadow Copy Not Starting: Separate your Shadow Copy Folders!