In a Blazor app I have a file uploader that can take multiple files. When the user clicked 'upload' I used something like this: private async Task HandleFileUpl
I have string which I need to split() and assign it's value into two variables. Is it possible for split() to return tuple instead of string[] so I can do somet
I'm trying to convert an IQueryable to IQueryable to allow me to take advantage of the dynamic filtering offered by Linq in the EntityFramework context. I'm try
I'm using C# 10 new feature File-scoped namespace declaration. I have old code like this namespace SampleCode { public class MyClass { } } I'm movi
I am trying to create an azure function that'll clear down files older than a certain age, but when I access the properties of the file they are all null, what
I have a C#-Desktop-app with some GUI that look likes this in the Designer: The Property "Localizable" ist set to True and "Language" is "German". Right now th
I have looked at this question's selected answer, Retrieve Credentials from Windows Credentials Store using C#, which uses the CredentialManagement NuGet packag
How can I get this carousel of cards in Xamarin Forms? I did it in ASP.Net-MVC C# and I'm using a JS plugin and HTML and CSS. Now I need to do it using Xamarin
I need an ID that uniquely identifies an USB flash drive. The ID should already exists on the flash drive, so that it is the same ID on every PC I plug it in. I
I am trying to scaffold and I get the following error: There was an error running the selected code generator: 'No parameterless constructor defined for typ
I want to inject a data set using C# and elastic + kibana version 8.x. On console at Kibana it works fine. The dataset is not saved at elastic and at the C# cod
Is it possible to apply authorization against two or more policies? I am using ASP.NET 5, rc1. [Authorize(Policy = "Limited,Full")] public class FooBarControll
Im using the .net maui blazor to get the device to take a photo, then as its taken it, i wish to display it on the screen so the user can see what image they ha
I've implemented the HomeGraph API with the help of the package Google.Apis.HomeGraphService.v1 (1.50.0.2260) It seems to work fine as well, the ReportStateAndN
I want to calculate / estimate what would be the file size of image (.jpg) after doing compression with Encoder.Quality value. Here I should not perform any com
I need to get all tables in the database using EF. I need them to go table by table and extract certain information from each. Any idea how?
I am facing this issue when I am trying to invoke a COM Visible c# class in classic ASP Page which tries to execute one MySQL query against database.(Here MySQL
I am investigating using MQTT (or AMQP) over a satellite connection. I am using MQTT over HTTPS towards an IoT Hub in Azure. Data is very expensive on satellite
The Unity project makes frequent use of C# functions that supply a type in a diamond operator after the method name. In the Unity source code it's defined like
I've noticed that in some case, Visual Studio recommends to do this await using var disposable = new Disposable(); // Do something Instead of this using var di