I recently had to take some AWS RDS databases offline, and when I tried to get them online or edit them in any way I was met with an error…
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,…
I do a lot of services in .Net core and .Net 5 that is meant to run on Linux servers, and sometimes I need to include shell script (.sh files)…
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…