Content
Problem with emulator(s)?
I have the following XAML in a MAUI app. <CollectionView Grid.Row="2" ItemsSource="{Binding selectedAward.winnersList}" > <CollectionView.ItemTemplate> <DataTemplate> …


How to navigate to another page when not on UI thread?
I'm building a mobile and desktop app with Maui + MauiReactor that communicates with my server over Websockets. I have this working fine. My problem is that if I try to Navigate to another page when I receive a Websocket reply: await…


C# parsing program
I have created a C# program using 2019 visual studio enterprise. It takes a GEDCOM file and parses it to create a work file. I have since changed to 2022 visual studio community. But when I try to duplicate the code in community it creates a WPF project…


The MAUI GraphicsViewDemos image draw causes iOS app to abort
The GraphicsViewDemos app found at https://github.com/dotnet/maui-samples/tree/main/6.0/UserInterface/Views/GraphicsViewDemos aborts on iOS when the "Image paint" option is selected.


Detect if user has muted/unmuted microphone in messengers (Skype, Discord, Telegram) with C# on application level?
I am writing a program to collect a Windows user actions data: clicks, outlook meetings, microphone and webcamera usage, etc. Something close to key logger, but with additions. I have a task to collect data if user has muted or unmuted his microphone or…
How to do NTLMv2 auth when consuming web service in Xamarin.Android client?
We have a legacy app built with Xamarin.Android that uses HttpWebRequest to consume a web service. We're authenticating with NTLM (not v2) by setting the HttpWebRequest.Credentials property to an appropriate NetworkCredential object. The customer has…


Viewing Embed Link (Thumbnail) that is the content of a property
I would like to be able to access an embed link that is the string content of a property in the same manner that the code below allows me to access a web link that is the string content of a property. <a href=@Html.DisplayFor(modelItem =>…


Custom configuration provider with sqlserver
Hi everyone, I need to create my own customized provider configuration with a sqlserver database in order to offer my client (who manages his website) to change some settings. My idea is to use the settings in the json file for the "system"…


How can I figure out what nuget package is throwing an error about Xamarin.Android.Support.v4 no longer supported?
I have an old Xamarin.Forms app for iOS and Android that I am trying to upgrade to work on the latest Android OS. When I build I get these errors: …


How to update appSetting for a Background Service (Service Worker) (.NET 6)
Hello, I came to ask you for your help, please. I have created a Worker Service which periodically deletes files in a folder. My path to the folder is stored in an App.config file, I read the value via ConfigurationManager. It works, but I want to be…
asp.net תקלה
היי הורדתי visual studio 2022 אני מחפשת ליצור פרויקט של asp.net enpty web site ואני לא מוצאת זה נותן לי רק asp.net core מה לעשות? תודה


Programatically force winform app to open at 125 scaling using Dotnet core 6
We have built a DPI Unaware Winform app using DotNet core 6 which works fine on windows operating system with 100% and 125% scaling options on all devices whether it's laptop or desktop . Example screenshot for the 125 scaling is given below The moment…


How can word file displayed in a div container be printed in a pdf format?
I am trying to have a single page that will can be used to display either a word (.doc/.docx) or a PDF file. Instead of having two pages, each for word and pdf files. It’s a success but printing either of these formats in PDF is where I have…


How to read the large data from serial port in visual c++/cli
i am trying to read the large file from serial port expected output 112 212 311 411 but i get new line between some data like output 112 212 /n 311 /n 411 I got some extra new line .how to solve it private: System::Void…


How to hide net maui tabbar correctly?
How to hide net maui bottom tabs correctly? To see it, create maui project, add two pages, name them FirstPage, SecondPage. add shell tabbar, for example two tabs: 1st tab, 2nd tab, set datatemplate for them FirstPage. Then create in FirstTab Button to…


In MAUI, Top status bar is not display properly if I change it from Portrait to Landscape mode
In above image, on top left you can see the status bar background color is not updating in landscape mode, in portrait mode it's working file but as soon as I rotate into landscape mode it showing me like this. Not sure why it is happening only for ios.…


Mail functionality breaks in Azure Web Apps
Hello! I have recently started working on an ASP.NET Core application that is to be deployed as an Azure Web App. As part of the App, we need some sort of mailing functionality in order to notify customers upon purchases. However, every part of…


Circular Progressbar through SKIA Sharp is not working in MAUI
I have created a custom control for circular progress bar using skia sharp in xamarin forms and it is not working in MAUI after migration. I have shared the code below, please check <skia:SKCanvasView x:Name="canvas" …


How to Open Files on Xamarin Android Using FilePicker
using Xamarin.Essentials; (at the top of the file) async Task<FileResult> PickAndShow(PickOptions options) { try { var result = await FilePicker.PickAsync(options); if (result != null) { string Text…


How to improve the MAUI Button responsiveness in a "this.Dispatcher.Dispatch" thread?
I have a MAUI application with two "this.Dispatcher.Dispatch"ed NavigationPages launched from the App class, both of which have two ImageButtons both of which have extremely poor responsiveness as compared to the buttons of other…

