Wow, this was a great tutorial! Makes me rethink a lot of what I'm doing with client-side frameworks like React, Angular and Blazor. Sometimes all you need is Razor Pages and a little HTMX!
@bobiyo329 ай бұрын
This is actually a game changer for .net developers considering Blazor or other front end frameworks like Angular for richer interactivity, a TOTAL game changer. Although I am just discovering HTMX I am now struggling to justify why the need to even go the Blazor route at all especially if you already have solid and sound .net core skills, this will save a ton of time. EXCELLENT video well done.
@nark4837 Жыл бұрын
Great stuff! Glad you ended up using Partial views in the end, instead of writing the content string directly in the code-behind file 😃
@RagePower2000 Жыл бұрын
For real
@i_Amazin_5 ай бұрын
In the "State Management" section, you'll notice that he needs to double click the increment button for it to go to 1. This is because count++ doesn't increment the count until AFTER execution. I think if you go ++count, then you'll get the incremented value on first click.
@HamadaSys11 ай бұрын
♥♥♥♥♥ great tutorial and wonderfull video
@shasanji Жыл бұрын
Global cart not get update when you updating from the _product.chtml. what change should i do
@khalid_abuhakmeh Жыл бұрын
I believe I answered your question on Mastodon, but in case you're not that individual. I created this sample to test with the latest version of HTMX and ASP.NET Core. Common issues folks may have include: Ids from the server don't match the frontend and anti-forgery tokens not set on POST requests. Cheers :) github.com/khalidabuhakmeh/HtmxOutOfBandSample
@shasanji Жыл бұрын
Yes you did. Thank you very much for the help and time sepnt on it. Really appreciate
@SajadJalilian Жыл бұрын
I'm really a fan of htmx just like you. I believe any pragmatic developer really appreciate the approach htmx is bringing to mainstream. PS I do hate JS monopoly on frontend.
@ManwithNoName-t1o11 ай бұрын
I hate JS SPA frontends. They are just slow, buggy, POS.
@CodingHaribo Жыл бұрын
I think I'm really gelling wiht this HTMX and SSR approach. I just wish there was a way to write HTML more fluently/idiomatically in the C# code. Anyone shout out if you know something?
@khalid_abuhakmeh Жыл бұрын
There is a NuGet library called HtmlTags which was really great at building up HTML tags with a fluent API. www.nuget.org/packages/HtmlTags Check it out. It's by Jimmy Bogard, Jeremy Miller, and Joshua Flanagan, so its pretty top-notch. :)
@ChrisPepper19897 ай бұрын
I would use partial razor templates and personally I would use the @{} syntax as it's similar to jsx and I just prefer it to the asp tag syntax (even though it's arguably better)
@maiel17492 жыл бұрын
Can I use it with asp net MVC?
@khalid_abuhakmeh2 жыл бұрын
Yes! It works great with any backend that can generate HTML, including ASP.NET MVC.
@maiel17492 жыл бұрын
@@khalid_abuhakmeh ThanQ
@khalid_abuhakmeh2 жыл бұрын
@@maiel1749 If you have any future questions, feel free to reach out here or on Twitter at twitter.com/buhakmeh. I'll be happy to help :)
@Muescha2 жыл бұрын
Ist there only the quality of 360p available? The text is hard to read
@MaartenBalliauw2 жыл бұрын
It seems the HD formats are still being processed by KZbin. They should be available soon.
@khalid_abuhakmeh2 жыл бұрын
Should be available up to 1080p. Please try again.
@Muescha2 жыл бұрын
Now they are available
@Christobanistan Жыл бұрын
Can you PLEASE do these videos in Dark Mode? I am nearly blind due to Diabetes, and light backgrounds are impossible to see for me and millions of programmers like me.
@SpaceGuideHub2 жыл бұрын
Вы берете большие деньги за ваш редактор Intelejji IDIA , не давая обычным пользователям купить недорогую платную версию. Пускай и подпиской на год. Например, чтоб пользоваться плагином ktor, нужно купить професиональную версию и платить большие деньги каждый год. Я хотел изучить ktor, но в нем черт ногу сломает. Теперь учу пайтон чтоб его использовать на сервере...
@yummybunny73512 жыл бұрын
White theme. I'm blind!
@khalid_abuhakmeh2 жыл бұрын
Haha, I know. Light themes are not my favorite themes either but I do it for the masses yearning to learn HTMX. My personal favorite dark themes are Godot, Rider Dark, Monokai. What do you use?
@yummybunny73512 жыл бұрын
@@khalid_abuhakmeh in Rider theme wich called VS Dark. It's a pity that in RIder keywords "for, return, switch,..." are not pink color, like in VS. Its became a huge blue color mess of all keywords
@khalid_abuhakmeh2 жыл бұрын
@@yummybunny7351 You can use the settings to modify the color scheme to your liking. "Color Scheme > General" or "Color Scheme > C#". If you fancy pink, may I suggest lotus theme? It's a wonderful pink pastel color. plugins.jetbrains.com/plugin/14369-lotus-theme
@yummybunny73512 жыл бұрын
@@khalid_abuhakmeh no, i mean that in Visual Studio keywords "public" , private, .." are blue, and "for, return, switch" - pink. Two different color. But in Rider - all them are in same color. If i change that color - they change all it once (does not matter - pink, blue or other color). Cant split them in Rider.
@thehappydaysapp Жыл бұрын
hx-get="@Url.Page("03-Selects", "Foods”)” does not generate tag in the source when i look at it.