Oskar Gewalli's blog articles

0
comment
on 9/21/2022 10:08 PM
This post is a continuation of Small and simple business applications using SQL. Clean architecture From what I understand of Clean architecture it’s an iteration of Hexagonal architecture also known as Ports and Adapters (see the Wikipedia page). Why would you want architecture? The main purpose is to deliver a working solution to the customer. How do you arrive to that? Architecture is a tool that enables developers to reason about how the system works. Sample code A sample succinct implementation i[...]
>> Read the full article
.
0
comment
on 4/3/2022 1:42 AM
Say that you want to write a minimal API as seen in Can .net compete with NodeJS. How would you structure such an application? You would end up with something like 0-1 layers in your application. Some of my previous coworkers embrace these patterns in order to focus on business value. In this post I’ll try to get into how you could make such a system without going into detail (pointing instead to examples). Embrace SQL One way to write simple API’s is to embrace SQL when you feel that it’s appropriate. [...]
>> Read the full article
.
0
comment
on 4/3/2022 1:42 AM
Say that you want to write a minimal API as seen in Can .net compete with NodeJS. How would you structure such an application? You would end up with something like 0-1 layers in your application. Some of my previous coworkers embrace these patterns in order to focus on business value. In this post I’ll try to get into how you could make such a system without going into detail (pointing instead to examples). Embrace SQL One way to write simple API’s is to embrace SQL when you feel that it’s appropriate. [...]
>> Read the full article
.
0
comment
on 3/13/2022 4:59 AM
This example is loosely based on how the API looks for aggregates in Axon Framework. We also base some of the code around examples of ValidationBehavior found online. Stackoverflow CodeMaze The reason why I’ve implemented these examples is in order to showcase how you can cut down on some of the ceremony around using a generic mediator interface implementation togheter with fluent validation logic (pipeline behavior in MediatR parlance). Note that I’m not making a value judgement around if you sh[...]
>> Read the full article
.
0
comment
on 3/13/2022 4:59 AM
This example is loosely based on how the API looks for aggregates in Axon Framework. We also base some of the code around examples of ValidationBehavior found online. Stackoverflow CodeMaze The reason why I’ve implemented these examples is in order to showcase how you can cut down on some of the ceremony around using a generic mediator interface implementation togheter with fluent validation logic (pipeline behavior in MediatR parlance). Note that I’m not making a value judgement around if you sh[...]
>> 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