MAUI: iOS: Issue with backgrounding to send location on every 10 seconds
I want to send the user's location to MQTT in all modes (background, foreground or device locked) from my MAUI application. I have implemented it on Android platform using the foreground services. Now I want to implement the same on iOS platform and I…
.NET MAUI
Calculating Ram Total Memory In Gb
Hi, Do i need to accumulate totalCapacity += capacity; ? Thanks in advance, private static ulong GetTotalMemoryInGb() { ulong totalCapacity = 0; try { var query = "SELECT Capacity FROM Win32_PhysicalMemory"; …
.NET Runtime
Kudu/SCM Failure on Azure Functions Flex Consumption - Deployment Blocked (404)
Update [Date - e.g., 2025-04-27]: We have since successfully migrated the application to the Classic Consumption plan, where Kudu/SCM is accessible and deployment works as expected (after resolving separate build/runtime issues detailed elsewhere).…
.NET Runtime
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
Resources rules file 'Platforms/iOS/Entitlements.plist' not found.
Hello I am using visual studio 2022 for windows and trying to build a IOS archive file in on my windows box which should then be transferred to my connected MAC so that I can then publish the app- I keep getting this error Resources rules file…
.NET MAUI
.NET MAUI - .NET9 - ERROR: XAPRAS7004 / NU1101 Unable to find package Microsoft.NETCore.App.Runtime.linux-bionic-x86.
Hello, I've been trying for a few months to solve a problem with .NET MAUI on .NET 9, I've tried to look everywhere, mainly on GITHUB but when I try the solutions that other devs have found, I have the feeling that it doesn't work on my side since I…
.NET MAUI
Suggested tutorial enhancement for module "Build your first microservice with .NET "
For this training page: https://learn.microsoft.com/en-us/training/modules/dotnet-microservices/3-exercise-build-docker-image It will help to mention that the backend API runs at [http://localhost:32001/Api/Product] If you just hit…
.NET Training
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…
.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
Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant
i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …
.NET
.NET
Visual Studio
Visual Studio
.NET MAUI
.NET MAUI
Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant
i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …
.NET
.NET
Visual Studio
Visual Studio
.NET MAUI
.NET MAUI
MAUI App Icon Not Showing in IOS and Broken Icon in Android
I have created a MAUI application for iOS and Android. The application is working successfully, but the app icon is not displaying correctly. Instead, the default .NET app icon is shown, and on Android, it appears inaccurately. Project…
.NET MAUI
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
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…
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
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
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; …