1,654 questions with Blazor tags

Sort by: Updated
1 answer

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,654 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,381 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 5 Reputation points
commented 2025-01-27T09:16:36.58+00:00
kodo65 5 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,756 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,654 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,596 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.
774 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,654 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,654 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) 69,976 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,654 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,655 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,660 Reputation points Microsoft Vendor
1 answer

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,756 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,654 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.
367 questions
asked 2025-01-20T13:57:47.14+00:00
Kuler Master 386 Reputation points
commented 2025-01-23T09:02:54.28+00:00
Ruikai Feng - MSFT 2,596 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,654 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,983 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,051 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,756 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,654 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,756 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,654 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,381 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,238 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,654 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,381 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,756 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,654 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,654 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,381 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,654 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) 69,976 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,756 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,654 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 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,846 Reputation points Microsoft Vendor
2 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,756 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,654 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 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,238 questions
asked 2025-01-20T14:00:42.1733333+00:00
Kuler Master 386 Reputation points
answered 2025-01-20T17:21:02.4366667+00:00
Bruce (SqlWork.com) 69,976 Reputation points
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,654 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
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,654 questions
asked 2023-01-18T12:23:31.0866667+00:00
Laurent Guigon 311 Reputation points
commented 2025-01-16T14:22:35.48+00:00
Oliver_P 15 Reputation points
3 answers

AuthenticationStateProvider propagates incomplete identity to WebAssembly with Blazor in .net 8

I have a component using auto render mode: @attribute [RenderModeInteractiveAuto] I inject the AuthenticationStateProvider: @inject Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider _auth Now, in my code, if I do something like…

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,654 questions
asked 2023-10-25T21:14:05.82+00:00
Rabe, Jens 35 Reputation points
answered 2025-01-15T10:13:21.9466667+00:00
Dunce 41 Reputation points
2 answers

Why does the onclick event not work, in my razor pages hosted blazor component, in .net 7.0?

I've used the following code in multiple blazor web assembly applications hosted on a razor pages page under .net 5.0 and .net 6.0 before now. An application I was forced to upgrade to .net 7.0 has rendered the onclick command completely useless What…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 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,654 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,238 questions
asked 2023-01-19T00:23:45.6266667+00:00
The Acme Cheese Company 0 Reputation points
answered 2025-01-14T00:12:39.4066667+00:00
Alex Stewart 0 Reputation points
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.
82 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,654 questions
asked 2025-01-11T13:56:34.58+00:00
Manoj Ganapathi 0 Reputation points
answered 2025-01-13T22:31:25.7833333+00:00
Bruce (SqlWork.com) 69,976 Reputation points