Oskar Gewalli's blog articles

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 11/9/2021 10:42 PM
NodeJS applications can be a single file with minimal overhead: const express = require('express') const app = express() app.get('/', (req, res) => { res.send('Hello World!') }) app.listen(3000, () => { }) How does this compare to what we have seen in the .net world? For .net 5 C# HelloWorld.csproj <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>net5.0</TargetFramework> </PropertyGroup> </Project> Program.cs using Microsoft.AspNetCore.Builder; using Microsoft.AspN[...]
>> Read the full article
.
0
comment
on 11/5/2021 11:15 AM
Let us start by defining monorepo Keep multiple projects in a single source control system 1 Acquire as many third-party and in-house dependencies as possible for a build from the same source-control repository/branch, and in the same update/pull/sync operation. 2 Keep all teams in agreement on the versions of third-party and in-house dependencies via lock-step upgrades. 2 Plausable restrictions The point about keeping third-party binary dependencies in source control was popular in the .net wor[...]
>> Read the full article
.
0
comment
on 6/6/2021 2:59 AM
Intro During 2019 I started on the current project. At this project I’m working on, we are building a enterprise system for a government customer. When I got in significant parts had been developed of the frontend and backend system. My role when I started in the project was in order to help develop test automation software for the system. Since I’ve worked on both frontend and backend parts in other systems, I’m able to help out in various parts of the system. I’m going to talk about one particular issu[...]
>> 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