Skip to main content

Questions tagged [c#]

C# (pronounced "see sharp") is a high-level, statically typed, multi-paradigm programming language developed by Microsoft. C# code usually targets Microsoft's .NET ecosystem, which include .NET, .NET Framework, .NET MAUI, and Xamarin among others. Use this tag for questions about code written in C# or about C#'s formal specification.

c#
0 votes
0 answers
5 views

Error in Alpine OS on Azure with Puppeteer: Failed to launch browser! chrome_crashpad_handler: --database is required

I'm running a job in an Alpine OS environment on Azure using Puppeteer, and I'm encountering the following error when trying to launch the browser: Failed to launch browser! chrome_crashpad_handler: -...
Nishil Athikkal's user avatar
0 votes
0 answers
9 views

c# wpf change richtextbox logic

I'm making a program that checks input text. Its essence is that there is text and there is a field where you enter it, when entering, the entered text is checked and if the correct character is ...
ikikaidesu's user avatar
-1 votes
0 answers
9 views

Looking for an alternative library to AForge.NET.DirectShow for a C# WinForms application [closed]

I am looking for an alternative library to AForge.NET.DirectShow for a C# WinForms application. The new library should support the following features: Capturing snapshots from USB cameras. Sending an ...
Gourango Modak's user avatar
0 votes
0 answers
10 views

Get Object from Amazon S3 without exception

I'm using C# SDK for .NET Core to fetch objects from the store with GetObjectAsync. However, it might be that there is no such object that the program requests. In this case, GetObjectAsync throws ...
Dmitry Arestov's user avatar
0 votes
0 answers
8 views

EasyCaching Timeout Error Each Time For Redis

I am trying to implement multiple instance of caching with Redis and used this open source library - EasyCaching. In the Startup.cs file, I did the following: //configuration services.AddEasyCaching(...
user8512043's user avatar
  • 1,111
-2 votes
0 answers
29 views

Which method I need to extract the name, phone number and lastname in a html gmail structure? In C# [closed]

I have only the email but I don't know how to extract the name, lastname and phone. I don't find the method that I need to use for. What should I try? public static string ExtraerEmail(MimeMessage ...
David Flores Gonzalez's user avatar
0 votes
0 answers
14 views

Covariance for value in Dictionary

I'm trying to add a more derived type as value to a dictionary<..., base> but i get the following error: Cannot convert from HandleIntegrationEvent<TR> to HandleIntegrationEvent<...
Paul Dreyer's user avatar
2 votes
0 answers
17 views

Continous mathematical minimization algorithm / library adaptation

Hopefully this question is not too abstract for SO. If it is, I would appreciate you suggesting where should I post it instead. In my C# application, I need to run a mathematical optimization ...
K.S.'s user avatar
  • 21
0 votes
1 answer
17 views

Issues reading appsettings.(environment).json in singleton .NET Core 8

I am creating a Windows service in C# on .NET Core 8. This is my first attempt. The service works, but I now want to remove some hardcoded elements and move the settings into my appsettings.json file. ...
Mych's user avatar
  • 2,553
0 votes
0 answers
9 views

How can i set the color of the status bar in a .net android app?

I'm trying to change the color of an android app that uses avalonia for UI. This is my main activity: public class MainActivity : AvaloniaMainActivity<App> { protected override void OnCreate(...
Noble Eugene's user avatar
0 votes
0 answers
9 views

One frame flyout bug on a tab bar menu

While bulding my simple app I´ve notice a little bug (dont know if its a feature or not) showing a flyout menu on few frames in only tab bar menu app in case of user decided to do back one step https:/...
Adam's user avatar
  • 19
-1 votes
0 answers
12 views

I'm using adb to make a phone call but its ending after 2-3 seconds

I'm actually making an app to call phone number from a pc. I'm using adb to send command to an android but when i send the command from a terminal it works well however when i use the app i made the ...
Théo's user avatar
  • 7
0 votes
0 answers
13 views

How to do JIT in another AppDomain?

The code is shown below。There are Two DefaultDomain in Process,and i need to do JIT in DefaultDomain, NGEN's AppDomin Can JIT,but another cant. var Domains = GetAllAppDomains(); foreach (var domain ...
Montarius's user avatar
-1 votes
0 answers
10 views

App crashes once when starting. When I start the app again it runs fine

The app runs completely fine when I debug it on an IOS simulator. But when I upload it to testflight and the app store it often crashes the first time I open the app after I have closed it for a while....
Stijn's user avatar
  • 9
1 vote
0 answers
20 views

MudChipField SearchText value is not updating or reflecting correctly in the UI

I'm working with a MudChipField in Blazor. I have implemented a method ClearChipAsync that should clear the SearchText and the Values in the MudChipField. However, while the SearchText value is set to ...
Aishwarya S's user avatar

15 30 50 per page
1
2 3 4 5
107952