Error with WebSocket
Hello I get the error: WebSocket connection to 'wss://localhost:54970/Dashboard.Server/' failed: Error in connection establishment: net::ERR_CONNECTION_RESET. I get this on a new project, so what I do is Start Visual Studio 2022. Make a new Blazor…
Why does a css file embedded in a DLL take 50.9ms to 9.4s to load?
Hi all; I have a Blazor server app running on Azure app server. I am using Application Insights to measure performance and as I am new to Application Insights, this may be a user error. I have MudBlazor referenced in App.razor as: <link…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
Issue with Azerbaijani ("az-AZ") Culture in .NET 8 Blazor WebAssembly Standalone App
Hello, I am working on a .NET 8 Blazor WebAssembly Standalone App, and I have encountered an issue with setting the "az-AZ" (Azerbaijani) culture. While other cultures work correctly, Azerbaijani does not seem to be applied properly.…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
Weird errors problem with dotnet watch with blazor/wasm.
I have a really annoying problem with dotnet watch and blazor/wasm. I have a solution in which I have multplie projects, for example an API, a blazor/wasm project and some common classlibraries. I start the API part with CTRL+F5, and I start the Blazor…
Blazor Wasm Hosted with SAML2 authentication
Good morning, We have a Blazor-ASP.NET Core Hosted application on .Net Core 6. In an on-premise IIS for a client where they authenticate against their locally corporate Active Directory. Now we proceed to migrate to the Cloud, logically we no longer…
Best Practices for Implementing Search and Other Operations in a Blazor Server App
Hi, I'm a beginner working on a Blazor Server application using Blazor 8. I have used scaffolding to generate basic CRUD operations for a model, and the auto-generated code works well for these operations. I would like to expand my application by adding…
BLAZOR not loading with .Net 8 upgrading from .Net 7
My team has developed a Blazor web app in .net 7. Due to our web servers requirements the entire App had to be upgraded to .net 8. Now, the app gets to the 100 in a circle view but never loads the content. When looking in the console found the…
Why is the blazor css isolation not working?
I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…
How to fix "Request textDocument/semanticTokens/range failed" and "Request textDocument/hover failed" in my blazor v8 project
It displays endless message from the gold bar: "Request textDocument/semanticTokens/range failed" "Request textDocument/hover failed" [Error - 12:02:57 PM] [LanguageServerHost] System.ArgumentException: Range={ Start={ Line=57,…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
Blazor hangs when debugging with authentication
Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in? Any hints on how to get past this issue?
Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR
I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
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…
Why is telemetryClient.IsEnabled() true if no key is provided
Hi all; I have the following code: builder.Logging.AddApplicationInsights(); builder.Services.AddApplicationInsightsTelemetry(); builder.Services.ConfigureTelemetryModule<DependencyTrackingTelemetryModule>((module, o) => {…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
Blazor Web Assembly with Azure AAD and Custom authentication Login
I want to implement two authentication mechanism in my Blazor web assembly application (Azure AD and Custom Authentication). i.e. User can either login via Azure AD or he can go for Custom Authentication. When I register both Custom…
Connecting Blazor server to Application Insights
Hi all; Is this still the latest/greatest way to integrate Application Insights with my Blazor server app? I want to use this for figuring out the hot spots when load testing including the SQL queries (via Entity Frameworks). And while that link has what…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
Does with Roles or Policies in Blazor apps, work with Active Directory?
I want to write a Blazor application. It must authenticate and authorize internal users in our Active Directory domain. I'm currently reading through Core Blazor Authentication and Authorization. It discusses roles and policies, which look like they will…
I have Image in blazor page then need a comment for each of Image.Can somebody show me how to do.
@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1>Home</h1> <PageTitle>Home</PageTitle> <h1 style="color: blue;">Promosi Barang Perniagaan Anda!!</h1> Welcome to your…
Blazor app is not working with Front door
Hi, My blazor app works fine in local. And I had deployed to App service in azure and did front door configuration for lower environments, then it shows warning message like below and all actions (Add/delete) works fine as expected. But when i deployed…
@rendermode InteractiveAuto not found for Blazor .net 8
I had a sample application with Blazor and .net 8 and had the following in there: @attribute [RenderModeInteractiveAuto] Now, I am supposed to use: @rendermode InteractiveAuto But this doesn't compile. The name 'InteractiveAuto' does not exist in the…
Is there any downside to adding ApplicationInsights when it is not running?
Hi all; Most of the time I have Application Insights turned off (it's expensive). When it is off, will I have a performance hit if the following code is called at the start of my Blazor server…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)