I have been trying to transfer files through a C# code, but it doesn't seem to work. Although the following line in command prompt works fine. "C:\Program Files
Currently I am using .Last to find the last number in a database and then assign the incoming information a number that is plus one higher the last number. var
I'm trying to put any selected item's name in my list box in the textbox next to it. But I've got trouble doing so. Here's a little bit of my code: <Doc
WCF service returns timeout error as below. The request channel timed out while waiting for a reply after XX:XX: XX increases the send timeout value on binding.
I have .net core test project. When I build it in visual studio or use the TestManager it build without a problem. But when I execute the following command on t
I have a server with 2 NUMA node with 16 CPUs each. I can see all the 32 CPUs in task manager, first 16 (NUMA node 1) in the first 2 rows and the next 16 (NUMA
I have a database table with columns of type dateTime. Now I need to see if there already is a row with today's date, but I don't know how to compare the column
I'm testing a .net core 6 multi-threaded service worker app that processes batches of data rows and tables on sql server. I use serilog to log to file only. Whe
I need to open mail file attachment directly from mail. Let say I have .txt file. I have already attached it to my mail. But now I need to open it, change some
I am working with C# Outlook Object Model (with a little bit of C++ extended MAPI for decoding TNEF for RTF mails) and am trying to find a way to get the attach
I've created an OAUTH2 authorization server which uses client credentials for authentication and is responsible for the issuing of JWT tokens. When I place my
ServiceFilter we must register in Startup.cs. TypeFilter is injected by Microsoft.Extensions.DependencyInjection.ObjectFactory, we don't need to register that f
I'm using Microsoft Visual Studio Installer Projects for my Hybrid Widndows Forms/WPF project. I need to make sure the user has closed the Application (an older
Serialization/deserialization turns a collection of a base type with child-type items in it into a collection with base type items only. Is there a way to set u
I have a function that's supposed to return different info from an EF LINQ query based on an Expression and/or lambda that's passed to it. Here's my code: pub
I am new to programming. I was hoping for some help to correct the below code. I have a WinForms application using an Azure SQL database. overall I am trying to
I am trying to create multiple measures in Power BI through advanced scripting in Tabular editor that would replicate a Calculate(Sum(ColA),Keepfilters(ColB=i))
I would like to generate a new C# Class or C# Interface in Microsoft Visual Studio Code following the newest C#10 file-scoped namespace syntax. https://docs.mic
I try create language switch on my site. I've add cultures in Startup: IList<CultureInfo> supportedCultures = new List<CultureInfo> { new Cultur
How do I receive an attachment from a user? I've tried iterating through the Attachment object to extract the content of attachments, but it's always null: fore