1,559 questions with Blazor tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Blazor ErrorContent not catching an error

Hi all; Blazor Interactive Server - in my MainLayout.razor I have: <ErrorBoundary> <ChildContent> <!-- lots of nodes --> </ChildContent> <ErrorContent Context="error"> <main…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-18T17:40:41.16+00:00
David Thielen 3,036 Reputation points
commented 2024-09-19T20:42:51.5033333+00:00
David Thielen 3,036 Reputation points
1 answer

Scale out Blazor Server App using Azure cache Redis as backplane

I am current hosting Blazor server app in Azure App Service. I found an issue when my application scale out. So i change to use Azure cache Redis for SignalR backplane. I also enable session affinity with my App Service configuration. Most of the time I…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
250 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
asked 2024-09-18T10:05:25.38+00:00
Kevin Seng 0 Reputation points
commented 2024-09-19T14:33:53.41+00:00
Sai Raghunadh M 150 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Authenticate my own Blazor App with against my SSO-REST Backend

Hi, regarding to this blog https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/ I've successfully created a REST-API with Identity and SSO. But now I need my Blazor frontend to authenticate against this rest service. The blog…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
331 questions
asked 2024-09-13T08:27:44.94+00:00
Clemens Mattner 20 Reputation points
commented 2024-09-18T12:01:29.92+00:00
Clemens Mattner 20 Reputation points
1 answer

Each time I click submit order, I get the error "An unhandled exception has occurred. See browser dev tools for details. Reload"

I am following this Microsoft Learn doc to build a pizza shop and started noticing this error after following this doc…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-11T02:55:30.19+00:00
Kevin Ear 20 Reputation points Microsoft Employee
commented 2024-09-18T01:10:54.4633333+00:00
JasonPan - MSFT 5,456 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why am I getting this Content Policy error?

