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…
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"> …
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…
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…
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…
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…
How to reduce the number of wasm libraries loading at the first load
Hello, We are facing issue with loading Blazor web assembly app. We have observed that the Blazor web assembly project loads a lot of wasm libraries in the beginning. It loads around 25mb of data in first load. And this is impacting performance of our…
How to solve the white page problem in blazor server.
When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …
Can I force AuthenticationState to refresh (when claims have changed)?
Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…
How to set up role based authentication in a Blazor Server app in Microsoft Entra ID
Hi, I have a Blazor Server app and I want to use role based authorization in Microsoft Entra ID. I created role for it and I added permission to it: Program.cs builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) …
Microsoft.Maui.Essentials packages
I have an razor class library and want to use Microsoft maui SecureStorage. In visual studio , NuGet interface, when select the latest Microsoft.Maui.Essentials packages, get the following…