After upgrading Windows Server to 2016, errors occur in the .Net program irregularly
The .net program is running on WindowsServer A. The .net Program call a WebServer on WindwosServer B. After we upgrade the Windows Server A from 2012 to 2016. errors occur in the .Net program irregularly. error Message : 存取暫存目錄遭拒 : Access to temporary…
How to copy big file 5g with task and within impersonation
Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,
How to handle long operation using Task
Hi, How to handle long operation using Task taht can take few minites? Thanks,
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…
I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board
When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…
Multiple forms with common buttons
I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…
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?
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;…
internal error in the .NET Runtime at IP 70DE92C3
Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"
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 ?
Community toolkit install is not working
I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…
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…
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…
FCM V1 notifications are not delivered from Azure Notification Hub
I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…
can not find path for sqlite db in Maui app
i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…
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 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…
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…
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…
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…