Questions tagged [blazor-webassembly]

There are two hosting models for Blazor apps: server-side (often pre-rendered) and client-side (WebAssembly). Because of the different hosting environments, something what may work on the client-side might not on the server-side, and vice versa. Use this tag for questions specific to client-side hosted Blazor apps.

1093 questions
-1
votes
1 answer

Where to add NuGet packages in ASP.NET Core 5 Blazor web-assembly?

I am using .NET 5 SDK version 5.0.100-rc.2.20479.15, Microsoft Visual Studio Community 2019 Preview - Version 16.8.0 Preview 5.0 . I create solutions ASP.NET Core 5 Blazor web-assembly (options: Authentication/Authorization, Progress web-app). Where…
Do Nhu Vy
  • 33,131
  • 37
  • 143
  • 202
-1
votes
2 answers

Theme scripts run before DOM is ready in Blazor Webassembly

I have the following code Loading...
pantonis
  • 3,471
  • 3
  • 39
  • 69
-1
votes
1 answer

Client-side Blazor hosted in Docker fail while IL linking

I tried to build a Docker image from my client-side Blazor app. The app gets served by the ASP.NET Core WebAPI project. For this purpose I let VS generate the appropriate Dockerfile. FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS…
-1
votes
1 answer

Blazor Input File Component (physical path)

I want to get the physical file path. I tried a few options. I need to get the physical path to pass it to another API in windows service on the same machine. is it possible or not?
-1
votes
2 answers

Base Url Issue when accessing png image from a URL

I am using a Blazor web assembly with ASP.NET Core hosted. I have set Base URL to "/" I want to convert the image from a URL to byte array So I am using below code to convert string imageUrl =…
Sagar Vaja
  • 109
  • 3
-1
votes
1 answer

Supporting Native OS APIs from Blazor WebAssembly

I have an IPP/CUPS library that allows local printing, can i integrate same library from Blazor Web Assembly running in a browser sandbox on Windows? In Chrome or Chromebook, it has been supported using Browser extension. Any feedback is…
Snekithan
  • 258
  • 2
  • 9
-2
votes
0 answers

Blazor WASM IdentityServer4 Localhost CORS error

I currently work on a Blazor WASM Project (.NET 5) and I've also created a Duende Identity Server project for authentication/authorization purposes. (The Blazor App is configured as a new client on the Identity Server.) When my Blazor WASM App tries…
-2
votes
1 answer

Blazor WASM: Secure a video stream - controller only accessible for authorized users

Info: I'm using the default Visual Studio (16.10.0 Preview 1.0) ASP.NET hosted Blazor WASM template with IdentityServer4 individual accounts.(ASP.NET Core 6 Preview 1) I'd like the video stream only to be accessible by authorized users but…
Jaap
  • 315
  • 4
  • 11
-2
votes
1 answer

Asp.net Core authorization fails only for xamarin forms application

I' developed a simple app to pratice. The combination is ASP.NET CORE with JWT Token. On my asp.net core 3.1 server, I have this DI code: services.AddAuthentication(options => { options.DefaultAuthenticateScheme =…
-3
votes
0 answers

Mat Blazor Color Dropdown

I have requirement to show matblazor color dropdown to select color from dropdown like below screenshot. How I can achieve this please help.
vishu minhas
  • 1,552
  • 1
  • 17
  • 30
-5
votes
2 answers

How to get int value from ASP.NET Core WebAPI?

I am using ASP.NET Core Blazor WebAssembly, .NET 5.0.1 , Entity Framework Core 5.0.1, Microsoft SQL Server, DevExpress Blazor WebAssembly 20.2.4 . At Server project (ASP.NET Core Web API with Identity Server 4) using acc.Server.Models; using…
Do Nhu Vy
  • 33,131
  • 37
  • 143
  • 202
1 2 3
72
73