Strona głównaUżytkownik

oskar-at-net | użytkownik

oskar-at-net
oskar-at-net
2 189,8
282 dni, 18 godzin, 14 minut temu
30 listopada, 2011
dotnetomaniak.pl

W CQRS często definiuje się interfejsy dla handlerów, aby wymusić ujednoliconą strukturę kodu. Takie podejście stosowane jest m.in. przez bibliotekę MediatR. Nawet jeśli nie używasz żadnych bibliotek, ale ręcznie dziergasz swoje rozwiązania, możesz chcieć iść tą drogą. W moim najnowszym artykule wyjaśniłem, jak zarejestrować wszystkie handlery według konwencji za pomocą biblioteki Scrutor.

Tagi: CQRS, Scrutor
Źródło: event-driven.io
Dziel się z innymi:
How to register all CQRS handlers by convention - Oskar Dudycz

Architektura 895 dni, 17 godzin, 57 minut temu oskar-at-net 109 źrodło rozwiń

Dyskusje o pozycjach mogą być krępujące. Nie inaczej jest w przypadku Event Sourcing. Pozycja, wersja, rewizja, numer sekwencji. Nazewnictwo bywa mylące, a zrozumienie tych konceptów jest ważne do efektywnego używania event store'ów. Przeczytaj mój nowy artykuł i dowiedz się co jest co!

Źródło: event-driven.io
Dziel się z innymi:
Let's talk about positions in event stores - Oskar Dudycz

Architektura 940 dni, 19 godzin, 10 minut temu oskar-at-net 31 źrodło rozwiń

Entity Framework i projekcje zdarzeń? Czy to nie brzmi jak ogień i woda? W moim najnowszym artykule opisałem, jak połączyć te dwa żywioły i stworzyć czyste, samodokumentujące się i łatwe w utrzymaniu API. Miłej laktury!

How to build event-driven projections with Entity Framework - Oskar Dudycz

Architektura 950 dni, 19 godzin, 59 minut temu oskar-at-net 79 źrodło rozwiń

„Obsesja stanu” to nowy anty-wzorzec #EventSourcing, z którym postanowiłem się zmierzyć! To jeden z typowych problemów, gdy tkwimy w myśleniu o obecnym stanie, tabelach, zamiast rejestrować wynik operacji biznesowej. Przeczytaj więcej o tym, jak to diagnozować leczyć!

Źródło: event-driven.io
Dziel się z innymi:
Anti-patterns in event modelling - State Obsession - Oskar Dudycz

Architektura 965 dni, 19 godzin, 16 minut temu oskar-at-net 69 źrodło rozwiń

Dyskusje o tym jak strukturyzować nasz kod potrafią się szybko zrobić gorące. Dorzućmy więc nieco ognia do pieca! Opisałem swoje podejście do cięcia kodu, oraz opisałem dlaczego pozwala mi ono lepiej się skupić i pracować efektywnie.

Źródło: event-driven.io
Dziel się z innymi:
How to slice the codebase effectively? - Oskar Dudycz

Sztuka programowania 971 dni, 19 godzin, 39 minut temu oskar-at-net 119 źrodło rozwiń

Jakiś czas temu napisałem, że "Czy to się skaluje?" nie jest pytaniem, ale mantrą. Zdałem sobie sprawę, że obecnie skalowanie w dół, może być bardziej krytyczne niż skalowanie w górę(biorąc pod uwage ARM, serverless, edge computing). Przeczytaj więcej w najowszym artykule.

Źródło: event-driven.io
Dziel się z innymi:
Will it scale... down? - Oskar Dudycz

Architektura 979 dni, 19 godzin, 24 minuty temu oskar-at-net 62 źrodło rozwiń

Komputer mówi nie! Gartner ocenił, że w 2030 roku 85% projektów z AI będzie zwracało błędne wyniki. W swoim eseju napisałem dlaczego uważam, że jeszcze daleka droga zanim AI będzie w pełni używalne. Podałem też dlaczego ślepe zaufanie w sprawiedliwość algorytmu to droga donikąd.

Computer says no! Why we might have an issue with Artificial Intelligence soon - Oskar Dudycz

Inne 987 dni, 19 godzin, 6 minut temu oskar-at-net 43 źrodło rozwiń

“Knowing anti-patterns is as important as knowing any other patterns. Today I tackled #PropertySourcing. It's one of the most common anti-patterns while starting to implement #EventSourcing. Read more in my latest article!

Źródło: event-driven.io
Dziel się z innymi:
Anti-patterns in event modelling - Property Sourcing - Oskar Dudycz

Architektura 993 dni, 19 godzin, 5 minut temu oskar-at-net 91 źrodło rozwiń

This week, I'm continuing the Docker topic. Last time I explained how to build an optimal image for your application. Today I wrote how to publish it to the DockerHub and Github Container Registry using Github Actions.

Źródło: event-driven.io
Dziel się z innymi:
How to build and push Docker image with GitHub actions? - Oskar Dudycz

