Issue with Blazor (MAUI Hybrid) and page lifecycle
I am trying to improve the user experience of my app by showing loading indicators while it retrieves data from a server, but there seems to be something wrong with my understanding of how the...
View ArticleBlazor Server Side Console.WriteLine not working
On a server side Blazor app I am finding that Console.WriteLine does not work. Why can't I see the text in Chrome Console?@code{ protected override async Task OnInitializedAsync() {...
View ArticleBlazor WASM Tasks
I have just seen that Blazor WASM does not currently support multiple threads. So if you do a Task.Run() it will actually run on the main thread and block the UI.So if I wanted a Blazor WASM...
View ArticleAntiforgeryToken not generating __RequestVerificationToken hidden field...
I have an app built using .NET8 Blazor with InteractiveServerRenderMode.App.razor is configured like in Template you get when you create Blazor Server App with Global Interactivity and Identity.I have...
View ArticleHow to persist user session using ProtectedSessionStorage and Cookie based...
My application is using global InteractiveServerRenderMode without prerendering, but my Login component is using static SSR so that I can access HttpContext for cookie authentication. Below is how I...
View ArticleAccessing public property using reflection using GetProperty c#
I am currently working on a Blazor project in .NET8 and are having some issues trying to access a public property at runtime using reflection.Issue:I have an array of objects[] at runtime which I cant...
View ArticleInline MudDialog always visible when used inside another MudDialog
When I use an inline MudDialog inside a MudDialog (which is opened with DialogService), the inline dialog is always visible. Also the it is not shown as a dialog, but directly inside the page.This...
View ArticleError building Blazor WebAssembly app in .NET 9: The result of "" of...
I'm getting the following error when I create a Blazor WebAssembly project from the template in Visual Studio Professional 2022:The result "" of evaluating the value"$(MonoTargetsTasksAssemblyPath)" of...
View ArticleHow do I create a cross-session, multi-user notification center in Blazor...
I'm writing a multi-user, cloud-hosted application using Blazor .Net Core 8 with interactive server-side rendering.The application uses .Net Events to create an audit trail and my intention was to use...
View Articleawait InvokeAsync(StateHasChanged) does not change the database content...
I'm doing very basic CRUD Blazor Web App, my Create and Delete works just fine, as soon as I add or remove an item in my database the item is immediately updated on my razor page. But not when I use...
View ArticleHow to get access token and id token for google oauth?
I am using Blazor Webassembly standalone + Asp.Net Web Api(.Net8.0). I want to implement Google Authentiaction. I successfully got the authorization code but having a problemgetting the access token...
View ArticleNET MAUI auth token in SecureStorage
I have created a net MAUI Blazor appI am able to login to facebook/google and return a auth token. What I'm trying to do is to save the token using SecureStorage in my app so that the user doesn't have...
View ArticleHow to Restrict Azure Speech SDK AudioConfig to Only System Audio and Exclude...
Question:I am working on a Blazor project where I integrate Azure Speech Service to perform speech-to-text transcription on system audio during screen sharing. However, I am facing an issue where audio...
View ArticleIs it possible only to pick month and year in MudBlazor DateRangePicker?
Is it possible to pick the month and the year in the DateRangePicker? The DatePicker has this functionality, so you don't need to pick a day to successfully apply the filter.Can someone tell me, if...
View ArticleWhy Does Blazor Require Refresh for Interactive Mode to Work?
I have the following code on my Blazor App. I'm using the Server and Client template.@page "/todo"@rendermode InteractiveServer<h1>Todo</h1><br/><ul> @foreach (Task task in...
View ArticleBlazor using typescript and import three.js
I'm developing a Blazor WASM application where I make use of the Microsoft.TypeScript.MSBuild nuget package in order to use typescript for all related javascript code.But when it comes to import and...
View ArticleWhy is routing from one Razor component to another, both defined in the same...
I have two minimal projects in my .NET 8 solution: a Blazor web server app, interactive server rendering, with Home.razor page, and aRazor class library with two components defined, Schedule and...
View ArticleHow do I create a cross-session, multi-user notification center with...
I'm writing a multi-user, cloud-hosted application using Blazor .Net Core 8 with interactive server-side rendering.The application uses .Net Events to create an audit trail and my intention was to use...
View ArticleBlazor MAUI Windows upgrade to .NET 9 nuget error
We have just started to update our Blazor MAUI app to .NET9. We are getting a strange error when compiling for Windows (same code works for Android).error NU1102: Unable to find package...
View Article.NET Blazor 9: Capture client ip address
Is anyone able to capture for component use, a client IP address, in Blazor 9 hosted in Azure?This question has been asked for several years, but for previous Blazor versions; IMHO, there isn't a...
View Article