...

How to call JavaScript from blazor

Blazor is a client-side UI framework for creating rich reusable UI with C#. This means it allows developers to create UI (SPAs) similar to popular JavaScript frameworks such as React, Angular and Vue. Since the release of Blazor in May 2019, it has been exciting and fun for dotnet web developers as they found a way to break from JavaScript probably because of its weakly-typed system and the syntactic-sugar of C# cannot be seen in JavaScript. Blazor supports calling JavaScript and vice-versa. Even though Blazor can work independently of JavaScript, there are still many great libraries written in JavaScript which are not yet available in Blazor.


In this blog post, I will show how to do JavaScript interop in Blazor and vice-versa. 

Post Comments(0)

No comments yet

Login to add comment