Blazor JavaScript Interop (Easy How To)

  Рет қаралды 8,054

Coder Foundry

Coder Foundry

Күн бұрын

Пікірлер: 46
@100kghighkick9
@100kghighkick9 8 ай бұрын
Wow, I started developing 1.5 years ago and guys like you boost my progress so much, thx for your effort.🔥
@CoderFoundry
@CoderFoundry 8 ай бұрын
Great to hear!
@iheanyichukwuaguwa6231
@iheanyichukwuaguwa6231 10 ай бұрын
Thanks for this. Blazor Js interop has always been a bit confusing until this video dropped. Thanks again
@CoderFoundry
@CoderFoundry 10 ай бұрын
Glad to help!
@philmingo
@philmingo 7 ай бұрын
Now this is how you explain stuff !! Thanks much!!
@CoderFoundry
@CoderFoundry 7 ай бұрын
Glad to help!
@stevenvillarreal8970
@stevenvillarreal8970 7 ай бұрын
This is an awesome tutorial! Easy explanation with a great example 🙌!
@CoderFoundry
@CoderFoundry 7 ай бұрын
Glad it was helpful!
@cissemy
@cissemy 10 ай бұрын
Blazor is powerful .
@CoderFoundry
@CoderFoundry 10 ай бұрын
It really is.
@oncalldev
@oncalldev 3 ай бұрын
Very well done.
@mateofernandez273
@mateofernandez273 5 ай бұрын
very good, god gamer. This is the new meta
@10Totti
@10Totti 9 ай бұрын
Best Tutorial thanks!
@CoderFoundry
@CoderFoundry 9 ай бұрын
Glad it helped!
@gilleyt
@gilleyt 2 ай бұрын
Great Video thanks
@CoderFoundry
@CoderFoundry Ай бұрын
Glad you enjoyed it
@pixel7038
@pixel7038 7 ай бұрын
Does Microsoft ever plan on creating a synchronous version using js interop?
@kell7689
@kell7689 4 ай бұрын
I'm having so much trouble exporting a js class. I can import the isolated JS no problem, but it can't find any of the class members...
@zaspalia
@zaspalia 3 ай бұрын
Having the exact same problem right now. The only way I’ve been able to get around it is by creating a separate function that returns an instance of that class and calling it from my razor components. Microsoft also has an example assigning a class with static methods to the window but that doesn’t seem to work for instantiations.
@kell7689
@kell7689 3 ай бұрын
@@zaspalia that is *exactly* how I’ve been working around it. Weird.
@jaxongirrahimov7908
@jaxongirrahimov7908 10 ай бұрын
Do you think building CRM is also as effective as Bug Tracker?
@CoderFoundry
@CoderFoundry 10 ай бұрын
I think it works well
@yogxoth1959
@yogxoth1959 4 ай бұрын
I feel like I've done exactly the same as you, but I'm getting an error in the browser that "'myFunction' was undefined".
@unskeptable
@unskeptable 7 ай бұрын
Can a .net 8 web mvc project with jquery be updated to also use blazor ?
@CoderFoundry
@CoderFoundry 7 ай бұрын
It's a rewrite. The architecture is different.
@codeDotnet
@codeDotnet 10 ай бұрын
Wow ,amaizing ,thank so much
@CoderFoundry
@CoderFoundry 10 ай бұрын
I'm glad it helped.
@codeDotnet
@codeDotnet 10 ай бұрын
@@CoderFoundry Can you give me a website link so I can design icons like yours?
@Cos3D
@Cos3D 7 ай бұрын
is it possible to interop blazor with three js to upload/import a 3d obj file from blender that has animations?
@CoderFoundry
@CoderFoundry 7 ай бұрын
Maybe. I would have to try.
@Glockodile
@Glockodile 7 ай бұрын
Hi, does this also work with blazor server?
@CoderFoundry
@CoderFoundry 7 ай бұрын
It most cases. You cannot modify the dom with js because it clashes with blazor.
@wisnu7734
@wisnu7734 5 ай бұрын
Is it possible to implement this code in blazor ssr ??
@emreaka3965
@emreaka3965 4 ай бұрын
I'll try
@mhsn27mhsn10
@mhsn27mhsn10 7 ай бұрын
thank you
@CoderFoundry
@CoderFoundry 7 ай бұрын
You're welcome
@OrekiBurd
@OrekiBurd 8 ай бұрын
Does it not work with client components? The ones that uses [InteractiveAuto] specifically. It finds the js function from server components but gives an error saying something like "function not defined" when calling from client components that use [InteractiveAuto]
@CoderFoundry
@CoderFoundry 8 ай бұрын
Interactive auto means the component can execute on the server and dom updates via siqnalr. It can also execute via wasm which executes on the client which uses interop.
@olamidejames7968
@olamidejames7968 9 ай бұрын
Hi, thanks for this. However, I find it difficult to work with existing javascript libraries. Do you have a video on how to work with external javascript libraries?
@CoderFoundry
@CoderFoundry 9 ай бұрын
Which one?
@samjohnson5203
@samjohnson5203 8 ай бұрын
Im looking to better understand the same. I'm doing a comparison of charting libraries such as Highcharts and Apache Echarts. There's likely something out there for Blazor already, given the popularity of those libraries. A video on going from JS to an Interop version for Blazor would be neat to see.
@firstlast493
@firstlast493 4 ай бұрын
How to make this app without Javascript?
@shjaaz4139
@shjaaz4139 10 ай бұрын
Hi dear, Can you do portfolio reviews live stream, ve been waiting for so long .. :((
@figloalds
@figloalds 3 ай бұрын
16:50 ah yes Coding in impossible edge caes because "You never know" This is just future proofing. Yes it's objectively impossible right now that that would be null. But what about a few months from now when "John Doe" makes some edits to this code? You literally never know
Building Components With Microsoft Blazor
40:35
Coder Foundry
Рет қаралды 1,3 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 56 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 1,9 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 26 МЛН
JS Interop: Calling JavaScript from C#  | Blazor Tutorial 5
14:46
Nick Chapsas
Рет қаралды 32 М.
How To Handle Permissions Like A Senior Dev
36:39
Web Dev Simplified
Рет қаралды 223 М.
Blazor VS. NextJS Head To Head! Which One Wins?
16:08
Codewrinkles
Рет қаралды 7 М.
C# Interview Questions and Answers Technique
1:00:37
Coder Foundry
Рет қаралды 30 М.
Blazor Basics: JS Interop
21:18
Just Blazor Programming
Рет қаралды 2,4 М.
Blazor Localization in .NET 8 & Blazor Server
13:58
Claudio Bernasconi
Рет қаралды 10 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
What ACTUALLY HAPPENED?! Ethiopian 409: A Plane I’ve Flown!
55:16
Mentour Pilot
Рет қаралды 1 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 56 МЛН