Blocked on migrating to Maui for App Widgets: Not able to start activity for configuring the app widget
Some widgets which need a configure activity started, they fail to get created because the activity does not start. In Xamarin, the line to trigger the configure activity was AppWidgetHost.StartAppWidgetConfigureActivityForResult(this.MainActivity,…
C# Program can't find XAML page in DLL
I have a program with a window declared as StartWnd (in the main assembly) derived from a class, WzdBase in a DLL which in turn is derived from System.Windows.Window. StartWnd doesn't provide its own XAML page. Rather that's in the DLL and provided by…
![](https://techprofile.blob.core.windows.net/images/c16866ad6ce74b5db35876d6e736f077.png)
![](https://techprofile.blob.core.windows.net/images/c16866ad6ce74b5db35876d6e736f077.png)
How control on view height when soft keyboard appears because it covers typing message
when I type message, the keyboard covers the typing message box and can't see or control input area because it not.NET MAUI Control it's related to WebView Component, how I can control in this view? C# Code: MenuCurve.Source = new UrlWebViewSource {…
Unable to load assembly on Azure Sql that uses HttpClient object
Hi Team, We have developed a UDF in C# that sends a request to Http rest endpoint. For that we have used HttpClient object in our code. Getting below error while creating assembly using our dll. Msg 10301, Level 16, State 1, Line 1 Assembly 'Mydll'…
![](https://techprofile.blob.core.windows.net/images/c4mRkDtLdU6n6fSv2i9uBg.png?8D843C)
Cannot insert data into table UserClaims
I am using ASP.NET Core 6, and when I try to add Claims into table UserClaims I get this error: Cannot insert the value NULL into column UserId table UserClaims column does not allow nulls UPDATE fails var user = await…
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
How to Print a PDF File in C# WPF
Hello everyone , I have a PDF file with several pages and I need to print it using C# and WPF technology. Can someone provide some guidance on how to achieve this and customize the settings, such as page size, orientation, and margin? Thank you.
What is the replacement of Android.Support.V7.Graphics.palette in Maui world
Hi Maui experts, I have a following piece of code in Xamain app, which I want to port over to Maui, but don't seem to find the alternative. The intent is to extract the main theme color from the bitmap image. Any ideas? palette =…
What is the replacemet of WindowInfoTracker in Mauii
I am using WindowInfoTracker in Xamarin to detect if the device is foldable or not, and if it is foldable, I want to know if it is folded or half folded itc. I don't see any replacement of this in Maui. If there is any alternative, I would like to know…
Which nuget package to use for Android billing Library
I got this email from Google: From Aug 31, 2024, all apps must use version 6.0.1 or later. I am migrating my Xamarin app to Maui. Which nuget package should I use to qualify the above requirement while using Maui. Is this the correct one:…
Why wouldn't an app recognize a Certificate with a CSP of "Microsoft Software Key Storage Provider"...
...but will recognize the same Cert with the CSP set to "Microsoft Enhanced RSA and AES Cryptographic Provider"? In other words, the app fails when I import the certificate into the server's local key store like this: certutil.exe -importpfx…
How I can do raw query in jquery datatable to acces to the files from sqlserver file table?
Hi, I have an asp.net core 5 application that displays the entire sqlserver file table content. My question is : How can open the file in colunm Name? I would like to modify the code below (extract from jquery-datatable-in-aspnet-core …
How to include PDF Viewer in WPF Application
Hi I have to include the pdf viewer in my wpf application. It should have ability to navigate to other pages of pdf. It should should pdf in fullscreen mode. Currently i found no support in wpf . Please help in this case.
How to include PDF Viewer in WPF Application
Hi I have to include the pdf viewer in my wpf application. It should have ability to navigate to other pages of pdf. It should should pdf in fullscreen mode. Currently i found no support in wpf . Please help in this case.
Strict Transport Security header missed in API response
Hi Team, We are using the .Net core 8.0(long term support version) for our .Net Core services , we enabled the HSTS at service level by using the // HSTS Security Headers services.AddHsts(options => { options.Preload =…
.NET MAUI ios Application Crashes When Published. Can Someone Guide me?
I maintaining .NET MAUI application that are created using .NET MAUI Blazor hybrid application project. now wwe need to publish it on Apple Appstore and there also some platform specific codes for android as well. so what i did is create .NET MAUI multi…
How to create dynamic report depend on user input by ASP.NET Core?
I want to build a dynamic report by Asp.net core -EF-, I searched for many ways and ideas, but it doesn't support my idea, I am so disappointed, the core idea of my project is to get tables and columns names from the database and displays them for the…
After I upgrade Visual Studio 2022 from 17.11 preview 7 to 17.12 just now, my WPF project not functioning properly
It stuck at the the following code: public partial class MainWindow : Window { public static MainWindow? Current { get; private set; } public MainWindowViewModel ViewModel { get; private set; } public MainWindow() { …
ContosoPizza.http file not being created
When following the tutorial for creating a web API project, on page 3, part 4, i enter the following command: dotnet new webapi -controllers -f net8.0 however it does not create the ContosoPizza.http file as the guide states it should. Please advise…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
Using Enity Framework 6.1 and initial query VERY slow.
When performing the initial query using EF, it can take up to 9 mins. Though if you rerun it again and again it takes seconds. If I capture the query from the profiler, it always runs in seconds. If I wait about 10 / 15 mins the slow initial process…
Using Enity Framework 6.1 and initial query VERY slow.
When performing the initial query using EF, it can take up to 9 mins. Though if you rerun it again and again it takes seconds. If I capture the query from the profiler, it always runs in seconds. If I wait about 10 / 15 mins the slow initial process…