Showing all posts tagged #net:

Private NuGet server behind nginx (Request Entity Too Large)

Posted on June 7th, 2017

Spent some time today trying to make NuGet.Server work so that I can host my own packages. I’m working on a new .NET core project on my Mac and wanted to host the server in IIS which is accessible from various machines. I’ve got a public facing web server running nginx which is connected to a windows server behind it (actually via VPN). I use nginx proxy_pass feature to pass the request on backwards to the IIS server. I was trying to push a package to the server and got this error: PUT h...

System.FormatException: Invalid hexadecimal string format.

Posted on January 8th, 2014

I'm working on a task and wanted to find a certificate from the Local Computer store based on its Thumbprint and ran into the below exception. If you are trying something similar you might get the below exception if you COPY the value from the Certificate MMC snap in. System.FormatException: Invalid hexadecimal string format. at System.IdentityModel.SecurityUtils.DecodeHexString(String hexString) at System.IdentityModel.Selectors.X509CertificateStore.Find(X509FindType f...

Adam Croot

I'm a meat eating, weight lifting programmer. I work for a software company developing ultra low latency delivery platforms and occasionally websites.