Blazor ErrorContent not catching an error
Hi all; Blazor Interactive Server - in my MainLayout.razor I have: <ErrorBoundary> <ChildContent> <!-- lots of nodes --> </ChildContent> <ErrorContent Context="error"> <main…
Scale out Blazor Server App using Azure cache Redis as backplane
I am current hosting Blazor server app in Azure App Service. I found an issue when my application scale out. So i change to use Azure cache Redis for SignalR backplane. I also enable session affinity with my App Service configuration. Most of the time I…
Authenticate my own Blazor App with against my SSO-REST Backend
Hi, regarding to this blog https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/ I've successfully created a REST-API with Identity and SSO. But now I need my Blazor frontend to authenticate against this rest service. The blog…
Each time I click submit order, I get the error "An unhandled exception has occurred. See browser dev tools for details. Reload"
I am following this Microsoft Learn doc to build a pizza shop and started noticing this error after following this doc…
Why am I getting this Content Policy error?
Hi all; I have added the following to my Blazor Interactive Server app using NWebSec: app.UseHsts(options => options.MaxAge(days: 30)); app.UseXContentTypeOptions(); app.UseXXssProtection(options =>…
I want to put the comment for every picture.Maybe can use component Input or other.Can show for me in code.
@page "/" @using Microsoft.EntityFrameworkCore @inject ICommentService CommentService @rendermode @(new InteractiveServerRenderMode(prerender: false)) <h1 style="color: blue;">Letak Product Anda</h1> <p>…
How to save the Comment and where to place, example some directory
@page "/PageBu" @rendermode InteractiveServer <h3>PageBu</h3> <h1 style="color: blue;">Letak Product Anda</h1> <p> </p> @for (int i = 0; i < images.Count; ++i) { string tempImageName =…
I try to put some comment for every Images.test to use input or maybe other component.All comments want to save it.II very newest , need help, the error at design time at line CommentService.AddCommentAsync(comment);
@page "/" @using Microsoft.EntityFrameworkCore @inject ICommentService CommentService @rendermode @(new InteractiveServerRenderMode(prerender: false)) <h1 style="color: blue;">Letak Product Anda</h1> <p>…
How can I create an Alert that views my ILogger file?
Hi all; In Blazor we log to Microsoft.Extensions.Logging.ILogger logs. I want to get an alert when there is a log entry that matches the regex ^Error ##.##.##.* (used ## for 2 digits). There are alerts that can read Log Analytics. But is there a way to…
How to bypass "Pick an account" popup after Sign out
Hello all, Is there any possibility to bypass the "Pick user popup" after Sign out with Endpoint v2.0 at Azure AD? We need to execute automatic sign out at Blazor app while user is not active, but we got redirect at the popup and the user is…
Blazor and SSRS/Report viewer
Hi, We are wondering, if it's possible to use Report Viewer (any Blazor components) or embed SSRS report (no IFrame) in Blazor. Is there such thing out there besides solutions like what Telerik or BoldReports provide? We're looking at a solution with…
Bypass the "Pick user popup" after Sign out in a .Net 8 Blazor WASM application
Is it possible to bypass the "Pick user popup" after Sign out with Azure/Entra ID? We need to execute an automatic sign out when the user is not active. The application is a Blazor WASM application. Here is my Program.cs code: using…
Very simple Blazor calls very simple API web app
Hi all; This is three associated questions. I need to create a simple web app that has a single controller. It is passed 3 parameters and returns an array of strings. What should I create in Visual Studio? I then need to have a simple Blazor server app…
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…
How do I conditionally turn off pre-render for 2 Blazor pages
Hi all; I have a Blazor InteractiveServer application using .NET 8. The Google web crawler gets just the static html for a page, not waiting for Blazor to create the SignalR circuit and therefor not waiting for OnInitializeAsync() to read from the DB and…
Migrate from Blazor Web Assembly to Blazor Server
I'm building a website with Blazor Web Assembly hosted in ASP.NET Core (NET7). The website is a project for the university that is basically an online magazine. There will be new content and I want to use SEO in order to have visibility in the search…
Range validator in MAUI Blazor
Here is a simple app to Add numbers from 0 to 100 , after which I like to perform some statistical operations. Add Insert works fine , I can restrict only 0 to 100 Delete works fine. When editing it is accepting all numbers , I like to restrict 0 to…
When value of textbox is changed Dropdown is not calculating
I created a code so that Area of Square/Equilateral Triangle can be calculated when selecting dropdown. When I change the dropdown value it works but when textbox is changed please suggest on how to call OnValueChanged @page…
Error RZ10012 when adding a component in blazor
Hello, I'm trying to learn Blazor with a youtube video. I have this page : MainLayout.razor @inherits LayoutComponentBase <div class="page"> <div class="sidebar"> <NavMenu /> </div> …
Exception when linking to Microsoft Store Purchase API library from Blazor MAUI Windows App
Hi, I am have written multile Microsoft Store Apps in the UWP and WPF frameworks and published them to the Store. These apps all have to and do call the Microsoft Store Purchase API. Now I'm building a Blazor MAUI Store App and have found apps in the…