Why does Mudblazor component appear without css?
I have installed mudblazor through NuGet and followed the "tutorial" on how to set up mudblazor, I did everything step by step but for some reason the component appears without any css or js. I had to...
View ArticleGetting error in ASP.NET Core web app in Blazor with auto mode
Sometimes I get below error in the browser. I need to clear cache for my site then it start working again.I don't know why....I have a solution in .NET Core with the following projects:Fbnt.Maui -...
View ArticleBlazor -valid antiforgery token was not provided with the request. Add an...
I created a Microsoft Teams app using Razor components and have configured the following it, but still receive an antiforgery token error.In...
View ArticleHow do I mock in injected LocalStorageService is a bUnit test?
I'm using bUnit to test a Blazor component, but am getting stuck with trying to mock the following injected dependency in the component... [Inject] public ILocalStorageService LocalStorage { get; set;...
View ArticleWhy input do not bind value to variable in this code
I started learning inputs in blazor and when I tried to run some code with it wont work... when I try run this code, it wont write down any errors but when I write down some text in input collum than...
View ArticleUsing MudBlazor, how can I respond to checkbox changes to create a Select All...
I'm trying to create something like the multi-select Select control except the list of checkboxes are always visible. I've gotten pretty close using @bind-Value and @oninput, but the @oninput fires...
View ArticlePersist scroll position between pages in Blazor MAUI Hybrid
Is there anyway to keep the scrolling position while navigating between Razor pages in Blazor MAUI Hybrid? We have Page A with a master-detail system. When user scroll downs in Page A (could be way...
View ArticleBlazor printing to Zebra printer from client side without any side application
I want to send raw ZPL commands to a Zebra printer from a Blazor web application (on client side). This printer is not accessible from the Blazor server app. Is it possible to print with the Zebra...
View ArticleHow to call C# function from javascript in the new Blazor .NET 8 Web App...
This is my JavaScript function in app.js that when window is resizing it call c# function that log a message in consolewindow.addEventListener('resize', function () {...
View ArticleConnection string with AzureKeyVault - Hybrid Blazor app
Used the local SQL connection string for development, starting testing and added KeyVault storage for the connection string in Azure...So in the project appsettings.json contains the connection string...
View ArticleNavigating to Blazor page with parameter does not render layout or anything
So i created a page in Blazor application - it loads blog stories from database - loads a default one if none are picked - no big deal If I navigate to this page directly with the parameter id of a...
View ArticleCan I use single Blazor application as a module for different applications?
I build a Blazor Web App. If I want other applications to use this application as a module, how is it possible? My understanding is I deploy this project indivisually and other applications make a call...
View ArticleAsp.net Core 6 logout does not work, only redirecting to a page that does not...
currently I'm trying to get the logout working in my Asp.Net Core 6 Blazor Server application.Login is working fine. But logging out redirects to the login url with a redirect to the logoutI call the...
View ArticleValidate Message Not working With Blazor Using Generic
In Blazor 8 Web Assembly (maybe other hosting models), ValidationMessage does not display when using Generic model in the component. Here is an example. Looks like I have to do something with the...
View ArticleHow to show a loading indicator with Blazor QuickGrid
The QuickGrid component in Blazor takes an IQueryable object which is defered so the execution of the query is done inside the QuickGridHow can I display a loading indicator while the QuickGrid does...
View ArticleC# Blazor .net 8 Service feature to access changes in mainlayouts @body and...
I've referenced my code from Here and have a follow upAttempting to access changed infomation in MainLayout based on changes in the @bodyMainlayout with NavPathComponent<div class="page"><div...
View ArticleProblem when submitting EditForm after refreshing the browser
I have Blazor Web app with render mode InteractiveAuto.I have one Editform to validate the information from one table in database. After validating, It return some data to another Editform and some...
View ArticleData not loading after reloading page in Blazor
I have a Razor page that needs to show my transactions and load it from database but.When I visit the page for the first time, everything works fine, but when I refresh the page, all the data stops...
View ArticleHow do I get the previous page in MAUI Blazor Hybrid and navigate to it?
I am currently developing an app using MAUI Blazor. On one of my pages, I have a back button due to the navbar being hidden on this page and trying to cater for platforms that don't have a back button....
View ArticleHow to do Blazor WASM (Client) initialization from a configuration file of...
All,We have a bunch of WASM components that run on the client. They use HttpClient to post requests to the server. The HTTP Client requires BaseAddress of the server. We need to initialize the...
View Article