how to highlight searched text in DataGrid Cells on WinUI 3 application. Or how to use RichTextBlock in the Datagrid cell?
how to highlight searched text in DataGrid Cells on WinUI 3 application. Or how to use RichTextBlock in the Datagrid cell? I'm writing a C# WinUI 3 Desktop App with DataGrid. And I want to use rich text in the DataGird cell to highlight the searched…
Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException: 'The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.'
Hi I am working with retrieving data from a SP list. I am able to connect to the list, get the list name and count the number of records (items) from the given list. Next, I wanted to get the data from a particular columns. Say I have the following…
Is it possible to read/store/retrieve data from Excel spreadsheet from Share point site to WPF application?
Hi, I have connected to Share Point site referring the following blog: https://www.c-sharpcorner.com/article/sharepoint-csom-for-net-standard/ I have created a sample test spreadsheet in the Documents Library named *testSpreadSheet.xlsx * I have a…
How to Write/Store data in an Excel spreadsheet that is located at Share Point?
I am working on writing or storing the data into Excel spreadsheet that is located at a Share Point site. I am able to connect to the Share Point site and obtaining the excel spreadsheet by passing the relative URL. Using Memory Stream, the contents of…
How can I upload x86 and x64 directories to github?
HelloBa I uploaded my project to github. However, I created a Lib folder in the directory where the project file is located. There are x86 and x64 folders in it. This directory is not uploaded to the repository. How can I include this directory and its…
C# App doesn't start up when running Appium WDA on iOS
We are using Appium to test our multi-platform app. (Windows, Android, iOS). This App is written using C# in .Net 8 with MVVMCross. However, since about month or 2 ago, our App crashes on start up on iOS when the Appium xcuitest WebDriverAgent is…
.Net MAUI Binding for ListView ItemSelected
Hi all, I am trying to bind the ItemSelected of a ListView to a View Model, but am experiencing some issues (due to my own misunderstands around how it all works). I have view: <?xml version="1.0" encoding="utf-8" ?>…
multiple headers to the GET request
How can I pass multiple headers to the GET request. below is my code. the response code is always BadReqest. Not sure what am I doing wrong.. var parameters = new PayParam { token = "12345" }; var json =…
Using Graph API to Send Messages in a "One-to-One" Teams Chat from an ASP .Net Core Application
Hello Microsoft Team, I have the following goal: We want to send a message in a "One-to-One" Teams chat from an ASP .Net Core application. For this, we intended to use the Graph API and have created the following example based on the…
Azure Cognitive Speech Services Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
I'm having an issue to connect to the Azure Speech Services custom domain using Entra Id. When I create a SpeechConfig using Domain and Subscription key, everything is working fine, but when I try to use Aad token, the the connection fails. This is my…
How to fix Signature validation failed when trying to validate an access token of Microsoft Entra ID
Hi, I'm trying to validate my access token signature from Microsoft Entra ID, as you can see in the below image, the "kid" attribute is different from the keys retrieved in the second image below that were retrieved from…
Windows 11 22H2 has a different way of using the JS engine?
Dear support, Our company has a solution built on a WebBrowser that will use the JS engine. After upgrading to Windows 11 22H2, we found that the solution behaves differently from before. We did some research, and then found that Windows 11 22H2 has…
Issue to CR LF
Hi, The code of https://1drv.ms/u/c/17ec75244bac022f/EZcvtsmnIspDlnN2vUdJhG4BDB_nZL8TMIq-BNKi6_akyA?e=lPX5bY is not fine to detect that it is missing CR LF on the last line of…
How to Automatically Renew Microsoft Azure AD Refresh_Token in a Chrome Extension Without User Interaction or Configuration Changes?
I am using a Chrome extension for authentication with Microsoft Azure AD via the PKCE flow. The refresh token has a 24-hour lifetime. Is there a way to renew the refresh token automatically, without user interaction and without modifying Azure AD…
DateTime.ParseExact returns today if date string and format are set to "General"
During troubleshooting, I came across this weird behaviour which occurs when parsing text to create a DateTime object in C# (in .Net Core 8.0). Can anybody explain why the following statements return today's date when I would have expected them to…
No se puede reconocer la cadena como valor DateTime válido
Buen día. Tengo una aplicación web, desplegada en el IIS de un servidor que está en la nube. Constantemente me sale un error de manera intermitente que indica "No se puede reconocer la cadena como valor DateTime válido" , luego de un rato la…
Burn the files on CD with the full directory tree structure.
The application built on C# Winforms, Framework 4.6.2 and there is the need to burn all the files and folders from the root folder, including itself to CD. The entry parameter is the source root folder path. The folder contains inside all of the needed…
How to troubleshoot the exception, Could not create TLS secure channel?
Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…
Connect to Fabric SQL Endpoint from Azure APP Service WebJob in C#
How can we connect to a Fabric SQL endpoint using a C# console app published as a webjob? We are using ADO.NET to access SQL endpoints, but we get the following error: "A server name like tcp:xxxxxxxxxxxxxxx.datawarehouse.fabric.microsoft.com,1433…
C# Extension method specificity
Suppose I have an interface and a class implementing that interface: public interface IFoo {} public class Foo : IFoo {} Now suppose I have defined an overloaded extension method on both the class and the interface: public static class FooExtensions…