So I am trying to get Emgu.CV running on debian, without any success yet. I have the same error all the time, even when I fixed all the dependcies I already upgraded to debian bullseye because of problems with GLIBC package. And I use the following commands to install dependencies: Output of ldd command: Is there somebody who has any
Tag: .net
How to get Linux file permissions in .NET 5 / .NET 6 without Mono.Posix with p/invoke?
I recently found, that I can make Linux system calls from .NET relatively easy. For example, to see if I need sudo I just make a signature like this: Neat. So much easier and faster than everything else, right? This is the simplest possible system call, other use strings and structures. After some digging in the documentation and testing for
.Net Web app SQL Server Connection String Linux Issue
I am having issues with a SQL Server connection string that is being used by a .net core App that is deployed on a Linux environment. The .net core app needs to access a sql server on a different server. My connection string I am using is as follows It works fine when i run locally on my windows pc
ASP.NET Docker UserSecrets location
I have created an ASP.NET application that connects to microsoft sql database and needs a password for that. When running the application under Windows it takes the password from secrets.json file located in C:Users<user>AppDataRoamingMicrosoftUserSecrets<UserSecretsId> When running under Docker I am unable to find out where I should put the secrets.json file. I tried /root/.microsoft/usersecrets/ as it seemed to work for
Invoke-WebRequest Always Fails For HTTPS. The remote certificate is invalid according to the validation procedure
I’m trying to use Invoke-WebRequest inside of pwsh (on Linux), but it’s always failing. Here’s an example: The site/URL doesn’t matter, if it’s using HTTPS I’ll get the error. The exact same script on a Windows machine works without issue. $PSVersionTable dotnet –version 3.1.403 openssl version OpenSSL 1.0.1e-fips 11 Feb 2013 I know it’s possible to disable SSL validation on
How do I get Hardware Info with .NET 5 in a Cross Platform Way?
I’m developing a .NET 5 console application and would like to be able to read some basic system info such as CPU temperature, memory usage, CPU usage, etc. My development machine is running windows but the application is deployed to a Linux machine, therefore I’d like to avoid having to write two different sets of code for both OS. How
How to deploy .net core in Kubernetes?
Recently I started study Kubernetes. And I want to deploy .net core in Kubernetes. How to deploy .net core in Kubernetes ? Maybe there is a simple example ? Answer There are lots of resources on the web for the specific mechanics that I will add at the bottom. This is a very broad question and probably not a correct
While trying to retrieve the AccesToken using HttpClient I am getting an error
While trying to retrieve the Acces Token from a windows server using HttpClient I am getting an error: “GSSAPI operation failed with error – An invalid status code was supplied (SPNEGO cannot find mechanisms to negotiate).” system.ComponentModel.win32Exception is throwing as GSSAPI operation failed with error – An invalid status code was supplied (SPNEGO cannot find mechanisms to negotiate) The above
Setting GCServer = True when running on Linux in .net core project
How do set GCServer to true in a .net core project? Usually in .net framework projects I add an App.Config xml file that sets GCServer variable to true but this does not work in a .net core project running on Linux (the App.Config file is generated and publish but the variable still doesn’t change) Answer Add <ServerGarbageCollection>True</ServerGarbageCollection> to your csproj
.net core date format on Linux
I’m migrating my code from .net framework to .net core and testing it on a Linux machine, one of the issues I had a problem with is the date format when calling DateTime ToString() function, in Windows the default date format is guided by the OS and can be customized in the settings I’ve tried to do something similar in