1,656 questions with Blazor tags

Sort by: Updated
1 answer

Multiple App.Razor components

Hello, Is it possible to have an additional App.razor file that I can use for e.g. Admin area only? Currently, if I create a new folder named Admin and create a new layout there, it inherits from the existing App.razor and linked css files. Basically, I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 questions
asked 2025-01-31T08:47:54.43+00:00
Kuler Master 386 Reputation points
edited an answer 2025-01-31T20:53:30.83+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor get absolute URL from within the class

Hello, I have a class inside the Services folder. It contains a LogError(Exception ex) method in which I need the absolute URL in order to get the requested page. However, I am unable to access the HttpContext.Request.Url or any other method/extension…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 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.
369 questions
asked 2025-01-20T13:57:47.14+00:00
Kuler Master 386 Reputation points
accepted 2025-01-31T10:24:06.3333333+00:00
Kuler Master 386 Reputation points
2 answers

Why does my app serve an .mp3 file correctly from localhost, but return a 404 when deployed to Azure?

I've a static web app created using Blazor in Visual Studio 2022. A static audio (.mp3) resource (located at wwwroot/audio/abc.mp3) is recognised and plays when using IIS Express / https localhost, but is not found in the Azure-deployed version. No…

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,656 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,061 questions
asked 2025-01-29T10:10:53.61+00:00
Tim Dale 0 Reputation points
commented 2025-01-31T09:01:25.0933333+00:00
Bhargavi Naragani 235 Reputation points Microsoft Vendor
1 answer

Best practices for implementing Notifications and Streaming (Gen AI-enabled chats) in Blazor Web App

Need some architectural guidance. I am building a B2C solution using Blazor Web App model. The entire stack is C# and runs on Azure. I am just trying to understand some best practices for integrating the following capabilities: Push Notifications…

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
83 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,656 questions
asked 2025-01-11T13:56:34.58+00:00
Manoj Ganapathi 0 Reputation points
commented 2025-01-29T10:41:20.53+00:00
Harshitha Veeramalla 1 Reputation point Microsoft Vendor
0 answers

Adding Blazor Identity to existing Blazer project fails with a 'null path' exception

Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…

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,656 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,399 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 5 Reputation points
commented 2025-01-28T11:31:13.6166667+00:00
kodo65 5 Reputation points
3 answers

Get Absolute URL in Blazor class

Hello, I have a class inside the Services folder. It contains a LogError(Exception ex) method in which I need the absolute URL in order to get the requested page. However, I am unable to access the HttpContext.Request.Url or any other method/extension…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
11,262 questions
asked 2025-01-20T14:00:42.1733333+00:00
Kuler Master 386 Reputation points
answered 2025-01-28T07:35:56.7+00:00
Brando Zhang-MSFT 3,956 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Integrating RDLC reports in Blazor Web apps

Hello, Is it possible to call RDLC reports in a Blazor web app or use report viewer to load RDLC reports? I'm not seeing the reporting options in the latest framework. Could someone please share examples and resources for integrating RDLC reports 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,656 questions
asked 2023-12-25T14:16:50.2066667+00:00
Diwakar Devangam 75 Reputation points
commented 2025-01-27T20:39:40.3+00:00
Iannick Tremblay-Levasseur 0 Reputation points
4 answers

New to Blazor - A valid antiforgery token was not provided with the request.

Hi all, Can any body please give me an advice so I can move forward to the main page, why I'm getting "A valid antiforgery token was not provided with the request. Add an antiforgery token, or disable antiforgery validation for this endpoint."…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
asked 2025-01-25T18:30:51.9566667+00:00
Dondon510 221 Reputation points
edited an answer 2025-01-27T07:42:47.32+00:00
Ruikai Feng - MSFT 2,676 Reputation points Microsoft Vendor
1 answer

Not Able to install some Nuget Packages

Hi I am getting following errors while installing EntityFrameworkCoreTools and EntityFramWorkDesign form Nuget Packages Manager. Please help me, I tried to install these on both .NET framewok 9.0 and 8.0 Thanks *Package Microsoft.CodeAnalysis.Common…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
777 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,656 questions
asked 2025-01-25T06:39:18.3766667+00:00
BS Grewal 0 Reputation points
commented 2025-01-27T06:06:04.51+00:00
Jerry Fu - MSFT 981 Reputation points Microsoft Vendor
2 answers

Blazor server side measure delays (nuget injection?)

I was wondering, to measure the delays between client and a server based razor app. How would one approach this, i think its be nice if our app could take actions (upon delays) , and give insights in how responsive it is. If our app could inform that…

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,656 questions
asked 2021-12-20T13:57:38.567+00:00
PGT 1 Reputation point
commented 2025-01-26T17:26:08.2966667+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer

Can i target only one platform in .NET MAUI Hybrid.?

