
kubernetes
Kubernetes on Hetzner with ingress and certificate
This guide shows how I set up a Kubernetes cluster on Hetzner Cloud using kops, configured NGINX ingress with Hetzner Load Balancer, and enabled TLS certificates via cert-manager.
kubernetes
This guide shows how I set up a Kubernetes cluster on Hetzner Cloud using kops, configured NGINX ingress with Hetzner Load Balancer, and enabled TLS certificates via cert-manager.
aspnet
I often find the need to set values in ViewData when calling partials that are reused across the website. It might not make sense always to make that value part of the Model. You can do so currently by doing… <partial name="_ProfileImage" model="image"
dotnet
I’ve been writing some chef cookbooks recently. And you often see tests in chef that looks something like expect(chef_run).to(create_template('/opt/xyz.yml') .with_cookbook('other_cookbook')) And, when I came back to writing C# again, a Fluent Assertions statement seemed
asp.net
Kamal previously known as MRSK, is a deployment tool that makes it easy to build your website as docker image and deploy them on to a bare metal or a virtual machine. It takes care of making sure there are no down time while a new release is created. Follow
Stimulus JS is a JavaScript front end framework library thats popular in th Rails community. Whats different about Stimulus compared to other libraries such as React and Vue JS is its simplicity in the features it comes with. If all you require is sprinkle of javascript interactivity on your website,
git
Most people seems to have a fear of long lived branches and recently this cost our team almost a week of release freeze as we had to roll back changes in production. In our current project, we follow GIT rebasing strategy. Our fear was that having a branch live long
PostgreSQL
Credit goes to Use Docker to Backup and Restore PostgreSQL Databases blog post. However, some of the instructions on that post is either out of date or doesn’t work. Word of warning: These commands were tested only on windows terminal. These instructions, will require docker installed locally. If you
stripe
I am trying to avoid using any auto mocking library. And instead trying to rely on Fakes when writing unit tests. There is an alternative approach to writing unit test using mock available elsewhere. When it comes to creating a stripe webhook controller on asp.net MVC, we need to
dotnet
This blog post is only applicable if you have Mac development machine and wants to develop against .NET framework. The solution involves spinning up a windows 11 virtual machine on virtual box. But will require minimal manual steps. Only revert to this approach after you’ve tried other approaches such
blazor
I’ve been a fan of testing library when I was working with react about 2 years ago. Since then, I’ve started working on a project that’s using Blazor Web Assembly for front end. However, haven’t come across a similar framework for testing Blazor component that’s
dotnet
When it comes to developing an ASP.NET MVC application for .NET Framework on your non Windows dev machine, you can make use of Mono Framework. A word of caution that Mono is no longer developed since .NET 5 was released. However, if your application targets .NET Framework version 4.
scrum
Since almost everyone is working remotely nowadays, all our meetings are conducted virtually via Zoom, Google Meet, Slack etc. And I have developed a distaste for being in meetings. Perhaps we have more meetings now compared to what we used to have. This might be because we can’t physically