How to place appsettings.json in RCL project to be consumed by Configuration of blazor wasm app
I have a strategy to share App.razor from RCL project with Blazor hosting apps like Blazor Webassembly standalone app as a front-end app and Blazor hybrid apps as native apps. I placed all assets into a RCL project(RCL) including appsettings.json file in…
Why is the blazor css isolation not working?
I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…
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 Decouple Front-End from Back-End with Secure APIs for User Management in Blazor Web App (.NET 8)
Hello, I'm used to creating Blazor Web App projects in .NET 8 with "individual accounts" and interactive render mode set to Auto, with per-page interactivity. The advantage of this setup is that all the account management mechanics are…
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…
Data API Builder - Azure Static Web Apps
Trying to understand Data API Builder (DAB) and if its right for my use case. Based off a simple address book example, there is a table "Addresses" that would have columns: User (the user of the address book, likely an ID linked from a User…
Customize default Account Pages for Blazer Server with Interactivity
I am fairly new to blazor ecosystem and have a requirement to modify the default registration to include role for the user. This could be a simple radio but they want selectable cards. I understand default registration is statically rendered and I…
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…
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> …
Blazor Widgets and Dashboard
Hi Team, I am currently working on a Blazor project where I need to create a financial dashboard with customized widgets based on user roles and access levels. Can you please share a sample project without using any third-party tools like Syncfusion,…
Passing data from a Razor page to an MVC controller using Blazor web app
I have a Blazor web app with one Razor file (Values.razor), an API controller (ValuesController), and a model (ValuesClass). In Values.razor, I have one button that calls the Get method in ValuesController. I'm trying to assign data to a static list in…
Concurrency Failure while updateng user
Hi. After adding new item in List<RefreshToken> in user entity and update it in UserManager.UpdateAsync() me getting error "Optimistic concurrency failure, object has been modified". How i can fix it? public class User : IdentityUser { …
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…
Deploying .NET 8 Blazor Interactive server to an "app" in IIS
Am trying to install a blazor 8 server app on IIS. Everything works fine within VS2022, but once I deploy the files to IIS I get some errors. I've tried <base href="/BlazorApp4/" /> or <base href="/" /> and …
How to change the solution and the project name in blazor server
Hello, I'm trying to rename the blazor project in the solution, but when I rename project, it doesn't change the namespaces and in the other places in the pages of the project. Is there any other way I can do this safely without breaking the app?
Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR
I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…
Popup In Maui Blazor
How to all Popup in MAUI , I have a Division App where we need to sometimes refer to MUltiplication tables. I want the Multiplication table in Popup and not to flow directly to the Multiplication App . @page "/Division" <h3> Division…
Singletone DI + Custom JWT Auth in Blazor Standalone WASM
Hi. I'm making authorization on Blazor Standalone WASM and i have one problem - singletone service not save state after reloading page and opening other. So is this how it's supposed to be? Because of this i cant save jwt in memory (only in localStorage)…
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…
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…