Oskar Gewalli's blog articles

0
comment
on 11/14/2023 12:17 PM
Since there isn’t an official dev container for net8 yet, you can use the net7 dev container and the setup scripts mention on Microsoft Learn. Instead of the base image: FROM mcr.microsoft.com/devcontainers/dotnet:0-7.0 You can add the following to ensure that net8 is installed: RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh RUN chmod +x ./dotnet-install.sh RUN sudo ./dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet
>> Read the full article
.
0
comment
on 8/19/2023 1:32 AM
Sources Dan North: Why Every Element of SOLID is Wrong Wikipedia SOLID for functional programming Equivalent of SOLID principles for functional programming Solid Relevance Principles Single responsibility principle Let us start with The single responsibility principle: Gather together the things that change for the same reasons. Separate things that change for different reasons. some see it as: do one thing and do it well The problem with this principle is that the definition is[...]
>> Read the full article
.
0
comment
on 4/7/2023 7:17 AM
Background In dotnet-architecture/eShopOnWeb I noticed the interesting usage of Specification classes. When I did some digging, I found that these are implemented through ardalis/Specification For those who are more familiar with the Java world we have Data Specifications. If you read Implementing Domain Driven design in the bibliography you find a reference to Martin Fowlers paper. Sample based on Wikipedia So if we look at Wikipedia we can infer the following code: public class OverDueSpecification :[...]
>> Read the full article
.
0
comment
on 4/5/2023 10:00 AM
As previously mentioned in the blog I use a M1 mac. In order to help introduce others to Kubernetes I have done some testing of the K8S tutorial. In order to try it out I first tried using the qemu driver for minikube. First gotcha was that the image gcr.io/google-samples/kubernetes-bootcamp:v1 does not work on ARM natively. Let the Yac Shaving begin Running minikube in docker In order to get around this limitation you can run minikube in docker. Either by using colima or Docker Desktop with experimen[...]
>> Read the full article
.
0
comment
on 2/19/2023 3:47 AM
Project with many repositories This is a continuation of Monorepo versus Polyrepo. This is a story about a project I worked on. We had some pain points related to many different source repositories. Shared business domain library that contained shared business types Shared library with a base parent entity (with common behavior) Many services that dealt with different subdomains that uses a few shared libraries Very complicated requirements with lots of nuances Different persons had different[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper