Skip to content
Advertisement

Tag: .net

Trying to get Emgu.CV running in dotnet core 3.1 on debian

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

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 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

.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

Advertisement