Sign in

Rick Strahl

@rickstrahl.west-wind.com
716 followers 122 following 87 posts

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

PostsRepliesMedia
Rick Strahl @rickstrahl.west-wind.com · 14/06/2025
That’s what we call a Whiteout! Insane day on the water today with gusts to 50mph and mast high swell rolling down the river. Not forecast either which makes it all the better! #gorgelife
040
Rick Strahl @rickstrahl.west-wind.com · 13/03/2025
Blogged: Accessing Windows Settings Dialogs from Code via Shell Commands Quick blog post for reference that also points at the resource key links available for the protocol handler. weblog.west-wind.com/posts/2025/M...
141
Rick Strahl @rickstrahl.west-wind.com · 09/03/2025
Evening session…. Klein aber fein!
070
Rick Strahl @rickstrahl.west-wind.com · 05/03/2025
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 😂🏴‍☠️
020
Rick Strahl @rickstrahl.west-wind.com · 02/03/2025
Kava and I having a golden moment 😀
3180
Rick Strahl @rickstrahl.west-wind.com · 28/02/2025
Blogged: Inline Confirmations in JavaScript Html UI weblog.west-wind.com/posts/2025/F...
010
Rick Strahl @rickstrahl.west-wind.com · 21/01/2025
The memory utilization however is very different with the default configuration (1) running with 10x less memory just like the comparison between 8.0 and 9.0. So you might be right - most of the small perf difference likely comes from this feature flag change.
010
Rick Strahl @rickstrahl.west-wind.com · 21/01/2025
So tried it - doesn't make much of a difference in performance. Pretty close. However, flipping back and forth I see around 164k/sec (0) vs 160k/sec (1) between the two modes.
010
Rick Strahl @rickstrahl.west-wind.com · 12/01/2025
Evening session…
040
Rick Strahl @rickstrahl.west-wind.com · 11/01/2025
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 😂
040
Rick Strahl @rickstrahl.west-wind.com · 01/01/2025
Last ride of 2024… Small waves and trying out a new camera mount. Result: another broken GoPro mount…
131
Rick Strahl @rickstrahl.west-wind.com · 30/12/2024
I didn't show it in the original example file but the script parser also supports raw C# code blocks so you can write raw C# code inline: It ain't as pretty Razor, but it sure works better in generic editors than Razor syntax.
000
Rick Strahl @rickstrahl.west-wind.com · 30/12/2024
Updating the C# scripting engine in Westwind.Scripting to support layout pages. I finally got fed up with trying to shoehorn other script engines into my templating solutions - Razor especially (both hosted and internal). This is plain old, raw C# code being rendered. github.com/RickStrahl/W...
220
Rick Strahl @rickstrahl.west-wind.com · 29/12/2024
To be clear the code that is shown as text, is generated and compiled and executed on the fly (it's a script) using Roslyn. I've tried to duplicate this as a simplified scenario in LinqPad with and the same scenario appears to work there:
010
Rick Strahl @rickstrahl.west-wind.com · 29/12/2024
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).
262
Rick Strahl @rickstrahl.west-wind.com · 23/12/2024
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.
1110
Rick Strahl @rickstrahl.west-wind.com · 18/12/2024
Pushed up a new version of LiveReloadServer today. It's a local, self-contained, x-platform static Web server that also supports loose Razor pages and built-in Markdown rendering plus LiveReload. Updated to .NET 9.0 and fixed a few small issues. github.com/RickStrahl/L...
0141
Rick Strahl @rickstrahl.west-wind.com · 11/12/2024
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 😀🌊
070
Rick Strahl @rickstrahl.west-wind.com · 02/12/2024
What's missing in 'server mode' then? The PDF Table Of Contents generation is not there. Basically this doesn't not work in 'system/unattended' mode operation.
020
Rick Strahl @rickstrahl.west-wind.com · 02/12/2024
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.
120
Rick Strahl @rickstrahl.west-wind.com · 28/11/2024
Two is better than one! Getting loaves ready for tonight’s dinner.
020
Rick Strahl @rickstrahl.west-wind.com · 26/11/2024
Interesting... added better support for request cancellation to WebSurge today for interactive URL testing. But when running load tests noticed that load numbers dropped off. Looks like adding a cancellation token is adding nearly 10% overhead to request load. * w/o TCS: 126k * w TCS: 109.7k
000
Rick Strahl @rickstrahl.west-wind.com · 20/11/2024
Kava says: when are we going to da beach?
020
Rick Strahl @rickstrahl.west-wind.com · 17/11/2024
Good to see that WebView Pdf/Print output can capture some script generated output like these Mermaid charts from this Markdown rendered HTML output.
030
Rick Strahl @rickstrahl.west-wind.com · 15/11/2024
Who said bitching and moaning never gets you anywhere? 😂 Recently noted that Chromium was ignoring HTML print media were not respecting @bottom-right and @top-center. Well, it started working when I didn't expect it to now. 🤦‍♂️ Looks like this got fixed! 👍... now that I don't need it to anymore.
100
Rick Strahl @rickstrahl.west-wind.com · 14/11/2024
Markdown Monster 3.5 is out. Lots of new stuff and improvements: • Runs on .NET 9.0: Improved perf • Improved ARM support • New PDF Output Engine • Split Panel Sidebar (optional) • Generic file & path resolution (~, %env%) • Updated AI features markdownmonster.west-wind.com #markdown
281
Rick Strahl @rickstrahl.west-wind.com · 13/11/2024
And... finally get to push out this update with lots of improvements now that .NET 9.0 is out. At first glance the runtime update improves startup speed and perceived UI performance noticeably even somewhat improved from the RC releases. #dotnet
031
Rick Strahl @rickstrahl.west-wind.com · 11/11/2024
System.Text.Json dynamic deserialization: You can deserialize to `ExpandoObject` but it looks like it only flows to the top level object, not any child objects. So, still no go...
100
Rick Strahl @rickstrahl.west-wind.com · 10/11/2024
Evening fun… Nowhere I’d rather be!
130