Hi Can i target only one platform in .NET MAUI Blazor Hybrid.? I know that MAUI is for multiple platforms, but at the moment I am not focusing on android or others, only Windows, to publish in Microsoft Store. All i want is to take advantage of…

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,656 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,878 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,752 questions
asked 2025-01-24T16:42:42.36+00:00
Jignesh Desai 106 Reputation points
edited the question 2025-01-24T17:32:19.35+00:00
Ashok Gandhi Kotnana 2,960 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

What will be the REST API URL for the SSRS to be embedded in the Blazor Server Application?

I am working on adding the SSRS based reports into the Blazor Sever Application. SSRS Configuration is working fine and I can access SSRS on browser as well. I searched for different methods to implement the SSRS reports (created using MS Report…

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,656 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,987 questions
asked 2025-01-22T10:49:43.2466667+00:00
Aima Maqsood 25 Reputation points
edited an answer 2025-01-23T07:56:44.1466667+00:00
ZoeHui-MSFT 40,131 Reputation points
2 answers

Why can't my generic Blazor app read the LocalDb for Identity?

I wanted to see how a new Blazor Web app uses the LocalDb that is created when you create a new application that uses Individual Accounts during the project creation process. In my AppSettings.json file it created this connection…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
asked 2025-01-04T21:28:57.7166667+00:00
Rod Falanga 571 Reputation points
commented 2025-01-23T05:50:48.6+00:00
Tiny Wang-MSFT 3,066 Reputation points Microsoft Vendor
2 answers

I can't find the Blazor Web Assembly option, I only see two options the Blazor Web App and the standalone Web Assembly application but none of them give me the ASP .NET Core Hosted option, why?

I do have a question related to this topic because I want to start a project with the Blazor WebAssembly App template but it is no longer only those two that you mention. according to a video it should look like this: I would like to know if the way I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,399 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.
11,262 questions
asked 2025-01-20T17:12:21.9833333+00:00
Carlos Enrique Canales L�pez 0 Reputation points
commented 2025-01-23T02:02:23.3833333+00:00
Tiny Wang-MSFT 3,066 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Visual Studio 2022 Blazor Server project assigning random port

I am creating a .NET 9 Blazor Web App project using Visual Studio 2022 (17.12.1). I am authenticating using MS Graph to an Azure Web App which requires a consistent URL as a callback and have done this many times with earlier Blazor Server projects using…

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,656 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,399 questions
asked 2025-01-07T15:38:05.0533333+00:00
Scott Stoecker 20 Reputation points
commented 2025-01-23T00:20:38.0033333+00:00
Timothy Boyden 0 Reputation points
2 answers

Why can't I create a Blazor Server App with .NET 8?

I'm trying to create a Blazor Server App using .NET 8. I've done this at home, but here at work Visual Studio 2022 only allows me to create a Blazor Server App using .NET 6. I've gotten into Visual Studio Installer, to check to make sure I have .NET 8 as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
asked 2024-08-20T17:14:53.12+00:00
Falanga, Rod, DOH 265 Reputation points
answered 2025-01-22T16:33:54.0566667+00:00
Marc Roussel 0 Reputation points
1 answer

Blazor isn't listed in Visual Studio Community 2022

Hello I'm trying to start a new Blazor WebAssembly App in Visual studio 2022 but it isn't listed there. I did run dotnet new --list in the command line and it shows both Blazor WebAssembly App and Blazor Server App listed so I'm not sure why it isn't…

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,656 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,399 questions
asked 2025-01-19T12:33:04.3433333+00:00
FabioM 0 Reputation points
commented 2025-01-22T14:36:12.73+00:00
FabioM 0 Reputation points
2 answers

Add Or Change Identity Claims In .Net 8 Blazor Web App

Hi, In Create New Blazor Web App Project : Check => Individual Check => .Net 8 Check => Auto Interactivew and in ApplicationUser.cs I add a property for use full name { public sting Fullname { get; set; } } but in components i want show…

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,656 questions
asked 2024-01-16T19:17:43.76+00:00
Mahdi Elahi 31 Reputation points
answered 2025-01-21T18:47:20.64+00:00
Bruce (SqlWork.com) 70,376 Reputation points
4 answers

Blazor and ValidationGroups

I am in ASP.NET since the first version of .NET Framework and I am used to some features that are missing now. Please notice that I've just recently moved to Blazor. Currently, I am wondering why the ValidationGroups are not part of it. I have a kind…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 questions
asked 2025-01-04T13:22:46.66+00:00
Kuler Master 386 Reputation points
commented 2025-01-21T06:36:52.57+00:00
Zhi Lv - MSFT 32,926 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Blazor .Net 9 Default template simple usage of a service - porting from an earlier version

I tried to port this simple project: https://github.com/JWealthall/BlazorWindowResize to .net 9.0 So, I created a simple sample at: https://github.com/KKacer/BlazorTestWindowSize I'm trying to understand the usage and changes I need to do in the 2…

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,656 questions
asked 2025-01-16T18:50:15.5666667+00:00
Kasrak 46 Reputation points
accepted 2025-01-17T10:29:21.94+00:00
Kasrak 46 Reputation points