Category "blazor-server-side"

SEC_ERROR_INADEQUATE_KEY_USAGE on accessing webapp published using Visual Studio

I created a Blazor Server webapp and published it from Visual Studio using right click on the project - publish. I am publishing to a local folder, amongst othe

How to re-render Blazor component when a parameter changes

I have two Blazor component. First component just displays the list of students from a JSON api <select @onchange="selectStudent"> @foreach(var student

Blazor Timer call async API task to update UI

I am setting up a timer in a Blazor server-side page. The goal is to call an API every x seconds and based on the return value, update the UI. I got this code:

How to use impersonation in Blazor Server Side to access a folder on a File Server

In .NET Framework, using this would let me impersonate a user in Active Directory to gain access to a locked down folder on the file server: [DllImport("advapi3

301 Permanent Redirect with Blazor and razor page

I would like to redirect all pages which doesn't match to any pattern to homepage. Structure of the URL makes it possible with catch-all option and I can easily

Making request without refreshing page with blazor

Please i am new to blazor, I am building a pet project and i want to make a call to the server to do so validation if the text entered into an input textbox is

Detecting server pre-rendering in Blazor server app

Is there any way to detect the pre-rendering is going on in a Blazor component from the OnInitializedAsync life cycle method? I know the component workflow woul

How to call a function in a Blazor component from a Razor page

I'm creating a MarkdownEditor component for Blazor based on EasyMDE. The project on GitHub is working apart from the file upload because I can't find a way to r

What is a good strategy to save user premium subscription for a web app with Azure AD B2C as user management system?

I am building a Blazor Server web app that will have locked features only accessible via paid subscription (payment handled with stripe). I am using Azure AD B2

Trying to add image in MudBlazor carousel is not working

I am trying to add an image to the carouselItem of MudBlazor. Its not working correctly taking wrong width and height as well. My code:

How to turn on CircuitOptions.DetailedErrors?

I'm getting this message in the console when running a server-side Blazor app: Error: There was an unhandled exception on the current circuit, so this cir

Suggested architecture for a project with 2 Frontend applications (Blazor Server and Angular) with EFCore, Identity, Mediatr

I am currently working on a school project with a classmate. We've decided on making the classic setup of an Administration-client (Blazor Server) and a Member-

ITrackingConsentFeature not working in production

I have a cookie consent banner in my blazor server app, everything works well when building in debug mode, but when I push it into production I get a "Object re

Blazor-server-side can't see GLTF files

i have my blazor app hosted on azure with iis got some GLTF file i want to access with three.js but its like my app can't see any of my GLTF files. i have added

Add route parameter to Blazor server app's index page

I'm developing a Blazor Server app using .NET 6.0. I would like for the index page to utilize a route parameter: @page "/{vendorId}" @functions { [Paramet

Error: System.Net.Http.HttpRequestException: Response status code does not indicate success: 405 (Method Not Allowed)

I am getting following exception when calling an Asp.NET Core 3.1 web api from a Blazor app. But same code works great from visual studio debugging Response sta

Embedding a Leaflet map on a Blazor SPA

How to Embed a Leaflet map on a Blazor SPA, using JSInterop, what objects should be defined, and how to pass data that represents the location clicked on the ma

Problems using Microsoft Identity Web App and Microsoft.AspNetCore.Identity in the same Web Project

In my currently application I need to use two different authentications: Microsoft.AspNetCore.Identity - with internal Identity tables for Customer users Micros

Why is my Blazor Server App waiting to render until data has been retrieved, even when using async?

I'm building a Blazor Server app using .NET 6. As an example I have a list of customers that I retrieve from a Sqlite db using Entityframework Core. I want to s

Blazor Attempting to reconnect - use web assembly, or...?

I am being plagued with the dreaded "Attempting to reconnect" message. The problem only occurs when the application is published on Azure, never when run locall