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.
1,619,273
questions
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: -...
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 ...
-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 ...
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 ...
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(...
-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 ...
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<...
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 ...
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.
...
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(...
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:/...
-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 ...
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 ...
-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....
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 ...