Strona głównaUżytkownik

cezarypiatek | użytkownik

cezarypiatek
cezarypiatek
1 418,8
367 dni, 12 godzin, 55 minut temu
18 kwietnia, 2014
dotnetomaniak.pl

WireMock.NET allows for easy testing of the code that makes HTTP requests, without having to rely on the actual external service being available and without hacking HttpClient.

Tagi: dotnet, HTTP, testing
Dziel się z innymi:
WireMock.NET - Introduction · Cezary Piątek Blog

Narzędzia 373 dni, 21 godzin, 18 minut temu cezarypiatek 129 źrodło rozwiń

In this article, I’ll delve into the process of mocking dependencies in a DI container when using WebApplicationFactory, and offer some insights and best practices I’ve learned along the way.

Tagi: testing
Dziel się z innymi:
Mocking dependencies in ASP.NET Core tests · Cezary Piątek Blog

Sztuka programowania 463 dni, 19 godzin, 41 minut temu cezarypiatek 79 źrodło rozwiń

MediatR is a very popular library used to reduce dependencies between objects. It advocates an architecture based on very valuable design principles: not allowing direct communication between objects, it promotes loose coupling...

Tagi: Biblioteka
Dziel się z innymi:
You probably don't need MediatR

Sztuka programowania 812 dni, 20 godzin, 26 minut temu cezarypiatek 134 źrodło rozwiń

W 80. odcinku porozmawiamy o poziomach wyjebania i o tym jak zatrudnić osoby którym zależy. Miłego słuchania. Sponsor odcinka:Jarosław Stadnicki Dla przypomnienia: 📨 Nasze poczynania możesz także śledzić innych stronach: ostrapila.pl/subskrybuj 📖 Plan na podcasty dostępny jest na trello: trello.com/b/yXGeD0Ud/tematy-podcastów. 💌 Możesz tam śmiało komentować przyszłe odcinki. Jeśli chcesz usłyszeć o czymś czego nie ma na liście zostaw nam wiadomość tutaj na pryw...

Źródło: ostrapila.pl
Dziel się z innymi:
O poziomach wyjebania – Ostra Piła

Inne 855 dni, 20 godzin, 24 minuty temu macabre13 131 źrodło rozwiń

.NET się zmienia. Staje się coraz lżejszy. Minimal API są tego przykładem. Pozwalają na szybkie zbudowanie API i uruchomienie nowego serwisu. W dobie mikroserwisów i Cloud jak znalazł. Przetestowałem, jak sprawdzą się z innym wzorcem promującym prosty podział kodu: CQRS. Czytaj dalej by zobaczyć jakie są moje wnioski.

Źródło: event-driven.io
Dziel się z innymi:
CQRS is simpler than you think with .NET 6 and C# 10 - Oskar Dudycz

Architektura 854 dni, 20 godzin, 22 minuty temu oskar-at-net 267 źrodło rozwiń

MediatR is a tool - and just like any tool, it has its own scope of application, and being used incorrectly might do more harm than good. This blog post summarizes my thoughts about using MediatR for supporting CQRS architecture.

Dziel się z innymi:
Why I don't use MediatR for CQRS · Cezary Piątek Blog

Sztuka programowania 853 dni, 20 godzin, 14 minut temu cezarypiatek 187 źrodło rozwiń

