How to get Custom Namespaces and Prefix for an XML file?
I have a structure in which I fill in data and I want to save it as an XML file. How can I set Namespaces and Prefix so as to obtain an XML file with the structure as in the example below? Thank you! public class AuditFile { public Header Header { get;…
How to update entire MAUI workload to latest? (8.0.20)
How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…
Samphore Silm usage in two diffrent project.
Hi, I have maui app in windows, .NET 8. I have also worker service in NET 8. I have class librarary common to both projects that use Samphore Silm. SessionTokenSingelton.GetInstance().GetSessionToken(key); Both apps running on same machine. Does every…
How to implement layered architecture?
Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…
Round in the navigation of flylou
Hi, In https://github.com/dotnet/maui/issues/21576 there is attached sample. Why there is round in the navigation of flylout ( See attched picture) and how is can be fixed ?
how to save in other storage folder in android?
I am using .net MAUI and want to save the sqlite db to other folder. I know I can get the FileSystem.AppDataDirectory and save the db but it will be deleted when I remove the APP. how to keep the db when I remove the APP and when I reinstall it I can use…
CoreMessagingXP.dll crash
Hello, I am maintaining a .NET application with a WinUI3 UI which sometime crashes. In the event viewer I see that the crash is caused by CoreMessagingXP.dll but I have no idea about the real cause of the problem since I see the application crashing…
Xamarin.Android specific: Error Code 53000, but device is compliant.
Prerequisites: Android phone with V12 Setup Microsoft Intune company portal Register your device with InTune successfully Microsoft credentials or account to log in Expected Result: I want a user to log in with a Microsoft account and fetch a…
Maui packaged as iOS 17 system failed to send message using udpClient No Route to Host
I have implemented the following code in C#: IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(udpServerIp), udpPort); udpClient.Send(requestBytes, requestBytes.Length, remoteEP); However, Packaging it as Android can send UDP messages, when using…
ContentView as CollectionView's ItemTemplate with custom Command
Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…
Versioned Artifacts for .NET Framework and .NET Core application(s)
Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…
Entry UnFocused Event not trigger after change value
After changing the value of an entry, the 'Entry Unfocused' event does not trigger, nor does it trigger when clicking on any other page after changing the entry value. please provide me any solution or any patch to fix this issue.
Xamarin iOS unable to debug over local device iOS 17.1.1
I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…
Is control.TrayLocation in resource file is really required?
whenever I add a non visual control(tooltip, dataset etc) to windows form, an entry control.TrayLocation gets added in the resource file. is it really required? is it okay to delete this entry before checking-in into source control?
On Click of hyperlink Teams chat opening
Hello Team I am working on a requirement which on a click of hyperlink. I am using Microsoft Razor Microsoft Teams should open and a particular person chat should open, message should contain a message along with a div ready to be delivered(Waiting for…
How to upload file and view those file in modal popup using gridview
I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…
Is it possible to create and set styles and/or template for combobox in c# only?
Hi, I'm trying to setup a app frontend in C# only. I'm more practiced with c# then XAML, but also have the feeling that I can make the app windows/pages more parametric in this way. Thus far I'm succeeding in this, however when I tried setting up…
How to reference/consumme assembly manifest based on CPU in WPF C# Application project?
I want to reference an older Win32 assembly from a Wpf C# application. I do have both x86 or x64 versions of the Win32 assembly but I don't see how to reference based on selection target CPU.I can only specify either one. The Visual Studio C# project…
Mac question
I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…
How to debug and fix 'Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)' error on MAUI Android app
I have an Android app published in 'open testing' in Play store. And I am seeing 2% crash rate with this error. I have got the logcat file for 2 crashes, but not able to figure out any source/reason for crash. I am really looking for some help to make…