Application setup Add the latest NuGet package Microsoft.Extensions.Hosting.WindowsServices. In program.cs we need to call the UseWindowsServices() method on webBuilder. Because a windows service always returns C:\Windows\system32 as it’s base path,…
Sometimes we just need to run kestrel without the need for a green browser padlock and therefor not needing to have a “real” certificate. but still want secure HTTPS communications…
DotNet Core and Standard are cross platform and sometimes we need to know what OS we are running on. To check what operating system the application is currently running on,…
When upgrading a ASPNET DotNet Core 2.2 to 3.1, you might get this error when compiling: The hint is in there: Doing upgrading we no longer need to depend on…
Sponsored postThank you developer for a key I have had the privilege to try out NDepend and see what it can do now for a couple of weeks while working…
Hi, my name is Niels, I am a passionate software developer from Denmark with a love for coding and solving real-world problems! I taught myself C# back in 2012 in my spare time and I loved it! I went on and graduated from Computer Science in 2016 where I got hired by