Khalid Abuhakmeh
Khalid Abuhakmeh
Honestly, I forget why I wrote this in the first place. 😅 I'll have to try it again or find the sample somewhere. Please hold as I try this in...
OK, I remember now. I created a sample that shows it working. It's actually a good idea! (I have a couple of those a year). I hope this helps @kfrancis....
Are you attempting colocation at a top level Razor element (View, Razor Page Razor component)? This will not work with partials.
I'm not sure what to tell you at this point, without seeing your solution :(
Well... damn. Sorry folks. Thanks, @AlexZeitler, for catching that.
I've updated the code above for brave souls who don't read below the big fancy code blocks.
 This might be a quirk of Razor and `null` values (null values are not rendered on elements). Setting an `hx-` element to an empty string defaults the...
I would recommend `OutputCache` only be applied on non-mutating HTTP methods like `GET` which also don't require anti-forgery tokens. For mutating endpoints/functions (`POST`, `PUT`, and `DELETE`), folks should rely on...