Hi all; I have added the following to my Blazor Interactive Server app using NWebSec: app.UseHsts(options => options.MaxAge(days: 30)); app.UseXContentTypeOptions(); app.UseXXssProtection(options =>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
703 questions
asked 2024-09-15T14:37:02.18+00:00
David Thielen 3,036 Reputation points
commented 2024-09-17T15:22:16.62+00:00
David Thielen 3,036 Reputation points
1 answer One of the answers was accepted by the question author.

I want to put the comment for every picture.Maybe can use component Input or other.Can show for me in code.

@page "/" @using Microsoft.EntityFrameworkCore @inject ICommentService CommentService @rendermode @(new InteractiveServerRenderMode(prerender: false)) <h1 style="color: blue;">Letak Product Anda</h1> <p>…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-01T08:40:51.49+00:00
MIPAKTEH_1 365 Reputation points
accepted 2024-09-17T11:36:52.4033333+00:00
MIPAKTEH_1 365 Reputation points
16 answers One of the answers was accepted by the question author.

How to save the Comment and where to place, example some directory

@page "/PageBu" @rendermode InteractiveServer <h3>PageBu</h3> <h1 style="color: blue;">Letak Product Anda</h1> <p> </p> @for (int i = 0; i < images.Count; ++i) { string tempImageName =…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-08-17T11:08:23.0466667+00:00
MIPAKTEH_1 365 Reputation points
accepted 2024-09-17T11:09:13.3766667+00:00
MIPAKTEH_1 365 Reputation points
1 answer One of the answers was accepted by the question author.

I try to put some comment for every Images.test to use input or maybe other component.All comments want to save it.II very newest , need help, the error at design time at line CommentService.AddCommentAsync(comment);

@page "/" @using Microsoft.EntityFrameworkCore @inject ICommentService CommentService @rendermode @(new InteractiveServerRenderMode(prerender: false)) <h1 style="color: blue;">Letak Product Anda</h1> <p>…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-01T08:31:40.9566667+00:00
MIPAKTEH_1 365 Reputation points
commented 2024-09-17T11:08:07.3633333+00:00
MIPAKTEH_1 365 Reputation points
0 answers

How can I create an Alert that views my ILogger file?

Hi all; In Blazor we log to Microsoft.Extensions.Logging.ILogger logs. I want to get an alert when there is a log entry that matches the regex ^Error ##.##.##.* (used ## for 2 digits). There are alerts that can read Log Analytics. But is there a way to…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,212 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-16T23:04:00.5966667+00:00
David Thielen 3,036 Reputation points
1 answer

How to bypass "Pick an account" popup after Sign out

Hello all, Is there any possibility to bypass the "Pick user popup" after Sign out with Endpoint v2.0 at Azure AD? We need to execute automatic sign out at Blazor app while user is not active, but we got redirect at the popup and the user is…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,450 questions
asked 2023-10-25T08:23:23.9666667+00:00
JT 5 Reputation points
commented 2024-09-16T15:57:51.1333333+00:00
Ryan Buening 0 Reputation points
1 answer

Blazor and SSRS/Report viewer

Hi, We are wondering, if it's possible to use Report Viewer (any Blazor components) or embed SSRS report (no IFrame) in Blazor. Is there such thing out there besides solutions like what Telerik or BoldReports provide? We're looking at a solution with…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,915 questions
asked 2021-07-13T16:49:46.907+00:00
Stéphane Roy 31 Reputation points
commented 2024-09-16T10:59:35.2066667+00:00
Kasim Husaini, FMIS Supervisor 6 Reputation points
1 answer

Bypass the "Pick user popup" after Sign out in a .Net 8 Blazor WASM application

Is it possible to bypass the "Pick user popup" after Sign out with Azure/Entra ID? We need to execute an automatic sign out when the user is not active. The application is a Blazor WASM application. Here is my Program.cs code: using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-02-16T19:04:01.1266667+00:00
Scot Woodyard 20 Reputation points
commented 2024-09-16T02:12:15.6933333+00:00
Yeruva, Vijay RSI 0 Reputation points
1 answer One of the answers was accepted by the question author.

Very simple Blazor calls very simple API web app

Hi all; This is three associated questions. I need to create a simple web app that has a single controller. It is passed 3 parameters and returns an array of strings. What should I create in Visual Studio? I then need to have a simple Blazor server app…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-12T18:05:17.4+00:00
David Thielen 3,036 Reputation points
accepted 2024-09-14T01:14:24.0766667+00:00
David Thielen 3,036 Reputation points
2 answers One of the answers was accepted by the question author.

Blazor WebAssembly Cors Error if status is 401

I have a WebAssembly blazor application and a web service api with a method protected by the [Authorize] tag. If I call the method from PostMan it returns the 401 status correctly but if I call the same method from the Blazor application it goes into an…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2023-02-11T14:44:09.0666667+00:00
Angelo 25 Reputation points
edited a comment 2024-09-12T21:43:20.0633333+00:00
Jorge Balda 0 Reputation points
1 answer One of the answers was accepted by the question author.

How do I conditionally turn off pre-render for 2 Blazor pages

Hi all; I have a Blazor InteractiveServer application using .NET 8. The Google web crawler gets just the static html for a page, not waiting for Blazor to create the SignalR circuit and therefor not waiting for OnInitializeAsync() to read from the DB and…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-08-23T16:42:08.8266667+00:00
David Thielen 3,036 Reputation points
commented 2024-09-12T17:57:38.3733333+00:00
David Thielen 3,036 Reputation points
1 answer

Migrate from Blazor Web Assembly to Blazor Server

I'm building a website with Blazor Web Assembly hosted in ASP.NET Core (NET7). The website is a project for the university that is basically an online magazine. There will be new content and I want to use SEO in order to have visibility in the search…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
asked 2023-10-15T22:40:16.76+00:00
Enrico Rossini 201 Reputation points
answered 2024-09-12T15:37:20.7966667+00:00
Bruce (SqlWork.com) 64,486 Reputation points
1 answer

Range validator in MAUI Blazor

Here is a simple app to Add numbers from 0 to 100 , after which I like to perform some statistical operations. Add Insert works fine , I can restrict only 0 to 100 Delete works fine. When editing it is accepting all numbers , I like to restrict 0 to…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-05T09:48:22.2233333+00:00
Kalyan A 125 Reputation points
commented 2024-09-11T09:54:35.47+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,746 Reputation points Microsoft Vendor
2 answers

When value of textbox is changed Dropdown is not calculating

I created a code so that Area of Square/Equilateral Triangle can be calculated when selecting dropdown. When I change the dropdown value it works but when textbox is changed please suggest on how to call OnValueChanged @page…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-10T11:53:00.46+00:00
Kalyan A 125 Reputation points
answered 2024-09-10T20:56:34.9633333+00:00
Bruce (SqlWork.com) 64,486 Reputation points
2 answers One of the answers was accepted by the question author.

Error RZ10012 when adding a component in blazor

Hello, I'm trying to learn Blazor with a youtube video. I have this page : MainLayout.razor @inherits LayoutComponentBase <div class="page"> <div class="sidebar"> <NavMenu /> </div> …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2023-01-18T12:23:31.0866667+00:00
Laurent Guigon 281 Reputation points
answered 2024-09-10T12:07:34.2133333+00:00
Oliver_P 5 Reputation points
0 answers

Exception when linking to Microsoft Store Purchase API library from Blazor MAUI Windows App

Hi, I am have written multile Microsoft Store Apps in the UWP and WPF frameworks and published them to the Store. These apps all have to and do call the Microsoft Store Purchase API. Now I'm building a Blazor MAUI Store App and have found apps in the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
336 questions
asked 2024-09-06T17:05:40.2066667+00:00
Richard Freytag 56 Reputation points
edited a comment 2024-09-10T11:58:16.1+00:00
Jignesh Desai 101 Reputation points