Oskar Gewalli's blog articles

0
comment
on 12/2/2023 10:07 AM
High level image of the clean architecture from Uncle Bobs blog post: Below is a comparison between clean architecture solutions in C# and Java. Most of the samples are in C#. Note also that the solutions I’ve picked are somewhat arbitrarily chosen. Some have a lot of attention on GitHub while I’ve kept my eyes on others for a longer time. Sample Use of Libraries/Structure Grouping/Vertical slice @CanerPatir/aspnet-core-clean-arch WebApi, Infrastr[...]
>> Read the full article
.
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
.
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