dotnetomaniak.pl - Najnowsze artykuły o .NET w dziale Architektura - Strona 17

Druga część przeglądu źródeł .NET Core. Tym razem poszukujemy wzorców strukturalnych.

Źródło: mickl.net
Dziel się z innymi:
Wzorce projektowe w źródłach .NET: 2/3 wzorce strukturalne

Architektura 2684 dni, 12 godzin, 4 minuty temu mickl 204 źrodło rozwiń

W źródłach .NET poszukujemy zastosowań wzorców projektowych. Mało tekstu, zero UML, dużo kodu.

Źródło: mickl.net
Dziel się z innymi:
Wzorce projektowe w źródłach .NET: 1/3 wzorce kreacyjne

Architektura 2688 dni, 12 godzin, 52 minuty temu mickl 413 źrodło rozwiń

Reading time ~6 minutes This post is covering a subset of what I am talking in my talk How I stopped worrying and learned to love parallel processing (currently only in polish). This will cover on how, in terms of performance, AsParallel can kick you in a place where it hurts a lot, simultaneously being a blessing in terms of… performance. How is that? Let’s look at someHistory AsParallel was introduced as an extension to LINQ with TPL in .NET 4.0. In theory, it’s God’s sent. The promise w...

Dziel się z innymi:
[EN] Problems with AsParallel – IndexOutOfRange

Architektura 2700 dni, 20 godzin, 10 minut temu maklipsa 116 źrodło rozwiń

I’ve been recently drawn twice into an open discussion on when to throw exception in application’s logic. I’ve had my opinions, others have theirs but what lead me to this post is that such fundamental topic is extremely opinionated, even among same language/environment developers. In next few paragraphs I’ll try to sum up major proposed approaches of using exceptions (both those which abuse them ...

Źródło: localwire.pl
Dziel się z innymi:
[EN]Throw exception at me!

Architektura 2718 dni, 11 godzin, 57 minut temu Michał Wilczyński 149 źrodło rozwiń

Zastanawialiście się jak wygląda enum po skompilowaniu? Ja niedawno doznałem fascynacji ILem i zacząłem przyglądać się jak różne rzeczy są zaimplementowane. W tym poście popatrzymy na ILasm enuma.

Tagi: .Net, Enum, IL, ILAsm, ildasm
Dziel się z innymi:
Enum w IL | MD Tech Blog

Architektura 2735 dni, 16 godzin, 26 minut temu manio143 275 źrodło rozwiń

Od pewnego czasu chodził mi głowie pomysł by napisać coś o DDD. Tak się złożyło, ze u mnie w firmie powstaje element systemu o nazwie Audit, który będzie służył do zarządzania (planowanie, wykonanie, raportowanie) audytami. Zdecydowałem się pokazać na blogu jak napisać taki system w oparciu o reguły DDD (głównie ze względu na to, że w obecnym projekcie nie korzystamy z DDD). Aby urealnić cały proces, wymagania które będziemy implementować będą pochodzić z rzeczywistej domeny. Oczywiście będzie ...

Tagi: .Net, architecture, C#, DDD
Dziel się z innymi:
Blog piwno-programistyczny: DDD w praktyce #0 - Model domeny

Architektura 2742 dni, 20 godzin, 11 minut temu markone 258 źrodło rozwiń

Czy metody HTTP i JSON to już REST? Co powinniśmy wiedzieć, zanim wystawimy publicznie API i ogłosimy całemu światu, że jest ono "RESTful" ?

Tagi: HTTP, REST, RESTful
Źródło: mickl.net
Dziel się z innymi:
8 rzeczy, które warto wiedzieć projektując REST-owe API

Architektura 2744 dni, 15 godzin, 27 minut temu mickl 730 źrodło rozwiń

odcinek DevTalk to nie przelewki, oj nie. Dzisiaj trochę… potaplamy się w błocie. Do rozmowy zaprosiłem Jarosława Pałkę: znanego i uznanego programistę, architekta, managera, team leadera, prelegenta, bloggera i co tam jeszcze. Spotkać możecie go na bardzo wielu konferencjach, gdzie opowiada o Javie i ciężkiej orce w naszym zawodzie. Na Twitterze: @j_palka.

Źródło: devstyle.pl
Dziel się z innymi:
O legacy code z Jarosławem Pałką

Architektura 2747 dni, 21 godzin, 59 minut temu rroszczyk 88 źrodło rozwiń

As I announced in the last part, our CQRS/ES journey is almost finished! But before it happens we need to take care of read side of our application. However, before we move forward to the implementation, it’s worthwhile to explain why do we need a read side? After all, we have an excellent data source called Event Store which allows us to reconstruct every domain object in our system. What’s, even more awesome is the fact that we can „time travel” in our domain by not applying all events in our domain ob...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] CQRS/ES #6 Read database and Event Handlers - Forever F[r]ame

