Content
Best options for creating modern C# database programs
Hello, I have been using Microsoft Access for a while to create programs for small business activities. I would like to create more modern programs using C# to take advantage of the new Microsoft technologies for the front-end and back-end database. What…


c# Server, Client, Duplex mode
Hello, I'm looking for a good example to exchange this between server and client. Both should be able to make unsolicited inquiries. Duplex operation. Who can help me, who can post a good example? IP="127.0.0.1" Port="8029" …


How to give user to only access his user profile and block other all folders for him in windows 10
Anyone know how to give user to only access his user profile and block other all folders for him in windows 10


How to ignore ETag checking and fix this error
I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…
seralize object returns empty file after save
Hello All, Morning: I'm reading a XML file to fill the datagrid have no issues; then i modify the some values in the datagrid then save back to the xml file without changing the structure of the file. When i tried to seralize the file, empty file is…
Intent Filter / DeepLink .Net MAUI
I want to implement an application that will be viewable in my application using Intent Filter. I added in the MainActivity.cs file Filter Intent [IntentFilter(new[] { Intent.ActionView }, Categories = new[] { Intent.ActionView, Intent.CategoryDefault,…


Basic Syntax Format of a C# Console Application
I am new to C#. I am confused on how to initiate a C# console application. I tried some examples except none of them seem to work. The format of a C# Console Application has changed a lot recently, so I don't know how to start. Could someone help get me…


How to read a file from external server
Hi I want to read csv file from the following URL (display only rider name) [http://www.votrecourse.com/medias/xml/?C=M;O=D/] file name = timetrial.csv pls help me in this.


UWP CreateOutputReport failed to create report ID
The following code has an error, System. Exception: "The data is invalid. The specified report type is not present. What is the reason? Error statement: var outputReport = hiddevice.CreateOutputReport(0); The handle was opened, but the output…
Problem querying JSON using LINQ when there are semicolons in the name tag
I'm trying to work with a Json file from an outside source. They put semicolons and additional data in some the field names. I'm trying to query the data using LINQ and having problems. Is there a way of specifying wildcards in LINQ queries? I'm…


Performance issues - Sql Server 2022 Standard Edition
Hi, I've been using SQL Server 2014 express to store data and interact with my C# applications on Windows 10 for different years. I wanted to do some test with Sql Server 2022 before upgrading to that version so I've installed the Evaluation Edition (all…


Parse an array of objects to a JSON tree structure
I'm trying to use the bootstrap treeview and the JSON needs to be a certain format. I currently have this format: var data = [ { make: "Chevy", model: "2500", location: "lot" }, { make:…


Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'
I have a .NET Console 6 to access API data. The application works on my desktop (Windows 10) but an error "System.Net.Http.HttpRequestException: The SSL connection could not be established" is thrown when running the application on Windows…


Could not resolve type with token 01000021 from typeref
I am trying to create virtual appointments based on this documentation: https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=csharp Here is my code: InteractiveBrowserCredentialOptions…


Debugging Shell Navigation
Hello Friends, I was wondering if anyone knows where to put my DebuggerDisplay Attribute annotations so that I can debug my navigation requests. Thanks !!! Debugging navigation Some of the Shell classes are decorated with the DebuggerDisplayAttribute,…


C# TCP/IP, Client with reconnect and timeout
Hello, I am looking for a good example how to create a client. There should be a timeout if no connection could be created. Then until 3 times automatic retry. If there is no response after the request, there should be error message, timeout. The request…


C# Events and Delegates - when should I take what?
Hello, I'm looking for a correct way to handle events and delegates. Do you have a good overview, a good example? When is an event enough, when do I have to switch to delegates? If I trigger an event and want to pass a complete object, then I need a…


How to loop through JSON data?
Hi, I am calling an api and this is the return data. Could you please help me to loop through the JSON data? The JSON string - { "Outputdata": { "@xmlns": "http://xmlns.oracle.com/apps/pa/.......", …
How to use Service Principal/Managed Identities to access Azure App Configuration from .NET Framework Application?
I need to disable Local Authentication Methods (Access Keys) for Azure App Configuration Stores. Currently for an ASP.NET Framework application, I am using the following for accessing the App Configuration Store from my…


I am not getting a System.AccessViolationException using GetOleDbSchemaTable
I am developing an application that has been working just fine until today. The only variable in my environment is I received the latest Windows 10 & Office 365 patches. This code has been functioning fine until after I rebooted from the patches. …