All Questions
Tagged with webassembly blazor-webassembly
119
questions
-1
votes
0
answers
34
views
C# Webassambly with Angular 16
I created a project using C# where I used the following settings:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<...
0
votes
1
answer
44
views
How to bind event in MarkupString
@if(!string.IsNullOrEmpty(_markup))
{
@((MarkupString)_markup)
}
@code {
public string _markup = "<ul><li class='li-a'>A</li><li class='li-a'>B</li></ul&...
0
votes
1
answer
102
views
Multiple errors while building WebAssembly project
I am trying to build simple webassembly app that consumes a JS object reference (of type emscripten::val or emscripten::EM_VAL).
The code:
#include <emscripten.h>
#include <emscripten/bind.h&...
0
votes
1
answer
88
views
DxGridCommandColumn elements visibility handled programmatically in DxGrid
I'm using the DxGrid component for a razor page in a Blazor Webassembly project.
Having the following declaration in the DxGrid component:
<Columns>
<...
1
vote
0
answers
104
views
Consume IAsyncEnumerable in client-side Blazor / streaming
Is it possible to consume an endpoint that returns IAsyncEnumerable<T> via API from a client side (WASM) Blazor application as a stream of data? I'm trying to so using HttpClient....
0
votes
0
answers
62
views
Workload ID wasm-tools isn't supported on this platform
I'm attempting to install wasm-tools on my Windows 11 Pro development machine. I have VS 2022 installed with the latest updates as well as .NET 8.0.100. No matter what I do, I cannot get these tools ...
1
vote
0
answers
53
views
Blazor Wasm Multiple Openid Providers
I am working with multiple authentication providers like Google and Microsoft and I need to implement a login with both Google and Microsoft with two buttons in the UI. I have previously logged into ...
1
vote
0
answers
34
views
Can blazor webassembly use a 3rd party wasm file
I have a simple blazor project, basically using the default template in VS2022. Outside of that I have created a simple wasm file with a cpp function that just adds two numbers together.
int ...
-1
votes
1
answer
190
views
Pass .NET objects to JS wasm
I want to write code like this and be able to read the properties of the object in JS:
[JSExport]
[return: JSMarshalAs<JSType.Any>]
internal static IEntry GetEntry(string id)
{
return _api....
1
vote
0
answers
99
views
Blazor - Resolve WASM inital load status code 429 when downloading DLL's
I have a .NET7 Blazor Web Assembly, Azure Web App deployed and I have encountered an issue on the inital load to do with the DLL's required by WASM.
These console errors show the SHA integrity check ...
0
votes
0
answers
571
views
Blazor: Uncaught RuntimeError: table index is out of bounds and memory access out of bounds
I'm using Blazor (WASM, MVC Hosted) for a web application and I'm seeing this error pop up. It can be reproduced reliably by following a set of actions in the app but I am unable to determine what is ...
2
votes
1
answer
419
views
How to create an API inside a Blazor Server project
I developed a Blazor server application where users can read/write to underlying database with EFcore.
Now I also developed an Android application, that should also have access to this database.
So I ...
1
vote
1
answer
331
views
Blazor Validation Error messages and borders show in Black instead of Red
I have a Blazor WASM project with simple form input. Validation works but the errors show in Black instead of Red.
The errors render black (https://i.sstatic.net/q0CpC.png)
Here is the html of the ...
0
votes
0
answers
164
views
Blazor WASM OIDC authentication issues with Google Identity Provider
I am trying to set up SSO login/logout for a Blazor WebAssembly app (.NET 7).
For the Google Identity Provider (IP):
I have set up a new app in Google Cloud APIs, and I'm using the MS example from ...
0
votes
2
answers
387
views
Blazor InputDate not updating UI upon force change
I'm using the built in ASPNETCORE.Component.Forms InputDate but when selecting a date it does not override the UI when assigning another value it's always the selectedDate.
<InputDate ...