Blazor Server with Entity Framework Core Code First
Hello, we are currently evaluating the usability of Entity Framework Core Code First in a Blazor Server application. We try to migrate from a Database First approach where we created a DbContext instance (by a IDbContextFactory) per database…
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…
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> …
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…
How to create the controller with Blazor Hybrid Maui and SQLite?
Hi, I use blazor hybrid maui project . I've created the classlibrary to create ApplicationDbContext.cs and model to do the migration with Ef core that involved SQLite I don't know much about blazor hybrid maui & sqlite; now my question is that I…
Is Blazor suitable for e-commerce?
Hello, I have some experience developing applications (including an e-commerce app for learning purposes) with Blazor and a new real project with more requirements is underway. I need your advice on whether using Blazor for an e-commerce app is a good…
How to do the migration sqlite db with Ef core for blazor hybrid MAUI?
Hi I am working on an application for the Windows platform using Blazor Hybrid MAUI and want to create a SQLite database with multiple tables using EF Core for the migration. I have already defined the ApplicationDbContext.cs file and added it to…
How to add migration to blazor hybrid MAUI?
Hi, I use blazor hybrid to do native app in windows platform. I tried to implement migration to connect the local database. Unfortunately is not possible. I don't want to use sqlite. I would like to know if I have to add class library to add migration…
How can I log an error, no matter where it is called from?
Hi; In my MainLayout.razor I have set up: <ErrorBoundary> <ChildContent> <!-- lots of nodes --> </ChildContent> <ErrorContent Context="error"> <main class="page--error"> …
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 =>…