Some time ago I wrote a blogpost on how to set/change port number for a solution using IIS Express and Visual Studio. After more and more projects are using .NET Core, the way of handling the port number have changed.
If you are not in .NET Core, the old…
Code quality should be a high priority for a coder. NDepend is a tool that helps coders to sniff out the smells in their code. After a friendly chat with the NDepend's author, Patrick Smacchia, I got started using the tool on my projects.
Installation on Linux
The…
After posting a tweet about passing multiple interfaces into the .NET service container and resolving the services as an IEnumerable in the constructor, I thought it would be a good idea to write more about it in detail.…
I have a web application with a separate test and production environment. I'm changing the content model, and I want to try out this new feature in my test environment without messing up the content in production.…
With Microsoft .NET 5 you can choose what platform you use for developing and hosting the solutions you build. Build on Windows, test on macOS, and host on Linux? No problem!
Why should you run your Web App on Linux?
Because it's cheaper? Because you'll get…
Sanity.io is a headless CMS. Since a headless CMS acts as an API for our raw data, it makes it easy to distribute the data to multiple channels such as mobile, web and wearables.…
Knut from Sanity has a guide on how to create internal and external links in Sanity Studio. He also shows how you can render these links in your front end. Unfortunately, he does not show how you can do it using .NET. After digging around the github repo for Sanity…
My favorite way to learn new things is by diving headfirst into a concept and start hacking away! The classic mobile game Snake should be a good challenge for a beginner F# developer.…
Some of the more difficult exceptions to debug are those thrown deep inside-third party frameworks. Everybody knows you can decompile a dll and look at the source code, but that can only take you so far. Wouldn't it be great if you could set a breakpoint in that…
I recently had an issue when I tried to deploy the correct configuration for a .NET Core application. I managed to mix up the environment names used in the application itself, in IIS and in Octopus Deploy. The result was that none of my configuration files worked as expected, with…