Embedding of Blazor Server Component in Web Forms
We have a legacy application on ASP.NET Web Forms (version .NET 4.8), now we want to shift it to latest tech stack Blazor using Server Hosting Model only (version .NET 8). I am facing issues in embedding the Blazor Server components in Web Forms. Is…
Help with GitHub Actions CI/CD Blazor Web App .NET8-> Azure App Service
yaml-copy.txtThe publish directly from Visual Studio works correctly but my yaml script results in the css/bootstrap not being applied correctly. Are there any changes needed to be made with my yaml script? It is a Blazor Web App .NET8 interactive…
System.NotSupportedException: The given path's format is not supported
I have a project that has been building and publishing successfully. However, after attempting to solve the iOS 18 white screen issue, a new error has started to appear, and I am unsure where to look to fix it. The following changes have been made since…
C# Blazor .NET 8 localstorage deleted on page refresh F5
Hi In Blazor .NET7 I use localstorage to save a JWT for all my users claims etc. Works perfectly. Upgraded to .NET8 the JWT still works, but, if you refresh your browser page (F5) the localstorage is deleted and I get a 401 unauthorized. In .NET7 this…
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…
Is it safe to delete the obj\Debug folder in a C# project?
Hi, I am encountering the following error: Severity Code Description Project File Line Suppression State Details Error (active) MSB3713 The file "obj\Debug\net6.0\IMS.CoreBusiness.AssemblyInfo.cs" could not be created. The process cannot…
How to troubleshoot mysterious internal 500 server error of a Blazor App on Linux
An application has mysteriously stopped working on a build with internal 500 server error. The application was working on a previous build that's only a day old. The changes between the builds are minimal. The proxy settings on Apache are the same in…
Unable to copy file "libman.json" building MAUI, BLazor IOS app
I am trying to build a MAUI Blazor project for iOS. The Windows and Android builds work fine. I have upgraded to SDK 8.0.402.1 for both the SDK and workload to ensure compatibility with iOS 18 and Xcode 16. However, I am encountering the following error…
Blazor Server (.NET 8) authenticated with external REST API
Hello, i'm developing a small web application with Blazor Server (.NET 8) relying on a REST API (.NET Framework 4.8) for authentication and data access. I started developing this project last year, before the release of .NET 8, but i aligned the…
How to fix a Errror Handling for Blazor Hybrid MAUI and WebApi
Hi, I've reference an WebApi to my Blazor Hybrid App. The database that I used is SQLite When I run the app "Windows machine" the response is Html The WebApi run well!!I've checked with swagger the response is OK. I suppose that the problem…
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"> …
Blazor App Redirecting API response to login page
I am building a Blazor Server app on .NET. The app was started using the Visual Studio .NET8 Web template for Blazor server with individual authentication turned on. In the second step, I added an API controller to the app, with the [Authorize]…
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…
I have a Blazor App for .NET using the server mode. I now want to add wasm mode to it as well. What changes are required?
I started my project that uses the Blazor Server template from Visual Studio 2022 for .NET8. I now realize I want to add a wasm project to it as well so can take advantage of auto mode. What changes are required in the server project so my components can…
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…
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…