1,681 questions with Developer technologies | .NET | Blazor tags
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…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | C#
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."…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
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…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
Set default culture
Hello guys, I am using Microsoft.Extensions.Localization (8.0.11) but for some reason the following code does not work as expected. As you see, I expect the German to be default language but it's always English. Am I missing something? var…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
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…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
Getting a System.ObjectDisposedException: The CancellationTokenSource has been disposed in .NET 8
I'm working on a new Blazor app, with server-side and WebAssembly projects in the VS solution. When I debug the app I get a, "Unhandled exception has occurred" message in the bottom of the page. Looking at my event viewer I see this, which…
Developer technologies | .NET | Blazor
How can I host a shared Blazor Custom Elements app on a different Domain?
I tried to publish a Blazor app with custom elements on a Static Web App and reference it from another deployed app. Just added the necessary script tags pointing to the static web app. It does not work. Looking into the blazor.webassembly.js…
Developer technologies | .NET | Blazor
Azure Static Web Apps
is there a way to share in-memory caching between two .Net Core Web APIs
My application right now needs to cache small amount of referenced data, but various data. Thinking of using in-memory Cache instead of REDIS or NCache. I hope this is a good decision. If I go with in-memory Cache and implement it, is it possible…
Developer technologies | .NET | Blazor
Blazor Web App using the Razor pages (.razor) from RCL
Hello, I'm trying to have the Razor Class Library (RCL) to serve the Razor pages (.razor) into Blazor Web App. First, I created a RCL project called RazorClassLibrary and simply added a new Razor compnent (.razor page). The page is under a folder called…
Developer technologies | .NET | Blazor
Server connection problem on a blazor site
Hi, I have made this app in blazor: Index Occasionally, I encounter this error: "Attempting to connect to the server." Do you know how to solve it? regards, Saeed
Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
Razor Component Return Html but not Data from api call until page refresh manually
Hello There, blazor Web App .net 8 Interactive Render Mode Auto. sometimes, page load in razor in blazor wasm side the html content appears correctly but api doesnt get called and data not get loaded but I can see in command prompt window ef core…
Developer technologies | .NET | Blazor

Websocket is connected or disconnected without error Blazor Web App .Net 8
Hello, Websocket not connected in production returns the error WebSocket connection to 'wss://accounts.innovustech.in/_blazor?id=7pvrUUJdL7CjvoTLn17Y4A' failed: (anonymous) @ blazor.web.js:1 blazor.web.js:1 [2025-07-27T11:40:20.323Z] Information:…
Developer technologies | .NET | Blazor


KeyValuePair Issue in Blazor Web App .Net 8 after publish
I am getting issue after publish to the hosting KeyValuePair2 How do i find where is this issue in project? Error: AggregateException_ctor_DefaultMessage (ConstructorContainsNullParameterNames,…
Developer technologies | .NET | Blazor


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…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor

HttpContext is null in production but working currently in development Blazor Web App .Net 8
hello, HttpContext after successful login, it is null in production but working currently in development Blazor Web App .Net 8 Interactive Auto. I have added this authorizationhandler and assigned to httpClient in program.cs public class…
Developer technologies | .NET | Blazor


Blazor ValidationMessage being conditional
Hello, I have a registration form where the users can select if they are private or company. What I need is to make the Company Name validation conditional. Meaning, if they select a company it gets enabled and if they select a private it gets disabled.…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
Making a Blazor WebAssembly E-commerce Application Responsive with Flexbox
A Blazor WebAssembly e-commerce application has been built, but the design looks good only on a 23-inch 1920x1080 laptop. The layout includes a header, a left navigation menu, and a footer that is consistent across all pages. The goal is to make this…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor

Submit blazor component data to controller mvc
Hi There, I am trying to integrate blazor with MVC and use Razor Component in MVC. In that I need to send/post data from razor component form to controller in MVC on click of a button click. Similar to what we use to do in ASP.Net mvc. @using…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Correlation Failed in blazor Server
I am getting this error after login from Identity Server and return to page by redirectUrl. url is ssshttps//localhost:44300/authentication/login-callback) Exception: Correlation failed. Unknown location Exception: An error was encountered…
Developer technologies | .NET | Blazor

copilot : unknown hard error
copilot : unknown hard error