Rick Strahl

@rickstrahl.west-wind.com

Wind, waves, code, punk rock and everything in between. Markdown, .NET and all things Web.

Blogged: Using the new WebView2 AllowHostInputProcessing Keyboard Mapping Feature Finally finished this post that describes a new WebView feature that allows passing through keystrokes from WebView->Host to naturally handle Windows behaviors correctly. weblog.west-wind.com/posts/2025/A...

Using the new WebView2 AllowHostInputProcessing Keyboard Mapping Feature

If you've used the WebVIew2 control for a UI interactive Hybrid active you've probably run into some odd keyboard behavior, where some keys cannot be captured properly in the host application or are n...

weblog.west-wind.com

Blogged: Adding Runtime NuGet Package Loading to an Application The post discusses adding NuGet support to my .NET LiveReloadServer tool and it's dynamic loose Razor page support recently. Been really useful to me for several 'Sites with Benefits'. weblog.west-wind.com/posts/2025/J...

Adding Runtime NuGet Package Loading to an Application

It's not a common use case, but if you need need to dynamically add external code at runtime, NuGet packages are the most familiar way for developers to add that functionality besides old-school direc...

weblog.west-wind.com

Ooops! This is what breaking off a harness hook looks like 😱 Aluminum hook was worn and ripped right off. Quite the slam… sometimes it’s better not to know what happens after you go down 😂🏴‍☠️

Screwing around with building a very simple runtime expression evaluator that doesn't need to compile - just parse and invoke. So far so easy but once you get to methods with parameters the easy part's done with 😂

Bild

Running into a weird issue with dynamic and anonymous types while updating my C# scripting library. I'm passing in a model that's an anon type, cast to dynamic, and access to dynamic props then fails. But using Reflection works (ie. the type is there).

Bild

Always nice to get an easy win: Switching to a Parallel loop with literally a couple of lines of code and getting massive perf improvements. Link checking in Markdown Monster on one of my old blog posts with lots of links went from 20 seconds down to 2.5 seconds.

Bild

It was a very challenging day on the water today. Massivevwaves and funky wind make for a precarious situation - got rinsed good a couple of times today. Still managed some good ones though 😀🌊

Bild

Well, I managed to get WebView PdfToHtml generation working again in IIS w/ ApplicationPoolIdentity, but looks like it won't work using DevTools protocol but has to use the WebViews more limited PrintToPdf API. Solution: Added a server mode that switches between the two modes. Ugly but it works.

Bild