Blog Logo
TAGS

Upload Large Files in C#

Uploading files in web frameworks and programming languages is usually simple until the files are large or multiple files are uploaded simultaneously. This can cause memory usage and bottleneck concer...

Read more...

Parse Markdown Front Matter With C#

Learn how to parse YAML front matter with C# in this blog post by Khalid Abuhakmeh. YAML is tricky syntax that promotes itself as a human-friendly data serialization standard for all programming langu...

Read more...

Controlling the Serial and Parallel Test on XUnit

My Project requires both Serial and Parallel test execution on a project. I’d like to know how to handle this situation. A collection is the unit of tests. The tests that are in the same collection, i...

Read more...

Excluding Your .NET Test Project From Code Coverage

This article discusses a code snippet that can be used to exclude .NET test projects from code coverage metrics collection. The author explains that they use an extension to receive feedback on their ...

Read more...

Supporting integration tests with WebApplicationFactory in .NET 6

In this post, Andrew Lock dives into exploring .NET 6 and discusses how to support integration tests with WebApplicationFactory. WebApplicationFactory and HostFactoryResolver class are two powerful to...

Read more...

Bending DateTime in .NET to Test Your Code Better

Learn how to solve the problem of validating actual time in your code when using DateTime.Now or DateTime.UtcNow. Author Stephen Walsh shares his solution using SimpleDateTimeProvider NuGet Package wh...

Read more...

Scrutor - Assembly Scanning and Decoration Extensions for Microsoft.Extensions.DependencyInjection

# Scrutor [![Build status](https://ci.appveyor.com/api/projects/status/j00uyvqnm54rdlkb?svg=true)](https://ci.appveyor.com/project/khellang/scrutor) [![NuGet Package](https://img.shields.io/nuget/v/Sc...

Read more...

Monacs.Sample - Sample project for Monacs library

This is a sample project showcasing the Monacs library. Monacs is a library that provides a monadic approach to handling errors and side effects in your code. With Monacs, you can easily and safely co...

Read more...

Avoiding Downtime in Rolling Deployments by Blocking SIGTERM

This post discusses the problem of seeing 502 error responses from your applications when theyre being upgraded using a rolling-upgrade deployment in Kubernetes. After upgrading a chart, and confirmin...

Read more...

Dont Do That, Do This: The .NET 6 Edition

This post is my annual contribution to the 2021 C# Advent Calendar. .NET 6 has officially arrived and there are a lot of good stuff, including C# 10, performance improvements, Hot Reload, and Minimal ...

Read more...

Implementing the microservice application layer using the Web API

Learn how to Implement the microservice application layer using the Web API in this article. The application layer can be implemented as part of the artifact (assembly) you are building, such as withi...

Read more...

How to Build an Event-Driven ASP.NET Core Microservice Architecture

Learn how to use RabbitMQ, C#, REST-API, and Entity Framework to build an event-driven microservice architecture that supports asynchronous decoupled communication and eventual consistency with integr...

Read more...

C# Channels - Async Data Pipelines

In this article, learn how to efficiently process data in a non-blocking way using the pipeline pattern. Compose and test pipelines using .NETs channels, and see how to cancel and handle errors. Imple...

Read more...

Pipelines for C#

Pipelines is a library for implementing programs as Pipeline objects in C#. This library is inspired by Arlo Belshees talk, Refactoring to Async. Pipelines are a mechanism of separating a function tha...

Read more...

Object Calisthenics: Principles for Better Object-Oriented Code

Ready to up your coding game? Object Calisthenics will help you create code that is cleaner, more flexible, more agile, and more reusable. Object Calisthenics were first introduced by Jeff Bay in The ...

Read more...

The Outbox Pattern in Event-Driven ASP.NET Core Microservice Architectures

Learn how to build a resilient architecture with RabbitMQ, C#, Entity Framework, and the Transactional Outbox Pattern. In this guide, you will create two microservices that use events to publish chang...

Read more...

Accenture | Let There Be Change

Accenture is a global professional services company with expertise across a wide range of industries and services, including artificial intelligence, customer experience, digital transformation, cyber...

Read more...

Domain-Driven Refactoring: Intro

A common trap in Domain-Driven Design is blindly applying patterns and complex layering with the hope of achieving clean code. However, no amount of prescriptive guidance results in automatically clea...

Read more...

Message Routing in Dotnet 6

In this post, Joshua Steward builds on his previous work on background message processing in Dotnet 6 and introduces a new concept called MessageRouter. The post discusses how to route a single Intern...

Read more...

Proto.Actor - Ultra-fast, distributed, cross-platform actors.

Proto.Actor is a minimalistic API for ultra-fast, distributed, cross-platform actors. It is built on existing technologies and uses Protobuf for serialization. The API is small and easy to use, avoidi...

Read more...