1,571 questions with Blazor tags

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

How can I log an error, no matter where it is called from?

Hi; In my MainLayout.razor I have set up: <ErrorBoundary> <ChildContent> <!-- lots of nodes --> </ChildContent> <ErrorContent Context="error"> <main class="page--error"> …

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,571 questions
asked 2024-09-27T16:28:27.32+00:00
David Thielen 3,096 Reputation points
commented 2024-10-01T16:15:45.5766667+00:00
David Thielen 3,096 Reputation points
1 answer

Can't connect to the server (after time goes by)

Hi all; I am finding a lot that if I leave the browser on one of my pages, after a bit of time goes by it dulls the entire page and at the top it says "Can't connect to the server" and gives me a reload link. Am I doing something wrong here? Or…

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,571 questions
asked 2024-09-27T16:22:38.1266667+00:00
David Thielen 3,096 Reputation points
commented 2024-10-01T16:11:57.4766667+00:00
David Thielen 3,096 Reputation points
1 answer

How to add migration to blazor hybrid MAUI?

Hi, I use blazor hybrid to do native app in windows platform. I tried to implement migration to connect the local database. Unfortunately is not possible. I don't want to use sqlite. I would like to know if I have to add class library to add migration…

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,571 questions
asked 2024-09-29T13:32:04.1433333+00:00
sblb 1,191 Reputation points
commented 2024-10-01T09:45:35.1333333+00:00
sblb 1,191 Reputation points
0 answers

Deploy Blazor WebAssembly standalone application to Azure Static Web App via GitHub actions

Hi I tried to deploy blazor application to Azure and get this error Any idea ?

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,571 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
923 questions
asked 2024-09-28T19:21:21.46+00:00
Serge 20 Reputation points
commented 2024-10-01T08:29:52.8+00:00
JasonPan - MSFT 5,466 Reputation points Microsoft Vendor
1 answer

Framework Migration Recommendation for Office Add-ins

Hi Team, I currently have Excel, Word, and PowerPoint add-ins built using pure JavaScript and a .NET Core API for the backend. I’m looking to migrate my add-ins to a framework, and after reading various articles, I’m confused about whether to use React…

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,571 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-30T06:42:22.8866667+00:00
Chetan Kotwal 0 Reputation points
commented 2024-10-01T07:20:19.2333333+00:00
Chetan Kotwal 0 Reputation points
1 answer

I'm having trouble writing the code to downloading the page.

I'm attempting to create a small application that converts image formats to SVG. And bellow comes the code: @page "/" @using System.Drawing @using System.Drawing.Imaging @using System.IO @using System.Threading.Tasks @using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,547 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,571 questions
asked 2024-09-25T11:59:28.83+00:00
Saeed Pooladzadeh 251 Reputation points
commented 2024-10-01T02:00:15.73+00:00
Ping Ni-MSFT 4,335 Reputation points Microsoft Vendor
1 answer

Request for Research Guidance and References

Dear Microsoft Team, I have recently completed an e-commerce project using ASP.NET Core API and Blazor. I am now looking to write a research paper on this topic. Could you please provide me with reference papers or resources that discuss the integration…

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,571 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.
334 questions
asked 2024-09-30T09:28:00.64+00:00
Ahmed Jawad 1 Reputation point
edited an answer 2024-09-30T22:19:19.7933333+00:00
Bruce (SqlWork.com) 64,826 Reputation points
3 answers

Is there a way to minify or bundle or pack blazor wasm js?

Is there a way to minify or bundle or pack blazor wasm js?   For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.    

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,571 questions
asked 2024-04-16T14:41:52.6333333+00:00
RSa 0 Reputation points
answered 2024-09-29T13:04:36.44+00:00
A SIVAGAYATHRI 0 Reputation points
2 answers

Javascript not popping out message box on button click in Blazor 8.0