Architektura 2750 dni, 17 godzin, 15 minut temu dpawlukiewicz 154 źrodło rozwiń

It’s been quite a while since I’ve started gathering some knowledge about the microservices architectural pattern that’s been on a hype recently. After reading many articles, some books like Microservices in .NET Core and talking with smart guys in the Devs PL Slack channel, I’ve eventually decided that the time has to come to try to make the microservices happen in the real world project. That’s the beginning of my journey into the distributed programming and architecture, so please keep that in mind wh...

Dziel się z innymi:
[EN]Microservices, here I come | Piotr Gankiewicz

Architektura 2759 dni, 23 godziny, 49 minut temu spetz 251 źrodło rozwiń

Reading time ~2 minutes I’m taking a short break from Hangfire series, but I will get back to it. This time - Where did my memory go ? Or to be more exact: Why is this using so much memory? The story starts with one IIS application pool using around 6 Gigabytes of memory on one of our test environments. It was several times above the values that we expected it to use, so we decided to investigate. Without much thinking we fired up Visual Studio installed on the test server, and attached to the proce...

[EN] Debugging high memory usage. Part 1 - ProcDump – IndexOutOfRange

Architektura 2759 dni, 23 godziny, 49 minut temu maklipsa 64 źrodło rozwiń

All right, after a few short breaks, I’m finally ready to continue our journey, during which we discover Command Query Responsibility Segregation pattern along with Event Sourcing. In a previous part, we discovered the role of events and ES in our application and to be honest we’re almost done! But before that, we need to focus a little bit on transporting our commands and events. That’s why today’s post will be dedicated the buses. Okay, let’s start!  RabbitMQ and EasyNetQ To accomplish our task, we n...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] CQRS/ES #5 Command Bus and Event Bus - Forever F[r]ame

Architektura 2762 dni, 12 godzin, 13 minut temu dpawlukiewicz 279 źrodło rozwiń

Reading time ~6 minutes This is a sixth part of a series:part 1 - Why schedule and procrastinate jobs?part 2 - Overview of Hangfiepart 3 - Scheduling and Queuing jobs in Hangfirepart 4 - Dashboard, retries and job cancellationpart 5 - Job continuation with ContinueWithpart 6 - Recurring jobs and cron expressions Parts 3, 4, and 5 covered the BackgroundJob class responsible for enqueuing single jobs (fire and forget). This post will cover RecurringJob class exposing API for recurring jobs (as the name ...

Dziel się z innymi:
[EN] Don't do it now! Part 6. Hangfire details - recurring jobs and cron expressions – IndexOutOfRange

Architektura 2763 dni, 17 godzin, 10 minut temu maklipsa 44 źrodło rozwiń

Reading time ~3 minutes This is a fifth part of a series:part 1 - Why schedule and procrastinate jobs?part 2 - Overview of Hangfiepart 3 - Scheduling and Queuing jobs in Hangfirepart 4 - Dashboard, retries and job cancellationpart 5 - Job continuation with ContinueWithpart 6 - Recurring jobs and cron expressions Part 3 covered almost all functions in BackgroundJob class except for ContinueWith functions family. So here we go :) The fact that it has the same name as a System.Threading.Tasks.Task funct...

Dziel się z innymi:
[EN]Don't do it now! Part 5. Hangfire details - job continuation with ContinueWith – IndexOutOfRange

Architektura 2770 dni, 20 godzin, 22 minuty temu maklipsa 76 źrodło rozwiń

