Blazor + JavaScript: The Perfect Pair for Web Development? 💖

preview_player
Показать описание
---
There's this endless debate: should you use Blazor or JavaScript? Well, why not both? In this video, I’ll show you how combining them can give you the best of both worlds.

#DotNet #Blazor #JavaScript
Рекомендации по теме
Комментарии
Автор

Hi Patrick. Try creating some content by taking a 3rd party js ibrary, showing how to use its native interactivity in Static-SSR, then also how to use the same library and make it interactive in server/wasm. Maybe make the end goal of wraping the library to be interactive in all three rendermodes using a single component. To me that would be a more real-world example of combining JS + Blazor

richardaubinDOTcom
Автор

I had a case the other day for using JS in Blazor server, where I wanted to detect when a user was about to close a tab. Wanted to warn them that they might lose data. Couldn’t find a way to do it in Blazor, but could do it with JS. Maybe there is a way. Happy to hear it :)

TomWGiles
Автор

Great video.
I recently purchased a commercial template that uses jQuery plugins, and I've been trying to integrate it into my Blazor WebAssembly project. It's proven to be quite a headache, as there are numerous issues with aligning jQuery events and Blazor events to get the jQuery plugins to work properly. A video tutorial on how to effectively use well-known jQuery plugins like scrollers, carousels, date pickers, and time pickers with Blazor would be incredibly helpful.

Mo-efyt
Автор

All this is pretty Basic straigth from blazer docs. Why don't you import a major JS lib, do you come and then use webpack ... That would be a real world example..

cristovaomorgado
Автор

Hi Sir, I am a beginner in Blazor WebAssembly. I need your help. I want to use Select2 or Chosen for advanced dropdown search functionality. I have successfully imported the JavaScript script, but when I use Select2 or Chosen, the bind-value becomes 0, and my C# functions do not work. How can I fix this?

usmanqader
Автор

How about an idle timer? When there is no keyboard or mouse movement for a period of time, a dialog pops up with a count down and then logs the user out.

paulh
Автор

Security concern, create some content on blazor pages with secure browsing and containerizing it (like MS intune/Lookout/Promon Shield).

Rajeshsingh-wsth
Автор

What JS scenarious you can't realise with pure Blazor? Because clients part of Blazor this is the same JS

HOSTRASOKYRA
Автор

you can actually invoke instance methods with jsinterop, works with wasm and server,
see below:
(yt kills my comment every time so i put it in separate ones...)

SiLeNzSky
Автор

I don’t see any added value to this rather than making things complex.
The only possible usecase in my opinion is using a js library that does something better than c#.
And with all the nugets and resources available, that probably won’t happen

aymaneeljahrani
Автор

Hi Patrick
In my opinion, it would have been better if you had shown this issue using JavaScript DevExtreme widgets. For example, how to interact with data using its DataGrid in a simple CRUD operation to a model in Blazor Auto Render.

Babak_Farhang
welcome to shbcf.ru