Skip to main content

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.

blazor-webassembly
1 vote
1 answer
32 views

EF Core 8: how to assign existing entity references to deserialized list

I'm building a Blazor Wasm web app with ASP.NET Core 8 and EF Core 8. I have the following setup: public class EventRole { // Composite key public long EventId { get; set; } public string ...
Apahdos's user avatar
  • 117
-1 votes
0 answers
15 views

What is the default ASP.NET http/https launch profiles (launchSettings.json) server and how do I configure it?

For the last few years, the default launch profile for ASP.NET Core projects are http or https (beside IIS Express). I can't find any info on what exactly is launched (is it Kestrel?) or how do I ...
Luke Vo's user avatar
  • 19.8k
0 votes
0 answers
13 views

how to give back camera access in blazor webassembly

I Developed web application using blazor web assembly, asp.net core, and JavaScript functions, as of now I gave front camera access , now I want to give a back camera access also. Steps along with ...
Aditi Jaiswal's user avatar
0 votes
0 answers
12 views

Improving Polyline Accuracy and Display in Blazor WebAssembly with Leaflet.js Using MAUI-Captured Data

I'm developing a user tracking application using MAUI for capturing latitude and longitude data. This data is then displayed as a polyline using Leaflet.js in a Blazor WebAssembly application. However,...
Selva K's user avatar
0 votes
1 answer
34 views

Cannot add Blazor Web Assembly project to ASP.NET Core 6 application

I need to add Blazor Web Assembly project to an ASP.NET Core 6 application. I did as described in this article How to integrate Blazor application Removed builder.RootComponents.Add<App>("#...
max's user avatar
  • 35
0 votes
1 answer
28 views

How to run multiple ASP.NET Core projects at the same time in VS Code?

I have 2 types of .NET projects, 1st is ASP.NET Core Web API (for backend) and the second is a Blazor WASM (for frontend). Is it possible to configure these two projects to run at the same time using ...
F_Kamolov's user avatar
0 votes
0 answers
23 views

Blazor Web App (.Net 8.0 - Visual Studio Template): Passing registered services from Server project to client project? How is it supposed to work?

Chapter: Starting point So I am completly new to Blazor and/or Razor and the whole question might be completly obsolete as I might just miss a certain fact to fully understand the concept of the "...
rekcul's user avatar
  • 329
0 votes
1 answer
22 views

Blazor Standalone App doesn't save HTTP request cookies

I got a .NET 8 Blazor WebAssembly Standalone App that talks to a .NET 8 ASP.NET Core Web API. When an API endpoint adds a cookie to the response, there is no Set-Cookie header in the Blazor App ...
Manuel's user avatar
  • 43
1 vote
1 answer
34 views

Blazor WASM and EntraID authentication

I'm learning Blazor and trying to interact with Azure EntraID to protect some pages. At this point was able to achieve that. My question is related to "@context.User.Identity?.Name"... As I'...
Fernando's user avatar
0 votes
0 answers
48 views

Issue with authentication in Blazor

I am working with Blazor authentication. I have implemented a way to authenticate a user through an API controller that signs in the user and returns the current state of the user with http requests. ...
Lemon Grab's user avatar
0 votes
0 answers
28 views

Containerize a .Net Webassembly Standalone app

I have created 3 projects in the same solution using .Net 8 under the traditional "Core Hosted" structure. Solution Client Server Shared Will I be able to containerize these projects all ...
Darkmatter5's user avatar
  • 1,219
2 votes
1 answer
44 views

Am I missing an import for ActivatorContent in Blazor (hosted WASM using .NET 6)?

I'm currently working on a self-study project that uses Blazor, and I'm trying to create a page for image uploads (code shown below): @page "/images/add" <h3>Add Image</h3> <...
Matt Rogan's user avatar
-1 votes
1 answer
25 views

Demonstration on lax and strict

Can anyone please provide A demonstration of how lax and strict (SameState) are implemented in Blazor application using Blazor web assembly and web app. How can we transfer and access cookie from one ...
Sharanya Bajpai's user avatar
0 votes
1 answer
51 views

MudBlazor 7 issue with MudTreeView (

I recently upgraded to MudBazor v7 and have been working through the compilation issues. This one's foxed me and I'm not sure how to fix. <MudTreeView Items="TreeItems" MultiSelection=&...
DrGriff's user avatar
  • 4,766
0 votes
0 answers
45 views

Limit users allowed with Entra and Accounts in any organizational account and personal Microsoft accounts

I have a web app where I want to allow members of my club to access the site but I don't want to be handling passwords / authorization, so I want to use Entra for auth. I've registered the app in my ...
Mog0's user avatar
  • 1,971

15 30 50 per page
1
2 3 4 5
263