Reading time ~3 minutes This is the fourth part of a series discussing job scheduling and Hangfire details:part 1 - Why schedule and procrastinate jobs?part 2 - Overview of Hangfiepart 3 - Scheduling and Queuing jobs in Hangfirepart 4 - Dashboard, retries and job cancellation This part will cover few small topics:dashboardretriesmore technical part of the Hangfire.BackgroundJob class APIjob cancellationDashboard Let’s start with the administrative dashboard because it gives a good background for the ...

Dziel się z innymi:
[EN] Don't do it now! Part 4. Hangfire details - dashboard, retries and job cancellation – IndexOutOfRange

Architektura 2778 dni, 1 godzinę, 36 minut temu maklipsa 54 źrodło rozwiń

Reading time ~2 minutes This is the third part of a series discussing job scheduling and Hangfire details:part 1 - Why schedule and procrastinate jobs?part 2 - Overview of Hangfiepart 3 - Scheduling and Queuing jobs in Hangfirepart 4 - Dashboard, retries and job cancellation This part will focus on the basic scheduling API of Hangfire. The easiest way to create a fire and forget job is by using the classHangfire.BackgroundJob and its minimalistic (and this is a complement) API of static functions:Enqu...

Dziel się z innymi:
[EN] Don't do it now! Part 3. Hangfire details - jobs | Joby asynchroniczne w tle z Hangfire – IndexOutOfRange

Architektura 2795 dni, 12 godzin, 32 minuty temu maklipsa 96 źrodło rozwiń

Każdy czegoś nie lubi, ja na przykład nie lubię gdy ktoś siada na moim krześle, a potem ja muszę na nim usiąść, fuj – takie ciepłe, zawsze chwilę odczekuje. Albo NULL – to ciągłe sprawdzanie czy zmienna nie jest nullem, a potem jeszcze specjalna obsługa tu i tam i jeszcze tam, a potem tam i tam niosą, się ify po całym projekcie, albo wyjątki – BLEHSposób Na szczęście na jedno i drugie jest sposób; każdemu mówię, że na moim krześle się nie siada i głośno warczę gdy ktoś łam...

Null object mi różnicy nie robi | Jarosław Stadnicki

Architektura 2799 dni, 20 godzin, 3 minuty temu macabre13 347 źrodło rozwiń

So far we learned about the whole concept of Command Query Responsibility Segregation (CQRS) and Event Sourcing. We also implemented domain objects which Aggregate consists of, and we expressed user’s intentions using Commands executed by Command Handlers. Today we’ll discover the role of events, and more importantly, we’ll introduce Event Sourcing to our Awesome Calendar project. One more thing. As I mentioned in one of the previous parts, I’m currently working on this project wich means that some code ...

Źródło: foreverframe.pl
Dziel się z innymi:
CQRS/ES #4 Events and Event Store - Forever F[r]ame

Architektura 2804 dni, 44 minuty temu dpawlukiewicz 144 źrodło rozwiń

W jakich sytuacjach powinniśmy budować portal internetowy od podstaw, a kiedy skorzystać z gotowego rozwiązania? Poniżej znajdziecie listę przypadków w których (moim skromnym zdaniem) powinniśmy zdecydować się na jeden lub drugi scenariusz. Mam nadzieję, że okażą się one przydatne dla kogoś, kto być może stoi przed podobną decyzją w niedalekiej przyszłości

Dziel się z innymi:
Budujemy portal. Własna aplikacja internetowa vs system CMS – XRM Labs by Piotr Gaszewski

Reading time ~2 minutes In the previous post I’ve wrote about why I think the ability to schedule tasks for later execution is a fundamental technical feature, but also a must have from a business point of view. We are passed the whys, so lets get to the hows. The answer is simple - Hangfire. I’ve wrote about it here, here and here, so yeah, I like it. Hangfire is an amazing library. It has proved itself in my pet project (cookit.pl) and in a huge ERP system that we are building at work, where we repla...

Dziel się z innymi:
Don't do it now! Part 2. Background tasks, job queuing and scheduling with Hangfire – IndexOutOfRange

Architektura 2806 dni, 23 godziny, 51 minut temu maklipsa 151 źrodło rozwiń

1 2... 15 16 17 18 19 20... 33 34

Najaktywniejsi w tym miesiącu