Content
在wpf中,我想像winform那样判断resize的开始和结束
I need a event in WPF which can tell me when does the window's border stop being drag,because i cant run my large code everytime by use the event named SizeChanged
WPF Mousemove is a noticeable lag
I am making a UserControl called VolumeScrollBar to control the volume a video player I am working on. Now the problem I am having is when I slide my SwitchPath it moves noticeable slower than my mouse. How can I fix this ? note: everything is working…


Shell Navigation and using a Dictionary to pass values.
I am trying to learn how to pass complex data types to a page using a Dictionary. As you can see in the example code below that Name was hardcoded, but I was wondering what is the best practice if I wanted to dynamically set the Name property in the view…


How to download rest api response content into excel using windows forms application c#
I'm trying to download REST API response content as (original format) excel (.xlsx) And I have used this method to return the response content public static string DownloadFileName() { try { var client = new…


How to search dictionary key and find the value in C#?
Hello: I have the following Json data stored into one dictionary: public class JsonKey { public int? Index { get; set; } public string? ID { get; set; } public string? Name { get; set; } …
How to use Json Data as dictionary key and find the value?
Hello: I have the following Json data stored into one dictionary: (newtonsoft.json) public class JsonKey { public int? Index { get; set; } public string? ID { get; set; } public string? Name { get; set;…
File type cannot be inspected, CorrelationId=4ac4cbff-e67f-4ce9-81b7-254d7728cdb9, CorrelationId.Description=FileHandler
Hi Team, I'm using Microsoft Graph v1.0 to read emails. Recently we started receiving emails which are encrypted with below label. When I'm trying to read the attachments of these emails, I'm receiving RPMSG file which I'm unable to decrypt. I'm using…


Compilation of XSLT is not supported on this platform
What app I am making I'm making a UWP (Universal Windows Platform) app. With which, a user drag-and-drops .xml and .xsl to convert into .pdf . Internally, they are converted into .html before converting into .pdf. Problem The problem is that…


Cannot convert from method group to System.EventHandler. Changing handler signature shows error when dealing with appdomain
Hi, I have the following two programs (1) Windows forms application (2) ClassLibrary1.dll In the winform, the dll is loaded using appdomain. The winform subscribes to the action('TestAction') in the dll. I am trying to access the value returned by the…
Issue with providing load balancing information using AxMSTSCLib
I am trying to establish a remote desktop connection via a remote desktop session broker in my C# application using the 'AxInterop.MSTSCLib' where I encounter problems with the transfer of the load balancing information. Basically, I create a new object…


BingAds upload offlineconversion
HI, I am following this sample code from site https://learn.microsoft.com/en-us/advertising/guides/code-example-offline-conversions?view=bingads-13 to upload offline conversion goal using Campaign Management service. I have a doubt, with…


Integrate Google pay in xamarin application using stripe
I need to integrate google pay in xamarin application and it should work for both android and iOS application. I followed the link https://stripe.com/docs/google-pay?platform=android but here this is in java. I got this link also…


XamlCompiler.exe fails with code -1073741515 on GitLab CI
I am trying to set up CI on GitLab for my MAUI Project. My setup uses a Windows Runner with a Docker Container that uses the following .gitlab-ci.yml ` image: mcr.microsoft.com/dotnet/sdk:6.0 stages: - build build_job: stage:…
Adding text watermark using ms interop doesn't work if there is a table or an image on header
here is my code to add text watermark to the center of a document. foreach (Microsoft.Office.Interop.Word.Section section in wordDoc.Sections) { Microsoft.Office.Interop.Word.Shape wordShape =…


SignedXml CheckSignature is returning false everytime
We receive a SAML response from the client and when I am trying to validate the signature value using signedXml.CheckSignature(cert,true) then this method is returning always false. I used the example code related to CheckSignature(X509Certificate2,…


Creating a meeting fails with invalid address while address of recipient is valid
original question at: https://answers.microsoft.com/en-us/outlook_com/forum/all/creating-a-meeting-fails-with-invalid-address/d992fabf-b161-4952-859f-a50ed3a13d5d?messageId=e38799e1-b2c1-46ca-815c-0d182e41b6e0 Our application calls the local Outlook…
A first chance exception of type 'System.Net.Http.HttpRequestException' occurred in mscorlib.dll
Hi, i am trying to generate the authentication token using AcquireTokenForClient but ending up with Httprequestexception, The code crashes at async method (cca.AcquireTokenForClient(ewsScopes).ExecuteAsync()) below is the code snippet (a well known…


Difference between native API and windows MDM profile
What is the difference between Native API(Win32) and MDM in windows. Why MDM started to grow apart from native API. What are the Pros and Cons of using MDM over Native API


Saving XML Data from Endpoint to my database
I am trying to pass from a "POST" endpoint that contains data in XML format to my model class then save the same to my database. It is possible for me to save the data when the XML is in the format below: …
How to upload Nested Object Collections To solr using solr.net and C#
i have created this class to update it to schemaless solr Core public class PendingQueueProcessingCore { [SolrField("QueueID")] public int QueueID { get; set; } [SolrField("ListID")] public…