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 | 08 Mar 2024 10:21
Rick Strahl writes "....It's that time of year again to upgrade to a new machine, and one of the first things I often do once the machine is set up is run some performance tests of a simple ASP.NET application that tests raw request throughput of a couple of JSON..."
Read more » Comparing Raw ASP.NET Request Throughput across Versions
Rick Strahl's Web Log | 20 Feb 2024 23:08
Rick Strahl writes "....Some time ago I wrote about retrieving raw HTTP request content from an incoming request and - surprisingly - it's one of the most popular posts on this blog. The post discusses a few ways how you can capture raw request content in ASP.NET Core..."
Read more » Reading Raw ASP.NET Request.Body Multiple Times
Rick Strahl's Web Log | 10 Jan 2024 22:54
Rick Strahl writes "....For unfathomable reasons, Windows 11 is actively discouraging the Sharing Tab on the Windows Explorer Properties Context Menu, where it used to sit by default.
I'm talking about this tab when you select a drive or folder:
Figure 1 - The Windows..."
Read more » Sharing Tab Missing in Windows 11 Folder Properties
Rick Strahl's Web Log | 04 Jan 2024 05:36
Rick Strahl writes "....The WPF Image control and its ImageSource property can be problematic if you are loading a lot of images in a list. Depending on where you load images from, and how, you can very easily get bogged down with slow, blocking load operations, and memory..."
Read more » Working around the WPF ImageSource Blues
Rick Strahl's Web Log | 21 Dec 2023 22:22
Rick Strahl writes "....Image Generation AIs are proving to be very good at creating images that can be used for all sorts of purposes. In this article I discuss how you can integrate image generation right into your own .NET applications using the OpenAI REST API. In..."
Read more » Integrating OpenAI Image Generation into a .NET Application
Rick Strahl's Web Log | 28 Nov 2023 08:42
Rick Strahl writes "....Did you ever need to embed a Web Server into a non-Web application? In this post I describe how you can use host ASP.NET in a non-Web application and specifically in a WPF desktop app. What do you need, how is it different and some of the issues..."
Read more » Embedding a minimal ASP.NET Web Server into a Desktop Application
Rick Strahl's Web Log | 03 Nov 2023 19:48
Rick Strahl writes "....If you have an application that generically allows you to edit and save files, you might on rare occasions need to save files in locations that where a regular user account does not have permissions to save. Rather than failing wouldn't it be nice..."
Read more » Save Files With Elevated Permissions on UnauthorizedAccessException
Rick Strahl's Web Log | 31 Oct 2023 22:10
Rick Strahl writes "....I've been struggling with rare WebView initialization errors in one of my applications, that have been difficult to debug and track down. After a lot of trial and error I discovered that the problem is related to WebView Environment instantiations..."
Read more » Caching your WebView Environment to manage multiple WebView2 Controls
Rick Strahl's Web Log | 03 Oct 2023 08:12
Rick Strahl writes ".....NET Core has sophisticated policies that allows your applications that are compiled to specific versions of the .NET Runtime can roll forward to newer versions. You can specify what part of the version to roll forward and that generally works well,..."
Read more » Rolling Forward to Major Versions in .NET
Rick Strahl's Web Log | 19 Sep 2023 10:02
Rick Strahl writes "....Running on IIS locally is pretty rare, but if for some odd reason you decide to run IIS locally on your dev machine you might find yourself getting a 500.19 error which relates to an issue in the web.config configuration. The solution is simple..."
Read more » IIS Error 500.19 with ASP.NET Core Application