Im really excited at what WebAssembly can bring to us web UI developers. Now correct me if im wrong, but a web assembly / blazor project can easily and happily coexist with javascript. The script might handle all the http web requests and various cli...
I'm trying to understand the point of WebAssembly from a .NET angle.  From the Blazor FAQ:     Running .NET in the browser is made possible by a relatively new   standardized web technology called WebAssembly.   That's a weird claim.  Obvious...
I need to upload a DICOM image using ASP.Net Core SDK 3.0 preview8 using Blazor Framework.  Is JSInterop needed in this case? How does that helpful in solving the problem?  What are the required steps to follow in this case? A sample code will be use...
I am going to build a Blazor/Razor Components (as of ASP.NET Core 3.0) app and will be using MDL for the UI.  My issue is that MDL's events get overridden by Blazor. What I want to achieve is that the MDL JS events are still fired (in particular...
I'm translating an old JavaScript/JQuery application into Blazor and one of the last things I need to figure out is how to add a select dropdown, with options, dynamically onto the UI.   In the old JavaScript program, I did this by making a "...
Two DIFFERENT Blazor components define the following instance method:  [JSInvokable] public void MyInstanceMethod() { ... }   At load time they call a js function, passing themselves to js:  await JS.InvokeAsync<object>("jsFunction", ne...
I'm a newbie to Blazor (isn't everyone?) and I'm trying to find the best approach for duplicating a JavaScript based click and display UI that I had put together previously.  Abstracting out some redundant elements, the page code looks li...
I have this IIFE attached on window that I plan to use in Blazor server app:  window.__rect = (function (placeHolder) {     function draw(){console.log('Hello world')}     return {          draw: draw     } })($('#div-rect'))   Is the...
I'm working on a Blazor project, where I basically have 3 projects: Client, Server, and Components. Components is an RCL. The structure is similar to the following:  Components (RCL) -- wwwroot/ ---- js/ ------ main.js  Client -- wwwroot/ ---- js...
Hello i am trying to  call a method from a js file from Blazor. My file structure is like this:  -root   -JSInterop.cs   -js(folder)     -meth.js  (file containing the js method)   I keep getting the following error :   Could not find 'methods...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.