Using Blazor, AD B2C and API Manager
Hi, I am using Azure AD B2C to secure my Blazor app and API’s. I have APIM fronting a set of Azure Fuctions. I can authenticate the user ok, using the MsalAuthentication class (well, the builder.Services.AddMsalAuthentication method). As it…
Blazor page name conflict with controller
I'm seeing some odd behavior creating a client-side Blazor app with a web api. It appears you can't create a page with the same name as a web api controller. In particular, I create the project with Visual Studio 2019, selecting the "Blazor…
Unable to host blazor Webassembly authentication app in IIS
I've created blazor webassembly app : using visual studio 2019 new project => blazor webAssembly app => Authenticatin type : Individual accounts checked Asp.Net hosted check box I did not…
multiple "tables" on a single blazor page
I currently have a web page with a jquery datagrid, multiple child divs on the right, and a tab control below the grid with 6 tabs, each tab shows data from a different table. When a row in the data grid is selected all of the child divs and tabs…
keyboard shortcut using blazor
Hi, I want to create aKeyboard shortcut to ease up users process. I create it already in jquery and also working right now. but when I click on n it navigate to notification page and also when I am tying in textbox then it also navigating so I…
Blazor Wasm Multiple HttpClients
I am trying to figure out how to define multiple http clients for my Blazor app. I have an client defined for my Blazor API, now I need a couple more for 3rd party resources. I don't see how to "name" them so that I can request them at in my…
Item always null in blazor
Hi everyone i create blazor application. this application get data from url but one of this url always is null this is my code : var rev =await…
IIS Reverse proxy settings for blazor server
I wanted to link other port's site with 80 port So i setted reverse proxy that pattern like "(example.*)" url rewrite inside IIS to link blazor server with "https://www.site.com/example" but i found that if i do this…
Bug in the documentation page
I am Japanese. I opened the documentation page to study Blazor, but it seems that the Japanese version of the Blazor page is broken. I'm getting 404 errors and split tabs.
There are other ways to connect to database with Blazor in addition to Entity Framework Core?
I work with WebForms currently and all the access to SQL Server database is based on stored procedures to CRUD operations with SqlCommand and CommandType.StoredProcedure. I do not 'select' the database directly. All I am reading about Blazor…
Blazor client in Docker container
I have VS 2019 Version 16.10.1, Docker Desktop Create new project, choose Blazor WebAssembly App (.NET 5.0) Right click project in solution explorer choose Add-> Docker Support and choose Linux Compiles fine and runs when you select…
Blazor Server Side - Authentication without using Identity
Good Day Everyone I'm new on using Blazor Server Application, currently on our company we have a exisiting User/Account database, that all our projects are using, now I have succesfully created a cookie based authentication on my ASP.NET Core MVC…
Signalr netCore 5 Sendasync inside an On Event not reaching clients
Hi, here the related code portion that have an issue hubconnection.On<ConsRequest>("Rcv_ConsPatReady", async (ConsRequest item) => { if (item != null) { var c = await service.AddOrUpdateConsultation(item.PatientID, …
SignalR with Blazor Progressive Web App & Server - notification on icon desktop
hi, I'm using Blazor with SignalR in a client / server environment. I'm able to send / receive real-time notifications. When I install the WPA client on an android OS , and I send a notification with SignalR , I do receive the message on the installed…
Editing Without Using a Dedicated Edit Page
In most Blazor WASM CRUD examples editing is performed by navigating to a dedicated page. This is a breakdown of what is the common example I have found after many searches... Initial page contains a grid component Each detail row has an…
.NET Core creates AspNet tables incompatible with .NET Framework 4.5
From an ASP.NET MVC project (on .NET 4.5) I created a SQL Server database (and security using Microsoft.AspNet.Identity.EntityFramework.) using EF and the Package Manager. So far so good. A few years later, now, I created another project using Blazor…
How to validate form input ONLY if input has a value
I have created my model with an e-mail address like this: [EmailAddress(ErrorMessage = "Please provide a valid E-mail Address.")] public string Email { get; set; } As you can see, this is not marked as Required, my idea is that if…
Blazor WebAssembly hosted app with Identity Server, GET https://{DOMAIN}/.well-known/openid-configuration 404
I set up a blazorwasm application, It can work normally locally(OIDC), But if I publish to the server,It does not work with a domain name(if use IP, work normally ) I checked F12 and found GET https://{DOMAIN}/.well-known/openid-configuration 404 (use IP…
Localize a component in another assembly - Updated
Updated all the question, reformed and posted the new code here: I tried 2 approaches at the same time to find out how I can localize my component which is located in a different assembly. Folder/ Files architecture: Index (Usage in the…
CORS error with new app service
I have a Blazor webassembly that runs as an app service. It calls a .net core api also running as an app service in the same resource group. I set this up a while ago and it has been running with no issues. Now I wanted to add a second api. I created a…