Rick Strahl Profile Banner
Rick Strahl Profile
Rick Strahl

@RickStrahl

18,841
Followers
832
Following
3,137
Media
34,261
Statuses

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

Paia, Hawaii, USA
Joined April 2008
Don't wanna be here? Send us removal request.
@RickStrahl
Rick Strahl
5 years
This gif never gets cold ๐Ÿ˜Ž
@ericlbarnes
Eric L. Barnes
5 years
This gif never gets old.
61
4K
10K
2
115
335
@RickStrahl
Rick Strahl
3 years
It's absolutely fucking awesome that *every time* I start up a JavaScript app after not touching it for a few months, it fails to launch after an NPM Install to restore dependencies. And the helpful error message makes it a quick fix too. What's not to love?
Tweet media one
40
24
319
@RickStrahl
Rick Strahl
1 year
After recent update to .NET 8.0 RC2 noticing significantly faster cold startup times of #aspnetcore apps on IIS. What took 10-15 seconds on very first hit (w/ .NET 7.0) now takes 2-3 seconds. Nice!
5
28
332
@RickStrahl
Rick Strahl
2 years
This dependency list for SqlClient is crazy for what is a core component. Stuffing all that Azure crap in here is ridiculous. There should be a separate provider for Azure SQL - assuming that's why its in here.
Tweet media one
16
24
296
@RickStrahl
Rick Strahl
3 years
After a lot of futzing around I got Cookie *and* Bearer Token Auth to work together in a single #aspnetcore app using the following code. Not sure I understand the ForwardSelector - I can't use a name other than `Bearer` or it fails for token auth. Seem like any name should work
Tweet media one
10
29
256
@RickStrahl
Rick Strahl
3 years
With all the posts of small problems that I've run into with .NET 6.0 I want to point out that the overall experience I've had with 6.0 is overwhelmingly POSITIVE. I just end up picking things apart and sharing what I find, and record it for my own sanity and future reference.
8
5
138
@RickStrahl
Rick Strahl
2 years
After deploying my internal online store and licensing management system running #AspNetCore about a month ago, I have a few thoughts: This app was easily the most enjoyable application I've (re) written in a very long time. #AspNetCore
7
10
147
@RickStrahl
Rick Strahl
5 years
I've been using Windows forever, but I didn't know that there are easy commands to tell where a file lives or an executable is loaded from. `where` in DOS and `get-command` are useful - today I needed to find which version of `curl.exe` was running and this does the trick.
Tweet media one
10
34
130
@RickStrahl
Rick Strahl
8 years
Blogged: More on #aspnetcore running on IIS.
Tweet media one
1
58
128
@RickStrahl
Rick Strahl
2 years
.NET 8 finally publishes in Release mode by default. "Sorry that it took so long!" ๐Ÿ˜‚ Ugh, that's bugged me for so long as I've forgotten to add the release switch more than a few times. #dotnet
Tweet media one
2
14
132
@RickStrahl
Rick Strahl
6 years
Got rear ended by some maniac while driving down the highway yesterday nearly rolled the car and almost went into oncoming traffic. amazingly no one was hurt!!! Experiences like this make you realize how quickly your life can change due to no fault of your own.
Tweet media one
40
4
119
@RickStrahl
Rick Strahl
7 years
For all the talk of how awesome HTML(5) is why are we STILL spending hours on each project hunting for a bloody date picker, auto-complete, multi-pick control that'll work w/ framework du jour? 20+ years in & nothing has changed. No standard component model, no UI standardization
10
30
109
@RickStrahl
Rick Strahl
7 years
Blogged: Configuring LetsEncrypt for Core and IIS #aspnetcore #letsencrypt #iis
Tweet media one
4
45
113
@RickStrahl
Rick Strahl
7 years
Interesting way to add items to an array in JavaScript without .push(). Makes sense that this works, just never thought about it.
Tweet media one
12
53
97
@RickStrahl
Rick Strahl
7 years
This is news to me: CMD prompt no longer requires quotes for paths with spaces:
Tweet media one
9
43
104
@RickStrahl
Rick Strahl
7 years
Blogged: .NET Core 2.0 and ASPNET 2.0 Core are Here
Tweet media one
5
69
107
@RickStrahl
Rick Strahl
7 years
Got renewed as a microsoft MVP again. Yay! First one was 20 years ago in 1997 for #foxpro . I officially qualify as an old fart now. #mvpward
11
2
107
@RickStrahl
Rick Strahl
3 years
.NET 6.0 to me is perhaps one of the best .NET Core releases if for nothing else than it doesn't have an overload of new features, but rather focuses on performance stability and usability. The perf improvements in this release are very noticeable both for Web and even desktop.
2
10
104
@RickStrahl
Rick Strahl
4 years
Evening playtime...
Tweet media one
7
2
95
@RickStrahl
Rick Strahl
8 years
A #dotnetcore API can be tiny after all. Single file, tiny project.Preview bits, but still nice to see this. Thanks @filip_woj for pointer.
Tweet media one
4
48
94
@RickStrahl
Rick Strahl
5 years
Does anybody have a Windows laptop that actually goes to Sleep reliably? Most of the time if I close the lid the machine seems to go to sleep. Put it in a bag, back out a few hours later and it's baking hot, battery half done. It just never works. How is this still a problem?
Tweet media one
48
8
95
@RickStrahl
Rick Strahl
3 years
I've been using Visual Studio 2022 pretty much full time for the last month. It's definitely an improvement over 2019 in performance and even stability. Given the move from 32 to 64bit under the covers this is impressive if somewhat unexpected. Kudos.
11
18
98
@RickStrahl
Rick Strahl
5 years
Anybody else seeing occasional, odd `glyphication` in Edgium browsers? Parts of the document text ends up mangled w/ glyphs. Usually just a few words or lines while the rest of the doc is fine. All sorts of pages. Resizing usually fixes this. Seen in Dev build @MSEdgeDev
Tweet media one
27
4
97
@RickStrahl
Rick Strahl
1 year
4mb worth of assemblies to access Azure Blob storage (in a full framework app). Even without the net472 pre-reqs it's still over 2mb. What are they doing in Identity to warrant that much code?
Tweet media one
19
3
102
@RickStrahl
Rick Strahl
3 years
I've put up a preview of West Wind WebSurge running on .NET 6. It's a major rewrite of this easy to use Request and Load Testing tool for Windows. * Completely overhauled UI ( #mahapps ) * Rewritten request manager * Lower resource usage Check it out:
Tweet media one
Tweet media two
5
23
92
@RickStrahl
Rick Strahl
11 months
Finally got around to updating my online store app completely to .NET 8.0 I had previously updated only the framework but left most packages at the older versions. Now updated full, and I had to do a double take on the startup speed: I thought I was running a cached version ๐Ÿ˜‚
2
5
96
@RickStrahl
Rick Strahl
1 year
In case you missed this in recent #visualstudio updates (I did): The newish Bracket Matching feature shows you a tool tip of the opening bracket code when hovering over closing brackets. That's very useful to me ๐Ÿ‘
8
10
94
@RickStrahl
Rick Strahl
4 years
I'm about to pull the plug on @markdownmonstr 's source repository and remove the code. Having the code in the open has invited people to hack and bypass license checks, rebrand and republish and more. I expected some of this, but the volume of this is... something else.
28
12
86
@RickStrahl
Rick Strahl
5 years
Yay! Finally cracked an annoying bug in Markdown Monster's preview sync that caused unpredictable jumpiness at the beginning/end of a doc. Been trying to find the issue for over a year & finally managed to pin it down & fix it. What was it? Misplaced if/else bracket. 2 chars.
8
2
84
@RickStrahl
Rick Strahl
6 years
After going through a big server re-install of a 10 year old server with lots of legacy stuff on it, a couple of big things stick in my mind: * Chocolatey is awesome! * LetsEncrypt is awesome * SQL Server setup still sucks
11
15
81
@RickStrahl
Rick Strahl
1 year
Some of the code completions in #VisualStudio are freaking uncanny. Apparently code deduced this from the previous block's behavior which is exactly what I was about to type. Not sure if it's IntelliCode or GitHub CoPilot? Definitely useful to save keystrokes.
Tweet media one
21
11
83
@RickStrahl
Rick Strahl
4 years
Another notable thing: ugprading for once has literally been simply updating the target framework version. I'm on my 4th component project update and **I didn't have to change any code** beyond ripping out some conditional 2.x fixups I'm retiring. That's gotta be a first! Nice!
7
7
82
@RickStrahl
Rick Strahl
2 years
I love @linqpad for creating small reusable scripts, like this JSON map to TypeScript class converter. I have lots of little snippets like this for various utilities and conversions squirrelled away to help with day to day stuff.
Tweet media one
7
10
85
@RickStrahl
Rick Strahl
2 years
Welcome to Blazor - now go home! Seriously? Component error - no inidication which, not a single line of that red screen points at user code or components.
Tweet media one
23
5
76
@RickStrahl
Rick Strahl
3 years
I have given the #dotnet and #aspnet teams a lot of shit in the past for moving things around way more than necessary w new releases. Credit where credit is due: v5 and v6 releases have done a great job at providing new functionality & keeping major changes to a minimum. Kudos!
8
6
79
@RickStrahl
Rick Strahl
3 years
Whoa here's a pattern I haven't seen before. `and`? Is C# trying to be VB? ๐Ÿ˜‚ I guess I've not been paying attention but that looks useful. Thanks #ReSharper .
Tweet media one
12
5
71
@RickStrahl
Rick Strahl
11 months
Another interesting .NET 8 bit: Updated my standalone LiveReloadServer to .NET 8 and again was blown away by the difference in startup speed. Here again Runtime RazorCompilation is enabled & startup time is down to a couple of secs from what was 15-20.
Tweet media one
5
6
76
@RickStrahl
Rick Strahl
3 years
Visual Studio @code continues to impress me with their effective use of UI. There are so many nice ways in how it represents settings, list selections, navigation etc. that are all fairly non-standard, yet still so intuitive. My hat's off to the UI people involved in @code .
3
5
74
@RickStrahl
Rick Strahl
4 years
Blogged: Using .NET Core Tools to Create Reusable and Shareable Tools. #aspnetcore #dotnetcore
Tweet media one
2
23
71
@RickStrahl
Rick Strahl
3 years
Well, this is nice. #Windows11
Tweet media one
1
9
72
@RickStrahl
Rick Strahl
3 years
Found a cool photo of me in the batch of record label paraphernalia that arrived last week. Looks like the Rock on Broadway in San Francisco circa 1986-87โ€ฆ Flying highโ€ฆ
Tweet media one
7
2
74
@RickStrahl
Rick Strahl
2 years
Hmmm... interesting #dotnet Decimal behavior of `ToString()` depending on whether the number actually specifies even .00 fraction.
Tweet media one
13
5
75
@RickStrahl
Rick Strahl
3 years
So this is the first time in a loooong time I've built a server side UI front end for an Admin service with Razor Pages. It did not suck, in fact it was rather enjoyable not tangling with all the client side bullshit for a change. Nice and simple.
5
2
68
@RickStrahl
Rick Strahl
5 years
Blogged: Building a Live Reload Middleware Component for ASPNET Core #aspnetcore #html
3
30
73
@RickStrahl
Rick Strahl
7 years
I'm happy to see that Visual Studio 15.5 finally makes .NET Core development bearable. Compile run cycle perf is getting close to full framework and Intellisense and Error dialogs don't get out of sync any more. Kudos for the many very recent improvements #VisualStudio
2
12
65
@RickStrahl
Rick Strahl
6 years
So I guess we live in a world of $1000 premium phones now. Welcome to the boiling frog syndrome and buyer conditioning. Is it worth it? I doubt it especially compared to phones 2 gens older that have roughly the same feature set and only moderately worse perf.
20
7
59
@RickStrahl
Rick Strahl
5 years
Always surprised how few people use the context menu key in Windows. Itโ€™s a great way to avoid having to take your hand off the keyboard for context menu actions.
Tweet media one
19
7
62
@RickStrahl
Rick Strahl
4 years
Watching people code on twitch is like watching grass grow. How did this become a thing? It's bad enough being forced to watching video produced tutorials, but random coding like this is like reading a boring, meandering book.
16
5
68
@RickStrahl
Rick Strahl
6 years
Hmmm... did not know about 'discards' in C#: Apparently you can create a variable called _ that is effectively a null op that allows you to assign a variable to satisfy the compiler. Useful for async methods where you want to fire and forget.
Tweet media one
6
22
59
@RickStrahl
Rick Strahl
2 years
Home made pizza carnage!!! First attempt at making pizza dough and sauce form scratch. We may never go out to eat pizza again!
Tweet media one
12
0
66
@RickStrahl
Rick Strahl
3 years
Three problems I come up against frequently that are a pain in the ass in .NET: * Deep cloning objects * Diffing two objects * Serializing data into existing objects Yeah you can do this with one-of code, but sure would be nice if there were generic solutions for this.
10
1
63
@RickStrahl
Rick Strahl
8 years
Blogged: Exploring .NET Core and Core #aspnetcore
Tweet media one
3
32
66
@RickStrahl
Rick Strahl
5 years
Kava and Sylvia going for an evening ride... #kava #maui
5
1
61
@RickStrahl
Rick Strahl
7 years
Blogged: Multi-Targeting and Porting a .NET Library to .NET Core 2.0
Tweet media one
2
33
62
@RickStrahl
Rick Strahl
5 years
Been using ScreenToGif almost daily for a long time and it's awesome. Very clean, simple and straight to the point it produces clean and reasonably sized animated gifs, apng or video. If you haven't, check it out at:
Tweet media one
5
12
61
@RickStrahl
Rick Strahl
6 years
This is my idea of lake side dining! Bonus poi was s for fondue for full alpine effect.
Tweet media one
Tweet media two
Tweet media three
2
0
61
@RickStrahl
Rick Strahl
5 years
Need a standalone local Web Server for testing local Web sites? Built-in live reload and lots of useful features for running local Web content. Cross plat plus basic Razor support. Point at folder & go. #dotnetcore
Tweet media one
3
11
63
@RickStrahl
Rick Strahl
3 years
I don't mind writing documentation. In fact, kinda enjoy it, especially now with Markdown and easy cross-linking, embedding etc. But you know what I HATE: Doing a major update of documentation. Figuring out what needs to change, what stays. This never has an easy solution,
11
1
53
@RickStrahl
Rick Strahl
2 years
Just another day at the office... Thought I'd post a short video to convey the frantic speed of tooling around on the river in 40mph winds. This is from Friday. Sylvia making a guest appearance towards the end as I cut just behind her ๐Ÿ˜‚
7
1
61
@RickStrahl
Rick Strahl
4 years
@alidenizd @codinghorror He did say โ€˜applicationโ€™ - I donโ€™t think OS qualifies.
2
0
54
@RickStrahl
Rick Strahl
6 years
It's sad that Microsoft missed the boat on Windows package managers so badly and on top of it shows no love for @chocolateynuget which basically filled that void. OneGet? Who even knows what that is. The Windows Store is disaster for both users and especially for Publishers.
4
7
56
@RickStrahl
Rick Strahl
3 years
Visual Interdev came up in a discussion about old-time development tools today. Visual InterDev? Who the heck came up with that name? And who in marketing thought that was a good idea as a name to put on a product? Well it didn't last long...
Tweet media one
26
2
57
@RickStrahl
Rick Strahl
6 years
Am I the only one who feels like soon we won't have any decent desktop OS's left? It's all been going downhill for so long. Apple wants to build iOS on the desktop, Microsoft has tried for 5 years with UWP which is going nowhere. Linux desktop is a multi-verse of broken dreams.
15
8
51
@RickStrahl
Rick Strahl
8 years
My Core Article made the cover of CODE Magazine: Getting down to Business with #AspnetCore
Tweet media one
3
18
57
@RickStrahl
Rick Strahl
3 years
@ZubyMusic Selfish no longer means what it means...
4
0
49
@RickStrahl
Rick Strahl
5 years
Fire...
3
0
53
@RickStrahl
Rick Strahl
1 year
Well, let's give 'er a go! #dotnet8 First upgrade impressions: * Upgrade no errors - compiled as is * A few new warnings (fixed) * Tests - no failures * App runs w/o errors * Perceived perf seems slightly snappier ๐Ÿ‘
Tweet media one
2
5
60
@RickStrahl
Rick Strahl
7 years
About time :-) Configuration is one of the most low level features of any app that has to be available EVERYWHERE.
Tweet media one
1
23
48
@RickStrahl
Rick Strahl
4 years
Somebody doesnโ€™t want to go home after the evening surf session... #kava
Tweet media one
1
0
54
@RickStrahl
Rick Strahl
7 years
Another blazing sunset surf session tonight. The sky was on fire ๐Ÿ”ฅ #nofilter
Tweet media one
1
1
55
@RickStrahl
Rick Strahl
5 years
Really liking this little NUC. It's tiny (about size of my open hand) is quiet and with its i5 4 core/8 thread processor very fast. Running my Ubuntu box on this and it's perfect for that. Got the bare bones one...
Tweet media one
10
4
49
@RickStrahl
Rick Strahl
3 years
Don't do stupid shit with async #csharp Edition of the Day.
Tweet media one
5
2
52
@RickStrahl
Rick Strahl
8 years
My #aspnetcore Album Viewer sample application is now updated to .NET Core 1.1.1 and Angular 2.4.
Tweet media one
3
13
50
@RickStrahl
Rick Strahl
8 years
Blogged: Introducing Markdown Monster 1.0 - a new Markdown Editor
Tweet media one
6
33
51
@RickStrahl
Rick Strahl
11 months
Aaand... I'm back to this bullshit with the MAUI Blazor bits, after it was working a few days ago. I guess the VS update blew away something that was supposed to be here? Doesn't run out of box. Error is not findable. Message is ambiguous as fuck. Kinda sad. Done with it!
Tweet media one
20
3
54
@RickStrahl
Rick Strahl
6 years
Blogged: Web Code is a solved Problem: How about fixing Web UI next? #webdev #PWA
Tweet media one
6
30
49
@RickStrahl
Rick Strahl
6 years
Looks like the #aspnetcore 2.2 default configuration adds console logging *by default* even in Production mode. This seems like a terrible choice given how slow the logger is due to synchronized console access (on Windows). How slow? Diff between 1k req/sec vs 40k+.
6
12
44
@RickStrahl
Rick Strahl
3 years
This is why I blog: Today I had to remember how to create a new `dotnet new` template. Done it before a few times but forgot. Remembered my post and project I used it for, and up and running in a few. The CLI commands were what saved me today. #dotnet
3
5
51
@RickStrahl
Rick Strahl
6 years
Spent some time over the weekend updating my AlbumViewer Sample #aspnetcore / #angular app: * .NET Core 2.2 * Angular 7.2 * Bootstrap 4 * ng-bootstrap Lot of stuff required to update after letting it sit idle for a little over a half a year.
Tweet media one
4
9
44
@RickStrahl
Rick Strahl
3 years
Markdown Monster 2.0 is here. After a long road the new version updates several key internal features: * Chromium HTML rendering * Better large doc perf * 64 bit app * Improved Table Editor * Track Active Document * & many more Check it out! #markdown
Tweet media one
2
11
50
@RickStrahl
Rick Strahl
8 years
I feel like I'm drowning in technology. Can't keep up with the changes. Lots of cool ideas but all seems half baked. Nothing release grade.
14
10
43
@RickStrahl
Rick Strahl
10 years
One of the best explanations I've seen of Async task usage in http://t.co/Ogdz1LbBER: http://t.co/gmvRL2lqdt. #ASPNET #async
0
22
50
@RickStrahl
Rick Strahl
6 years
It's the end of the year and I'm making my end of year $ contributions to the OSS projects I use the most. Here are a few I contributed to recently: * LetsEncrypt * MahApps * MarkDig * TortoiseGit * Paint .NET (not oss but...) What are you supporting this year?
7
8
45
@RickStrahl
Rick Strahl
4 years
I think this summarizes my childhood!
Tweet media one
2
4
48
@RickStrahl
Rick Strahl
2 years
I spent the better part of the last month updating my internal order processing and online store app from an ancient WebForms application to #dotnetcore . Huge relief to finally leave this app behind. Process of building new set of apps was a joy using server side #aspdotnetcore
4
3
45
@RickStrahl
Rick Strahl
5 years
Unpopular view: Please tell me again how #regions are evil. This ReSharper File Structure view makes my life a lot easier. With the *right tooling* regions can be very useful. Too bad most tooling (ie. VS) don't take advantage of it and use terrible defaults (ie. auto-collapse)
Tweet media one
16
3
42
@RickStrahl
Rick Strahl
3 years
Why in the heck does Visual Studio default to launching IIS Express for aspnetcore applications instead of the raw server app? At this point it makes no sense having to tangle with IIS Express?
6
3
44
@RickStrahl
Rick Strahl
2 years
Am I the only one that didn't know that you can't save a decimal with an HTML <input type=number /> unless you use `step=any`? If I don't use it and use a decimal, forms silently fail to submit. I guess I've stuck mostly to type=text in the past and missed this.
Tweet media one
11
1
46
@RickStrahl
Rick Strahl
1 year
Blogged: Implementing Two-Factor Auth using an Authenticator app in #AspNetCore
1
15
49
@RickStrahl
Rick Strahl
6 years
Blogged: Web Assembly and Blazor: Re-assembling the Web #webassembly #blazor
Tweet media one
2
35
45
@RickStrahl
Rick Strahl
5 years
I feel silly that I didn't know that `string` has an overloaded constructor to replicate a character n number of times. Works only with a single char, but still useful at times. I can't remember the last time I used a string constructor explicitly - that might be why ๐Ÿ˜€
Tweet media one
7
5
46
@RickStrahl
Rick Strahl
12 years
Blogged: Using http://t.co/jYNqsFPF for dynamic JSON parsing http://t.co/jV1TMqXB.
1
29
42
@RickStrahl
Rick Strahl
2 years
Glad to see Shadow Copying for IIS got moved to official support in #aspnetcore in 7.0. Updated my recent post w/ the changed, non-experimental config settings. Since I still publish to IIS for all internal apps this feature has been a lifesaver.
5
11
48
@RickStrahl
Rick Strahl
3 years
So... hot reload is pretty awesome when it works especially in non-Web apps. Surprised to see hot reload from Visual Studio works in NetFX app - I can run Markdown Monster making XAML and code changes and for most things it just works! I was skeptical, but... awesome!
6
3
45
@RickStrahl
Rick Strahl
10 months
Blogged: Integrating OpenAI image generation into a .NET Application #dotnet Link:
Tweet media one
3
11
47
@RickStrahl
Rick Strahl
1 year
Hey @goPro : You never actually paid out any money to my account for this picture of the day. Account was always set up for payment, and your support send me to the circular queue. Not a good look, eh? Can we get this resolved?
@GoPro
GoPro
1 year
Photo of the Day: Powered by nature ๐ŸŒฌ๏ธ This custom harness mount perspective scored Rick Strahl a $250 GoPro Award. #GoPro #GoProSurf #Windsurfing #Hawaii #Maui #Windsurf
Tweet media one
6
13
204
4
1
47
@RickStrahl
Rick Strahl
9 years
Blogged: Microsoft renames 5 to Core 1.0 #aspnetcore
2
43
43