I recently migrated my VS Extension MappingGenerator (https://mappinggenerator.net/) to VisualStudio 2022. Unfortunately, I lost 4h by following the official migration guideline. Here are my notes on the subject to save you some time https://cezarypiatek.github.io/post/migrate-vsix-to-vs2022/

BREAKING: Developer revealed a complete release pipeline source code for commercial product

Narzędzia 961 dni, 21 godzin, 56 minut temu cezarypiatek 49 źrodło rozwiń

Bez zbędnego owijania w bawełnę oto 77. odcinek podcastu w a nim z naszym gościem rozmawiamy o projektach po godzinach, zajawkach i Open source. Miłego słuchania. Gość odcinka: Cezary Piątek – https://cezarypiatek.github.io/

Źródło: ostrapila.pl
Dziel się z innymi:
Projekty po godzinach, zajawki i Open-source – Ostra Piła

Inne 982 dni, 21 godzin, 58 minut temu macabre13 62 źrodło rozwiń

In the “classical unit tests” developers quite often use Arrange/Act/Assert comments to annotate the main parts of the test method script. However, the test case scenarios in component tests tend to be more complex and those simple notations don’t fit anymore. Here's my proposition on how to deal with that problem...

Tagi: testing
Dziel się z innymi:
Readable and clear tests for ASP.NET Core services · Cezary Piątek Blog

Sztuka programowania 982 dni, 21 godzin, 58 minut temu cezarypiatek 60 źrodło rozwiń

The story behind creating my first general use, performance-first library.

Validot's performance explained - lenar.dev

Narzędzia 1043 dni, 22 godziny, 19 minut temu bartoszlenar 55 źrodło rozwiń

Czyli wróżby o tym co się wydarzy w technologii w najbliższym czasie.

Źródło: blog.scooletz.com
Dziel się z innymi:
[EN] Betting for the Future - Szymon Kulec @Scooletz

Architektura 1042 dni, 21 godzin, 34 minuty temu Scooletz 78 źrodło rozwiń

In this blog post I’m going to share my experience on testing ASP.NET Core applications with applying unconventional method called snapshot assertions. In comparison to the classical approach this method should save you a lot of time and improve assertions maintainability.

Dziel się z innymi:
Testing WebAPI with ApprovalTests.NET · Cezary Piątek Blog

Narzędzia 1128 dni, 20 godzin, 52 minuty temu cezarypiatek 104 źrodło rozwiń

Answering the question "What's the difference between a command and an event?" is not so obvious as it may seem. Fact vs Intent is not explaining everything. I went through the different aspects of this distinction in my new blog post. I also explain the consequences of those considerations.

Źródło: event-driven.io
Dziel się z innymi:
What's the difference between a command and an event? - Oskar Dudycz

Architektura 1155 dni, 20 godzin, 35 minut temu oskar-at-net 95 źrodło rozwiń

Tworząc aplikację, na ogół zależy nam na tym, aby działała jak najszybciej. Spędzamy często wiele godzin na tym, aby zoptymalizować jej działanie. Ale sporadycznie pojawiają się sytuacje, kiedy musimy sztucznie ograniczyć ilość operacji. Na przykład API, z którego korzystamy, umożliwia wykonanie tylko ograniczonej ilości żądań w jednostce czasu. Biblioteka RateLimiter, o której mowa w tym wpisie, właśnie umożliwia zrealizowanie czegoś takiego w aplikacji .NET....

Tagi: HTTP, ratelimiter
Źródło: plawgo.pl
Dziel się z innymi:
RateLimiter limitowanie ilości żądań - PROGRAMUJE .NET - Daniel Plawgo

Narzędzia 1176 dni, 20 godzin, 15 minut temu danielplawgo 122 źrodło rozwiń

A while ago I came across “Quick notes on a rant” authored by Don Syme. This rant criticizes the C# language for the lack of a few important features. The first point is "Implicitly discarding information is so 20th Century" which brings our attention to one of the sources of bugs in C# programs. Lucky me, I got the pleasure to make this kind of bug and find it later in production code, so this blog post is to save you the trouble...

Dziel się z innymi:
Pure functions and unused return values · Cezary Piątek Blog

Sztuka programowania 1155 dni, 20 godzin, 35 minut temu cezarypiatek 66 źrodło rozwiń

How to completely automate continuous integration and release management of visual studio extensions.

Dziel się z innymi:
Github Actions for Visual Studio Extension developers · Cezary Piątek Blog

Narzędzia 1179 dni, 20 godzin, 21 minut temu cezarypiatek 27 źrodło rozwiń

In the last two posts, I’ve described 14 different code smells related to the async/await keywords. Beside the problem description, I’ve also provided info about code analyzers that can detect and report given issue. Those analyzers come from a few different packages that are not strictly devoted to the asynchronous programming area. They also contain rules from other fields with predefined severity, which might not be appropriate to your needs, or you might not be interested in enforcing them at all. Th...

Dziel się z innymi:
Async code smells and how to track them down with analyzers - Summary · Cezary Piątek Blog

Narzędzia 1261 dni, 20 godzin, 30 minut temu cezarypiatek 78 źrodło rozwiń

This blog post continues the series which is a guide through the code analyzers available on the market and their possibilities. I’m trying to help you answer the question: “Which analyzer package should I use and how to configure it to avoid problems related to async/await?".

Tagi: analyzers, csharp
Dziel się z innymi:
Async code smells and how to track them down with analyzers - Part II · Cezary Piątek Blog

Sztuka programowania 1277 dni, 21 godzin, 38 minut temu cezarypiatek 45 źrodło rozwiń

Mocki to zmora wielu osób bo często trzeba napisać sporo „niepotrzebnego” kodu, który czasem (jeśli dobierzemy zły framework) jest zupełnie nieczytelny. Na domiar tego niektórzy używają pojęć mock, stub, fake, dummy. Jak się połapać w tym wszystkim? Co do czego użyć? Jak to wszystko pokonfigurować? I wszystko po to aby przetestować jakąś jedną funkcję… … no właśnie, dlatego nie piszę mocków. Unikam ich jak ognia. No ale jak to nie piszę? Bo jestem leniwy i uważam, że dobry...

Źródło: benedykt.net
Dziel się z innymi:
Dlaczego dobry dev nie używa mocków : Developers Life

Narzędzia 1282 dni, 21 godzin, 51 minut temu arek 207 źrodło rozwiń

In this video, we're going to learn about a few C# and JIT decompilation tips using WinDBG.

Źródło: youtu.be
Dziel się z innymi:
[EN] C# JIT Decompilation Tips using WinDBG - YouTube

Sztuka programowania 1284 dni, 21 godzin, 39 minut temu Badamczewski 17 źrodło rozwiń

1 2 3 4 5 6

Najaktywniejsi w tym miesiącu