Content
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…


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…


How to support multiple names for a property using System.Text.Json Deserialization?
Hello together, right now I'm reading following learn article: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/custom-contracts It is written Support multiple names for a single property (for example, if a previous…


Does Maui-Android have an issue with Shadow property for the Border control?
When I define Shadow for the Border control (see XAML code below), Android fails to display. It works fine on WinUI. If I remove Shadow definition in XAML it works for Android. Does Android have an issue with Shadow? <Border Stroke="Blue"…
How to run PowerShell with admin right
Hi, I need to run PowerShell with admin rights to get permission to run a script in C# code. If there is a solution please leave a comment, many thanks.


Samples for Xamarin.iOS projects should be upgraded to .NET SDK-style projects in Xamarin Support Policy
I developed a cross-platform applications with Xamarin.iOS.framework and Xamarin.Mac.framework and Mono.framework. I found some anxious information in https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin. I want to know what's the quickest…


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 restrict scrolling and panning with single finger and enable with two fingers in UWP ScrollViewer using touch screen?
Hi, In an UWP application, I am having a ScrollViewer in the XAML which contains a StackPanel as Content. In that StackPanel there are some images. XAML: <Grid> <ScrollViewer x:Name="scrollView"…


CommunityToolkit.Maui.Storage.FileSaver on iOS strange
I have the latest release version of CommunityToolkit.Maui (5.0.0). When I run CommunityToolkit.Maui.Storage.FileSaver in my app on iOS I get a strange user interaction. The window shown looks like that in the iOS_FileSaver.png image attached. The…


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…


saving png image to the database
I am trying to save a .png image to the database. I have a field in database called sign with type varbinary(max) and I have following in the Model: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public byte[]? Sign { get;…


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…


Does MAUI support push notification
Does MAUI preview 6 have option to support or handle push notifications using FCM.


Printing a div card with exact styles as it appears on the web page
On my web form, I have these div card where there are labels with values, and two image controls. The labels on the card can have their font-family and color changed by the user o the client side to the desire of the user, using controls provided to do…


c# EF 6 how to make this better ?
Hello all, I need to find a solution for to have better performance on a method. As you can see in the picture i have a method who is call on a MVC Controller. This method will be call too much in more or less one hour. This method FindEvents, take a…


Change font in MAUI Blazor?
I have downloaded the font Comfortaa and saved it in the directory wwwroot/css/open-iconic/font/. In the file index.html I loaded the font under <style>: I also specified the alternative font "courier new". As you can see, it seems…


How to run windows task schedular using Service Account
I am developing many tools using .NET EXE and SSIS packages. My question is, I want to run all the scheduler (EXE and SSIS Packages) using service account. I have two accounts. One is "Admin" Account. Two is "Service" Account. Admin…


How to bind table data dynamically to pdfmake table body using jquery
I have created a HTML Table and I want to download selected columns into pdf using pdfmake below is my code example html code :- <div id="tablediv"> <table id="stockalloctbl_1"> <thead> <tr…


Correlation failed, cookies not found using OpenID in ASP.net core MVC 6
I am getting the below error in my ASP.net core MVC 6 application, my application is using Keycloak and is running in a docker container. We connect to Keycloak using OpenID, but after logging in Keycloak this error occur warn:…

