Robin Rottier's Blog

HomeBadges

.NET 5 - C#9 - Underwhelmed by top level code and a custom project template to create it

Jan 19, 20217 min read

A new feature of C#9 is 'top level code' ... that is code you can just write without having to decorate with a namespace, a Program class and a static void Main function, all just to make your one line call to Console.WriteLine("Hello World!"). This ...

.NET 5 - cross platform development walk-thru

Jan 18, 202113 min read

This is a step-by-step walk-thru' to create a .NET cross platform application for Windows and Linux. We'll target 3 different Linux: Ubuntu on Windows (WSL), Synology DSM and Raspberry Pi (that choice of targets ... simply because that's what I have)...

Synology DSM - host your own GIT server

Jan 7, 20218 min read

Use your Synology to host Gitea under Docker and run your own GIT server. Why host your own? Because you can have local performance and unlimited private repositories. Or you simply want to keep your stuff hosted on your server and under your contr...

Synology DSM - reverse proxy config using NGINX.

Jan 4, 20216 min read

Where you have Synology/DSM exposed to the internet (and using their DDNS) but also some other web servers or services on your internal network that you wish to expose through the Synology acting as a reverse proxy then this is one way to configure N...

Windows batch file - list listening ports with owning process

Dec 23, 20202 min read

How to list each Windows process that is listening on a network port? Build up the command as follows: netstat is a most useful Windows command to list network connections and open ports. Generally I use -aon as arguments to list everything and asso...

Windows batch file - return values to caller

Dec 21, 20204 min read

How to use setlocal inside your batch file but still set an environment variable in the caller (a bit like a return value). It is good practice for batch files to include setlocal to limit environment changes to within the scope of that batch file an...

© 2021 Robin Rottier's Blog

PrivacyTerms
Proudly part of