In Blazor Web App Server authentication Azure missing iss claims
Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…
how to use muti -language in blazor?
how to use muti-language ?
Cannot supply a component of type 'Components.BookComponent' because the current platform does not support the render mode 'Microsoft.AspNetCore.Components.Web.InteractiveServerRenderMode'
when i call component by this way i have this error in TestComponent.razor i call BookComponent to get html var sensorHtml = new ComponentRenderer<WeaponDetails>() .Render(); BookComponent.razor @rendermode InteractiveServer other…
How can I avoid TaskCanceledException by RemoteNavigationManager
Hi all; I have a Blazor server app and every couple of minutes I get the following in my logs: Error 12:09:54 [] Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager - Navigation failed when changing the location to…
How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?
Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…
Solution: Custom SignalR Endpoints (Hubs) in a Blazor Server Application using Azure B2C When Deployed to Azure
Posting this in case I need it myself... Issue: Using custom SignalR endpoints (for example a /chat hub) with Authentication in a Blazor Server application that uses Azure B2C will not work when deployed. It will work fine on your local machine (using…
Blazor Server: It is possible get Current Loged User In DbContext
Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…
Automatic UI updates with Blazor
Using a .NET 8 Blazor WebApp, I hope to build an application whose pages automatically send updates to all users. For example, when Joe adds a payment to an invoice, Sue (who is viewing the same invoice) should see the new balace reflected on her screen…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
Dropdown gets closed while using mouse event args
Hi Everyone, This works fine when i hover over the button it shows and closes when it comes out of the dropdown however the dropdown still closes while mouse pointer is still in the dropdown. Could some share your ideas!! My need is to display the…
Connecting SQL Server Data to RDLC reports in Blazor .Net Framework
Hello, I am trying to create/integrate RDLC reports in Blazor .NET framework. So far: I have managed to open a RDLC report thanks this Question and Answer:…
In Blazor Server App, getting 404 error on page refresh
I am working on a Blazor server app with ASP.NET Core MVC and MudBlazor for design. My panel pages are in a PanelProject. I face the following issues: Whenever I try to refresh a page, I get a 404 error. Sometimes, I get a 403 error without knowing…
Azure AD B2C returns 401 Unauthorized when accessing controller
I am building a Blazor WASM app, in .NET 8, which I intend to protect using Azure Active Directory B2C. I created an AAD B2C app registration, and exposed an API from it. Then I created another app registration to serve as a client, and gave it the…
How to display Image Data on .NET MAUI Blazor App
How to display Image Data on .NET MAUI Blazor App Here is the api that fetches Image data https://quizapijwt.azurewebsites.net/api/Questions Images are stored in imagedata bytea CREATE TABLE public."Questions" ( "SNo" int4 NOT NULL…
Blazor Server Side AuthorizationHandler - PreLoad - HttpContext is Null
I have a Multi-Tenant Blazor Server Side application, that uses Pre-Load to use HttpContext in the Razor Pages. I am setting up Authentication and Authorization using Azure Entra. For Authorization I need to Authorize the user against the Tenant. The…
Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one.
Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one. And I may give back a little to community making this GitHub repository…
Best Practice For Database Access In Blazor MAUI Hybrid App
I'm porting a project from MVC into a Blazor MAUI Hybrid app with the intent to share common components and data. I have a Razor Class Library which does this, but was wondering if I should also put my SQL Server data access in here as well or keep that…
Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp
Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…
how to fix 10.2.4.1 Security - Software Dependencies ( .net blazor maui 8.0) to microsoft store
i have published my application in store, recently update my maui blazor application 6.0 tp 8.0 when I submit my msix package to store I am getting 10.2.4.1 Security - Software Dependencies Products may depend on non-integrated software (such as another…
Blazor Multitenant Configuration with Azure App Configuration Service
I have read the following article, but no where in this document does it talk about how this can be instantiated within your program.cs or startup using…