Quantcast
Channel: Rick Strahl's Web Log
Browsing all 664 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

A WPF Statusbar Control

In my desktop applications I've been using a reusable Status bar control that makes it easy to display status information on the status bar. Statusbar controls seem super simple, but reality is there...

View Article


Image may be NSFW.
Clik here to view.

Map Physical Paths with an HttpContext.MapPath() Extension Method in ASP.NET

In classic ASP.NET - and even class ASP before it - there used to be a handy function called Server.MapPath() to map a virtual Web path to a physical path in the Web site.This can be useful if you need...

View Article


Image may be NSFW.
Clik here to view.

Dotnet Tool Component not found on the Mac

This is a very short note to self in regards to installing and then running a global DotNet Tool on a Mac, which apparently after a default install of the .NET SDK, doesn't work out of the box.One of...

View Article

Image may be NSFW.
Clik here to view.

IIS Error 500.19 with ASP.NET Core Application

Ah yes, IIS. It's been a while. But, if for some reason you need to run IIS - especially on a local dev machine for testing - and you've run into an 500.19 error in IIS like this:while trying to run an...

View Article

Image may be NSFW.
Clik here to view.

Rolling Forward to Major Versions in .NET

I'm currently playing around with .NET 8 RC Preview release and upgrading several of my applications to run under .NET 8. In my early testing, moving to .NET 8 been very much a painless operation.But -...

View Article


Image may be NSFW.
Clik here to view.

Rolling Forward to Major Versions in .NET

I'm currently playing around with .NET 8 RC Preview release and upgrading several of my applications to run under .NET 8 both Web server and Desktop based. In my early testing, moving those...

View Article

Image may be NSFW.
Clik here to view.

Caching your WebView Environment to manage multiple WebView2 Controls

I've been struggling with some WebView initialization issues that are showing up in my application logs from a deployed application. Personally I've never run into these issues myself, however my...

View Article

Image may be NSFW.
Clik here to view.

Save Files With Elevated Permissions on UnauthorizedAccessException

When building Desktop Applications that are document centric and that allow users to save files in any location - like an editor for example - you can run into a situation where on rare occasions a...

View Article


Image may be NSFW.
Clik here to view.

Embedding a minimal ASP.NET Web Server into a Desktop Application

Have you ever wanted to embed a Web Server into another application like a Desktop app for example? It's not a common scenario but I've had a number of occasions where I've had a need for this:Markdown...

View Article


Image may be NSFW.
Clik here to view.

Article 0

3.2in progressInstall .NET 8.0 Runtime if Runtime Missing MM now installs the .NET 8.0 runtime if .NET 7.0 or 8.0 is not installed. We're still compiling with a 7.0 target but automatically roll...

View Article

SetResolution: Setting Windows Display Resolution from the Terminal

I recently switched to a single 4k monitor and had a need to quickly switch resolutions to avoid the UI hostile Windows Display Resolution widget in Settings. I ended up creating a small command line...

View Article

Image may be NSFW.
Clik here to view.

Integrating OpenAI Image Generation into a .NET Application

I fell down a rabbit hole after playing around with various image generation AIs and decided that for me this is incredibly useful functionality that I would like to integrate into Markdown Monster -...

View Article

Image may be NSFW.
Clik here to view.

Working around the WPF ImageSource Blues

While working on the OpenAI Image Generator Addin from my previous post I ran into several behind the scenes issues related to the blasted Image control in WPF.Specifically I ran into two issues with a...

View Article


Image may be NSFW.
Clik here to view.

Sharing Tab Missing in Windows Folder Properties

For unfathomable reasons, Windows 11 is actively discouraging the Sharing Tab on the Explorer Properties Context Menu, where it used to sit by default.I'm talking about this tab when you select a drive...

View Article

Image may be NSFW.
Clik here to view.

Reading Raw ASP.NET Request.Body Multiple Times

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...

View Article


Image may be NSFW.
Clik here to view.

Comparing Raw ASP.NET Request Throughput across Versions

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...

View Article

Image may be NSFW.
Clik here to view.

Html to PDF Generation using the WebView2 Control

I've been using HTML to PDF generation for quite some time for a variety of purposes specifically in Markdown Monster. There are many solutions available - some good, some bad and many very expensive =...

View Article


Image may be NSFW.
Clik here to view.

ASP.NET Core Module with Shadow Copy Not Starting: Separate your Shadow Copy...

I recently ran into a problem with random failures of my ASP.NET Core Web application on IIS where I would get the dreaded ACNM Error Page (ASP.NET Core Module):This is on what used to a be a stable...

View Article

Image may be NSFW.
Clik here to view.

Speed up your Start Menu by disabling Web Search

I ran into a great tip yesterday on X, that is too good not to pass on and also to serve as a reminder for myself next time I install Windows:Holy hannah! Disabling web search on the start menu makes...

View Article

Image may be NSFW.
Clik here to view.

Mime Base64 is a Thing?

In all my years of developing software, sending binary data back and forth I've never heard of Mime Base64. Apparently that is a thing for email encoding of binary data for some legacy applications...

View Article
Browsing all 664 articles
Browse latest View live