Skip to content
Advertisement

Tag: .net-core

Dotnet core segmentation fault on linux

I have used AngleSharp to parse a website in a Dotnet core App It works fine in Windows but on Debian It crashed with this error : Segmantion fault the url that I had for parsing was https when I replaced it with an http url, It worked! Answer The problem caused by conflicting between two version of libssl. You

Understanding .Net Core and Mono

When developing an application in .Net Core, the .NET dependencies and DLLs are embedded in the application? does this mean that I do NOT need to install the .Net dependencies on the client PC? If I develop a .Net Core console application for Linux, is it necessary to install Mono on the PC with Linux (client)? Are .Net core applications

.Net Core ignoring Environment Variable DOTNET_SKIP_FIRST_TIME_EXPERIENCE

It seems apparent that you can save some time doing .NET Core builds by setting Environment variable DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true. I am finding this is not the case on CentOS 7 and Debian Jessie Linux distros. I have a Jenkins slave Docker image, used by Jenkins to build .NET Core services, my image tag is jenkins.slave.dotnet.image. The Jenkins Docker Plugin, uses jenkins.slave.dotnet.image

SonarQube MsBuild scanner on linux build agent

We build or dotnet core 1.1 projects on our own linux build agents in docker. (https://github.com/Microsoft/vsts-agent-docker) We would like to use Sonar to analyze our C# code. But it seems that the SonarQube MsBuild Scanner can’t run in linux environment. Does anybody know a workaround for this. We don’t really want to use Windows agents just to do the code

Bypassing SSL Certificate Validation on DotNet Core Service Stack

I know that ServicePointManager.ServerCertificateValidationCallback no longer exists in .Net Core and is instead replaced with: However we are currently using the ServiceStack.Core library which, as far as I can see, does not expose either a property like this or the handler itself. How would I tell a ServiceStack client to bypass ssl validation in this code? If there is a

Cross-platform file name handling in .NET Core

How to handle file name in System.IO classes in a cross-platform manner to make it work on Windows and Linux? For example, I write this code that works perfectly on Windows, however it doesn’t create a file on Ubuntu Linux: Answer Windows using Backslash. Linux using Slash. Path.Combine set the right symbol : Path.Combine Method – MSDN

Advertisement