Test.razor @page "/test" @inject IJSRuntime JsRuntime <h3>Test JavaScript Interop</h3> <button type="button" @onclick="TestJsInterop">Click Me</button> @code { private async Task TestJsInterop() { …

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,571 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-24T21:53:27.6+00:00
ojiraye sigbenu 0 Reputation points
commented 2024-09-28T16:10:24.81+00:00
Bruce (SqlWork.com) 64,826 Reputation points
2 answers

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,571 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
251 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,733 questions
asked 2024-09-18T10:05:25.38+00:00
Kevin Seng 0 Reputation points
commented 2024-09-27T10:03:42.38+00:00
Sai Raghunadh M 310 Reputation points Microsoft Vendor
3 answers

How Redirect To Not Found Without Change Url In Blazor .Net 8

Hi, How to redirect user to not found when page is not exists without change url in blazor ? Like this link : git not found

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,571 questions
asked 2024-01-14T07:12:16.04+00:00
Mahdi Elahi 31 Reputation points
answered 2024-09-26T14:06:41.75+00:00
S Luiten 0 Reputation points
1 answer

Ipublish and installation of MAUI app?

Hi, I'm trying to install the MauiApp1_1.0.1.0_x86_Debug.msix package after publishing Blazor MAUI ; For information, my application is empty. I just want to know how to install a blazor maui before associating a blazor wasm application with it. I run…

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,571 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,464 questions
asked 2024-09-25T12:30:12.65+00:00
sblb 1,191 Reputation points
edited the question 2024-09-26T07:00:26.3433333+00:00
Jerry Fu - MSFT 666 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,547 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,571 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,894 questions
asked 2024-09-15T14:37:02.18+00:00
David Thielen 3,096 Reputation points
edited the question 2024-09-25T19:29:52.3666667+00:00
IoTGirl 3,126 Reputation points Microsoft Employee
2 answers

Blazor Server (.NET 8) authenticated with external REST API

Hello, i'm developing a small web application with Blazor Server (.NET 8) relying on a REST API (.NET Framework 4.8) for authentication and data access. I started developing this project last year, before the release of .NET 8, but i aligned 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,571 questions
asked 2024-09-05T12:56:03.4766667+00:00
John 20 Reputation points
edited the question 2024-09-25T03:09:30.35+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can I convert my Blazor WebAssembly app to a PWA?

I have developed a Blazor WebAssembly ASP.NET hosted app that runs well on my local database. Unfortunately, I cannot publish it because I lack the necessary web server deployment capabilities. Is it possible to convert my app to a PWA so that it can be…

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,571 questions
asked 2024-09-21T08:52:24.9766667+00:00
sblb 1,191 Reputation points
commented 2024-09-23T05:27:49.15+00:00
sblb 1,191 Reputation points
1 answer One of the answers was accepted by the question author.

Radio Button Group in Maui Blazor

The input to this App is Area or Perimeter of a Square and output is Side. Currently the toggle between Area and Perimeter is controlled by Checkbox,I need this in RadioButton, please note that Area or Perimeter needs to be captured on Submit, also 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,571 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,464 questions
asked 2024-09-20T11:06:03.8266667+00:00
Kalyan A 185 Reputation points
accepted 2024-09-21T11:24:12.1466667+00:00
Kalyan A 185 Reputation points
1 answer

Unauthorized access to API despite getting Access Token and Scope

Hi, Token Response: { "access_token":…

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,571 questions
Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
61 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,633 questions
asked 2024-09-20T07:35:32.8866667+00:00
Umais Nisar 0 Reputation points
edited an answer 2024-09-20T19:38:00.6+00:00
Umais Nisar 0 Reputation points
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,571 questions
asked 2024-09-18T17:40:41.16+00:00
David Thielen 3,096 Reputation points
commented 2024-09-19T20:42:51.5033333+00:00
David Thielen 3,096 Reputation points
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,571 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.
334 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,571 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,466 Reputation points Microsoft Vendor