Articles about: Posts
![](https://cezarypiatek.github.io/post/mocking-authorization-tokens//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/productivity-boost-snipptes//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/generate-wiremocknet-mappings-with-proxy//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/mocking-graphql-with-wiremock//splashscreen.jpg)
GraphQL is a query language for APIs that allows clients to request exactly what they need, making data retrieval more efficient than traditional REST APIs. It supports three different types of client-server interaction: queries, mutations and subscriptions. When you start integrating a GraphQL API as a consumer in your application, it’s likely that you’ll need to write automated tests to ensure that the integration works correctly. In this blog post, I will show you how to mock GraphQL queries using WireMock.NET.
... Read More![](https://cezarypiatek.github.io/post/maintainable-test-fixture//splashscreen.png)
In this blog post I describe the typical problems caused by the usage of Setup
and Teardown
method in dotnet tests and how those problems can be solved by using only C# language features.
![](https://cezarypiatek.github.io/post/wiremock-in-parallel-tests//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/memory-dump-on-kubernetes//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/mocking-outgoing-http-requests-p2//splashscreen.jpg)
In the second installment of my blog post series on WireMock.NET, I will be discussing some of the most common problems that developers encounter while using the library. WireMock troubleshooting can be quite time consuming, especially when you don’t know the drill. I hope that my guideline will save you a lot of time.
... Read More![](https://cezarypiatek.github.io/post/mocking-outgoing-http-requests-p1//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/mocking-dependencies-in-asp-net-core//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/why-i-dont-use-mediatr-for-cqrs//splashscreen.jpg)
The purpose of this article is not to criticize the MediatR library. 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.
... Read More![](https://cezarypiatek.github.io/post/migrate-vsix-to-vs2022//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/component-tests-scenarios//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/testing-web-api-with-approval-tests//splashscreen.jpg)
In this blog post, I’m going to share my experience on testing ASP.NET Core
applications by applying an unconventional method called snapshot assertions
. In comparison to the classical approach, this method should save you a lot of time and improve assertions maintainability.
![](https://cezarypiatek.github.io/post/pure-functions-and-unused-return-value//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/develop-vsextension-with-github-actions//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/async-analyzers-summary//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/async-analyzers-p2//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/async-analyzers-p1//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/auto-generated-web-api-client//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/dapper-tips-and-tricks//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/methods-with-special-signature//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/csharp-twin-types//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/better-non-nullable-handling//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/immutable-types-with-roslyn//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/setting-assembly-and-package-metadata//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/generate-mappings-on-build//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/managing-output-in-sdk-projects//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/non-nullable-references-in-dotnet-core//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/avoid-multithreading-traps-p2//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/csharp-macros//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/avoid-multithreading-traps-p1//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/effective-mocking//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/exceptions-usages-analyzer//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/best-practices-for-using-powershell-with-teamcity//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/renovate-your-dot-net-solution//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/scheduled-elasticsearch-cleanup//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/tips-and-tricks-for-managing-elk-configuration//splashscreen.jpg)
A few months ago I published “Demystifying ELK stack” article that summarizes my knowledge about setting up and configuring the system for collecting, processing and presenting logs, based on Filebeat, Logstash, Kibana, and Elasticsearch. Since then I’ve learned a few new DevOps things which help me and my teammates to work more effectively with ELK. I think they’re worth sharing.
... Read More![](https://cezarypiatek.github.io/post/the-art-of-designing-exceptions//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/cqrs-snippets//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/no-more-staleelementreferenceexception//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/feature-object-pattern//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/demystifying-elk-stack//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/be-the-first-to-know-of-the-bug//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/space-eaten-up-by-resharper//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/validate-fields-in-nhibernate-model//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/generate-mapping-code-with-roslyn//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/whats-wrong-with-unobtrusive-ajax//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/why-i-dont-use-automapper//social_splashscreen.jpg)
![](https://cezarypiatek.github.io/post/integrating-teamcity-with-msteams//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/exploring-powershell-with-gui//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/how-get-rid-of-todo-from-codebase//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/debug-without-sources-part-one//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/how-to-manage-todo-in-codebase//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/why-click-with-selenium-so-hard//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/hunt-your-bugs-design-time//splashscreen.jpg)
![](https://cezarypiatek.github.io/post/save-tortoise-history-with-repair-move//splashscreen.jpg)
TortoiseSVN has a function named simply “rename” which allows you to change the file name and keep the file history as well. But what if we change the file name for example during refactoring using Visual Studio? Are we fated to lose file history? Fortunately TortoiseSVN has an interesting option called “repair move”.
... Read More![](https://cezarypiatek.github.io/post/livetemplates//splashscreen.jpg)