Certificate Revocation List
Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…
Solution Parser not working in .Net8
Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…
double roundoff error in calculations
All of these following code statements should yield the same value, but the second to fourth statement have a second to last digit rounding error in c#. The first statement is correct and fifth to last are correct. Do you know this is…
How to access/Update Group Policy Objects using C sharp
Hi, We are referring below link to access group policies programmatically using c sharp. https://learn.microsoft.com/en-us/previous-versions/windows/desktop/wmi_v2/class-library/gpo-class-microsoft-grouppolicy This is sample code which we have written…
Procedure for a m:n data relationship
Hello! Are there any tools or tips on how to create a data model? Once the data model is there, how best to deal with primary and foreign keys. The based on XML or JSON format. Save and read XML or JSON files. <MappingTable> <Parameters> …
COM timeout Excel
Microsoft 365 Excel version 2403. C# application (WPF on .Net 8) using excel COM interop ("automation") which adds a menu in the Excel application and setsup a click handler (in WPF). All works normally just fine, but when debugging and say…
How to Increase/Decrease mouse pointer moving speed on a WPF application surface?
Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…
Send Emails after Business Trasnaction in Azure
Hi All, We have a requirement to send emails containing business data (and contract file attachments) to external users (outside Org. domains) from applications hosted in Azure. Our backend services are either Az Functions or Services hosted in Azure App…
The process cannot access the file because it is being used by another process
I tried to update me db schema in my code and after changing that if i run my application i ma getting the error as follows The process cannot access the file because it is being used by another process but my db is not opened anywhere so how to…
Dropbox on .NET Maui
I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…
Answered my own post -- how to read ObservableCollection to an array --
I may be doing this the wrong way, I want to read all the Line in my listview to be able to add them to an array. xaml <ListView ItemsSource="{Binding MyItems}" IsGroupingEnabled="True" GroupShortNameBinding="{Binding…
How to convert HTML to RTF file and RTF to HTML file in C# UWP?
When I attempt to convert HTML to RTF and RTF to HTML files, I cannot find the Microsoft Native Library needed for conversion. Could you please assist?
Not able to get all paging checkbox checked records in gridview asp.net c#
I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…
How to fill a ListView?
Dear all, I'm a beginner in C#. Could anyone tell me how to fill a ListView?
Stop background worker
I am using C#. I have a that has a background worker reading a file. How do I stop it before it is finished by pressing esc key.
Android Emulator waiting for debugger to attach in .net maui app
I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…
image not loading in modal popup imageurl in asp.net c#
i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…
Method that returns an anonymous Object
Hello Friends I just have a question about the code below that uses Dapper to get data. I was wondering why do I need the code new{Id} and how does Dapper handle that one property. Thanks ! var output=_db.LoadDataItem<PayerModel, dynamic>(sql, new…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
Enabling specific cipher suite in C#
We are trying to upload a file to a device or download a file from a device using a C# WPF application. We are using .Net Framework 4.5 to achieve this. The device in question supports only two protocols, namely: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 …