Content
visual studio,why some Method never show in hint list?
It took a long time to find out why the CheckAccess Can't use in my project, The reason is below. just want to know why? It's so unreasonable


converting a text to an image
I am trying to convert a text to an image. When I see the converted image, the font family is changed. This is my code that works fine on my localhost, but when I deploy the code to the server. The font family family that I specified in the image…


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.


How to add example value to 200 OK response in ASP.NET Core 6 Web API?
Hi, I have an ASP.NET Core 6 Web API, I am using Swagger UI. Is it possible to add an example value to 200 like the one in the 400? I want to add an example like this; { "referenceId": "732aa76f-6c9c-4598-adaf-775aef8a0f3d", …
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…
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…


Invoking azure functions server SignalR group functions from ASP.NET Core Client
I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…


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…


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


How to automatically add certificate to another machine using C# .NET?
I have a certificate like in the picture and i want when the user use my app the certificate will be automatically added to their machine. This helps my application bypass the Windows warning screen. I would like to ask about the solution of doing…


Multiple Column Pull Down Menu
How do I program the pull down menu below to display multiple columns? GitHub: https://github.com/DeanEverhart/ContosoUniversity1 Tutorial: https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-6.0 Environment: Net Core 6,…


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


ASP.NET Design with Bootstrap template (Open Source)
I am developing many web application using ASP.NET. For that, i used Ajax,CSS,HTML,etc. We were not used in depth Bootstrap and other technologies with ASP.NET. I have the requirement and want to develop .NET Web application with Rich and user friendly…


Visual Studio Code C# MVC Application - How to view Marked up HTML Code as if hard coded in an HTML Page...
Attempting to do code behind in a Visual Studio Code Application when I have done my own HTML Markup code in a routine in the C# code: . . . @ViewData["abc"] = "<br/>Message<br/Message2<br/>Message3"; …


How to Add the publisher to the trusted publishers store on all clients?
Hi, I have a problem adding a certificate to the trusted publisher store. I ran this command in cmd with admin rights but cmd said certmgr.exe not found: certmgr.exe -add certificate.cer -c -s -r localMachine TrustedPublisher If there is any solution or…


How to upgrade Xamarin native Mac application project to Mac .NET macOS application project
I find out 3 template in VS2022 for Mac, The first one is Mac .NET macOS Application, the second one is Mac .Net Mac Catalyst Application and the third one is Multiplatform .NET MAUI project. In order to upgrade and migrate my Mac Xamarin native project…


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


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