Narzędzia 1000 dni, 19 godzin, 10 minut temu oskar-at-net 37 źrodło rozwiń

With the simple tricks, you can make your Docker image less cluttered and build faster. In my recent article, I explained practical patterns on how to do that. I showed real-world samples with .NET and NodeJS applications.

Tagi: devops, docker
Źródło: event-driven.io
Dziel się z innymi:
How to build an optimal Docker image for your application? - Oskar Dudycz

Narzędzia 1007 dni, 19 godzin, 10 minut temu oskar-at-net 102 źrodło rozwiń

I gathered my notes from playing with C# records and Nullable Reference Types. Read more if you want to learn if you can use them e.g. for Value Objects or want to do Type-Driven Development.

Źródło: event-driven.io
Dziel się z innymi:
Notes about C# records and Nullable Reference Types - Oskar Dudycz

Sztuka programowania 1014 dni, 19 godzin, 19 minut temu oskar-at-net 83 źrodło rozwiń

When I started my career, SQL Injection and Cross-Site Scripting were perceived as sophisticated attacks. Mature admins installed MSSQL servers with the Internet turned off, because by default, open to the world was a potential source of the attack. Setting up the firewall wasn’t even a standard. Today we have easier. By using the cloud, many things are warranted. Suppliers protect us from basic break-ins. For instance, they’re blocking DDoS attacks and many other attacks that we don’t even know existed...

Tagi: Security
Źródło: event-driven.io
Dziel się z innymi:
Form a wall! And other concerns about security - Oskar Dudycz

Sztuka programowania 1027 dni, 20 godzin, 27 minut temu oskar-at-net 71 źrodło rozwiń

Hey Developers! I'll tell you a secret. You don't have to break each other work. Breaking changes are overrated. Read more about how to live without them!

Źródło: event-driven.io
Dziel się z innymi:
Let's take care of ourselves! Thoughts on compatibility - Event-Driven.io

Sztuka programowania 1031 dni, 20 godzin, 11 minut temu oskar-at-net 12 źrodło rozwiń

This week I decided to back to the basics of Event Sourcing. I explained how to build the current state from events in: - object-oriented style in C# - functional style in TypeScript. This is an essential part of treating events as the source of truth.

Źródło: event-driven.io
Dziel się z innymi:
How to get the current entity state from events? - Oskar Dudycz

Architektura 1042 dni, 19 godzin, 1 minutę temu oskar-at-net 42 źrodło rozwiń

I hear the question "When not to use Event Sourcing?" a lot. Event Sourcing is an extremely useful pattern, but not a silver bullet. I decided to share my thoughts on when you ain't gonna need it.

Źródło: event-driven.io
Dziel się z innymi:
When not to use Event Sourcing? - Oskar Dudycz

Architektura 1048 dni, 19 godzin, 22 minuty temu oskar-at-net 70 źrodło rozwiń

🚨 Quite often, to make our code simpler, we're trying to make our code more reusable and generic. I wrote an article with a warning that "generic" does not mean "simple". I did that on the example of #CQRS code evolution. Beware and have a read!

Źródło: event-driven.io
Dziel się z innymi:
Generic does not mean Simple - Oskar Dudycz

Architektura 1056 dni, 18 godzin, 21 minut temu oskar-at-net 62 źrodło rozwiń

If you're going from C# to TypeScript, it's worth checking the differences without assuming straight that's the same type of language. TypeScript has structural typing, which might not be the typing you're looking for. Read more in my latest article

Tagi: TypeScript
Źródło: event-driven.io
Dziel się z innymi:
Structural Typing in TypeScript - Oskar Dudycz

Sztuka programowania 1063 dni, 19 godzin, 59 minut temu oskar-at-net 40 źrodło rozwiń

Today I want to invert the classical pro-agile drawing. Let’s talk about the devaluation of functionality that occurs in Agile projects and the cases when Agile is not enough.

Tagi: Agile
Źródło: event-driven.io
Dziel się z innymi:
When Agile is not enough - Oskar Dudycz

Sztuka programowania 1069 dni, 20 godzin, 2 minuty temu oskar-at-net 41 źrodło rozwiń

People want to scale up everything. In the past, the recipe for everything was to buy a larger server. Today, the answer is to add another instance. Does it always make sense? “Will it scale?” is not a question, it is a mantra. In my opinion, the best is to verify if you need to scale it at all. Read my take in my newest article.

How to scale projections in the event-driven systems? - Oskar Dudycz

Architektura 1077 dni, 20 godzin, 13 minut temu oskar-at-net 37 źrodło rozwiń

Snapshots in Event Sourcing are a controversial topic. It's tempting to use them, but in my opinion, they should be used only when you had to, as a technical optimisation technique. Read more in my latest article!

Dziel się z innymi:
Snapshots in Event Sourcing - Oskar Dudycz

Architektura 1080 dni, 19 godzin, 52 minuty temu oskar-at-net 66 źrodło rozwiń

1 2 3 4 5

Najaktywniejsi w tym miesiącu