Can't connect to the server (after time goes by)
Hi all; I am finding a lot that if I leave the browser on one of my pages, after a bit of time goes by it dulls the entire page and at the top it says "Can't connect to the server" and gives me a reload link. Am I doing something wrong here? Or…
Deploy Blazor WebAssembly standalone application to Azure Static Web App via GitHub actions
Hi I tried to deploy blazor application to Azure and get this error Any idea ?
Framework Migration Recommendation for Office Add-ins
Hi Team, I currently have Excel, Word, and PowerPoint add-ins built using pure JavaScript and a .NET Core API for the backend. I’m looking to migrate my add-ins to a framework, and after reading various articles, I’m confused about whether to use React…
I'm having trouble writing the code to downloading the page.
I'm attempting to create a small application that converts image formats to SVG. And bellow comes the code: @page "/" @using System.Drawing @using System.Drawing.Imaging @using System.IO @using System.Threading.Tasks @using…
Request for Research Guidance and References
Dear Microsoft Team, I have recently completed an e-commerce project using ASP.NET Core API and Blazor. I am now looking to write a research paper on this topic. Could you please provide me with reference papers or resources that discuss the integration…
Is there a way to minify or bundle or pack blazor wasm js?
Is there a way to minify or bundle or pack blazor wasm js? For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.
Javascript not popping out message box on button click in Blazor 8.0
Test.razor @page "/test" @inject IJSRuntime JsRuntime <h3>Test JavaScript Interop</h3> <button type="button" @onclick="TestJsInterop">Click Me</button> @code { private async Task TestJsInterop() { …
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…
How Redirect To Not Found Without Change Url In Blazor .Net 8
Hi, How to redirect user to not found when page is not exists without change url in blazor ? Like this link : git not found
Ipublish and installation of MAUI app?
Hi, I'm trying to install the MauiApp1_1.0.1.0_x86_Debug.msix package after publishing Blazor MAUI ; For information, my application is empty. I just want to know how to install a blazor maui before associating a blazor wasm application with it. I run…
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 =>…
Can I convert my Blazor WebAssembly app to a PWA?
I have developed a Blazor WebAssembly ASP.NET hosted app that runs well on my local database. Unfortunately, I cannot publish it because I lack the necessary web server deployment capabilities. Is it possible to convert my app to a PWA so that it can be…
Radio Button Group in Maui Blazor
The input to this App is Area or Perimeter of a Square and output is Side. Currently the toggle between Area and Perimeter is controlled by Checkbox,I need this in RadioButton, please note that Area or Perimeter needs to be captured on Submit, also I…
Unauthorized access to API despite getting Access Token and Scope
Hi, Token Response: { "access_token":…
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…
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…
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>…