MAUI *.xaml.sg.cs files are not regenerating causing Duplicate 'global::Microsoft.Maui.Controls.Xaml.XamlFilePath' attribute errors
MAUI *.xaml.sg.cs files are not regenerating on build causing "Duplicate 'global::Microsoft.Maui.Controls.Xaml.XamlFilePath' attribute" errors.
.NET MAUI
Loading pop up
https://reccloud.com/u/nq75s16 <toolkit:Popup x:Class="FireChat.Views.PopUps.LoadingPopUp" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …
.NET MAUI
Unable to load the service index for source https://api.nuget.org/v3/index.json.
Visual Studio2022: Nuget package manager is giving error: Unable to load the service index for source https://api.nuget.org/v3/index.json. Windows 10 machine Cannot access https://api.nuget.org/v3/index.json. in the browser …
.NET Runtime
How to Upload a Xamarin IPA to App Store with Xcode 16.3 on macOS 15.4.1?"
Following the resolution of a recent production issue, I attempted to build the IPA on a Mac that was just updated to the latest macOS version(15.4.1). and Xcode version from 15.5 to 16.3. This update is necessary because, starting May 1st, 2025, all…
Xamarin
The process cannot access the file because it is being used by another process
I tried to update me db schema in my code and after changing that if i run my application i ma getting the error as follows The process cannot access the file because it is being used by another process but my db is not opened anywhere so how to…
Flayout page navigation-passing parameter
Hi, im using net 9. I would like to know how i can pass parameters between pages using official maui flayout page navigation. Thanks in advance,
.NET MAUI
Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded.
I am using DDD architecture and the following code changes the aggregate Root (basically adds a comment which is an Entity to the aggregate Root). public sealed class AddCommentToPostCommandHandlers : ICommandHandler<AddCommentToPostCommand,…
Entity Framework Core
SQL Server
How to fix The AOTCompile task failed unexpectedly in .NET Maui iOS on MacOs?
I recently moved from an x86 Intel Macbook to an Apple Silicon Macbook. I'm working on a .NET9 iOS app in Maui using JetBrains Rider. The app builds but won't deploy. The error states that the AOTCompile command is looking in the wrong directory for…
.NET MAUI
First time login after setting the password. When user tried to login with correct username and password then user is getting redirect to login page without any error
We are experiencing an issue with the Azure AD B2C login flow. After a user sets their password for the first time and attempts to log in using the correct username and password, they are unexpectedly redirected back to the login page. No error message…
.NET Runtime
Error In Blazor Web App
I am getting error in browser console Project version is .NET 9 Template Blazor Web App Auto Interactive Render @rendermode @(new InteractiveWebAssemblyRenderMode(false)) after setting data not get loaded and error still there. why data is not…
Blazor Training

Images show up on other devices but not windows build
Hi, I am building a .net maui application my .png's show up on android and android emulators But I am unable to get the same image on windows build, or any image for that matter of fact Here is the code that use. var var image = new Image() { …
.NET MAUI
Image do not bind
This is the VM public partial class AppShellViewModel : BaseViewModel { readonly FirebaseAuthClient _authClient; readonly WeakReferenceMessenger _messenger; readonly IMediaPicker _mediaPicker; [ObservableProperty] LocalUser…
.NET MAUI
Binding null, but is working
In have my viewModel using System.Collections.ObjectModel; namespace FireChat.ViewModels; public partial class AppShellViewModel : BaseViewModel { readonly FirebaseAuthClient _authClient; readonly WeakReferenceMessenger _messenger; …
.NET MAUI
Command does not hit
I have this chunk of code <sfPopup:SfPopup x:Name="UserProfilePopup" AbsoluteY="20" AcceptButtonText="Save and close" AcceptCommand="{Binding SavePopUpContentCommand}" …
.NET MAUI
Splash Screen not showing up for windows build on .net maui
Hello all, So I created a simple custom splash screen, it works for android but not on a windows desktop. Here is the code public partial class SplashScreen : ContentPage { private ContinousAudio continousAudio; public…
.NET MAUI
Blazor app .NET 8 interactive buttons with @onclick not working
I am making a .NET 8 Blazor web app with interactive server components but when i make a simple button that has to perform a simple function i declared it doesn't do anything, no messages via the websockets, no UI change. I think i have done all the…
Blazor Training
Connecting to SQLExpress Database takes long time
Upgraded .net 4.8 C# app to .net 8. The new version takes 30 seconds to connect to SQLExpress database on server (\ServerName\SQLExpress). Original version took less than 1 second to connect to same server. Management Studio and reporting tool also…
.NET Runtime
Limitations When Launching .NET MAUI Windows App via Custom URI Scheme
I've added the following entry to the Package.appxmanifest for my .NET MAUI Windows app to support activation via a custom URI scheme: After investigating this setup, I observed the following limitations: Key Findings Windows Focus Restrictions: When the…
.NET MAUI
How to fix System.IO.FileLoadException: Could not load file or assembly 'file:///C:\inetpub\wwwroot\project\bin\BusinessLayer.dll' or one of its dependencies. Access is denied.
On IIS server, after hosting my Web API works fine for two or three minutes then it get crashed with below message .. Server Error in '/' Application. Could not load file or assembly 'file:///C:\inetpub\wwwroot\project\bin\BusinessLayer.dll' or one of…
.NET Runtime
Visual Studio 2022 Professional build issue -.net 4.8
I am using nuget of some organization. And when I am trying to run the sample Azure Function -https://github.com/Azure/azure-functions-dotnet-worker/tree/main i am getting below error: C:\Program Files\Microsoft Visual…