Categories
geek microsoft programming software

.NET Core 3.x Docker app hangs on opening a SQL server database connection

This is searchable on the internet, but a little write-up might be useful if you are running into the same problem. Recently we upgraded some .NET Core applications running in a Docker container to .NET Core 3.1. A funny thing happened when we tested those apps, which is they simply stopped working and didn’t throw […]

Categories
geek microsoft software

windows 10 upgrade on a dell xps 17 / L702x

I clean installed Windows 10 on my Dell XPS 17 L702x a while ago already and this post is merely here to indicate: yes, it works and it’s not even a big deal. This also got rid of Dell software junk preinstalled on my machine which is awesome. Dell doesn’t support the Windows 10 upgrade […]

Categories
geek microsoft programming tips

querying Elasticsearch with Powershell with a little help from Kibana

Kibana is a great dash-boarding tool to easily query an Elasticsearch store on the fly without having to know exactly how to write an Elasticsearch query. For example if you’re using Logstash to dump all your logfiles into an Elasticsearch DB and use Kibana to nail down that specific weird exception you’re seeing. Kibana is […]

Categories
geek microsoft programming tips

invoke-webrequest pro tips

The Invoke-WebRequest PowerShell cmdlet is great if you want to fetch and work with some web page’s output without installing any extra tools like wget.exe for example. If you’re planning to do some text parsing on a web page anyway, PowerShell is an excellent option, so why not go full PS mode?Unfortunately the command has […]

Categories
geek microsoft programming tips

passing a function as a parameter in PowerShell

A powerful pattern in software engineering is where you pass in a function or an object to another, which executes this given one dynamically. This allows you to extend behavior of code without having to edit that code. It’s known as the Strategy Pattern and allows for nice, clean and decoupled code. In PowerShell you […]