Check if a String is a Palindrome with LINQ
You can use the power of LINQ to solve problems in just a few lines of code instead of "inventing your own algorithms" - which will lead to much cleaner code. Let's examine for example on how to check for palindromes.
Simplifying Dependency Injection
Dependency Injection (DI) is a cornerstone of modern .NET applications, ensuring loose coupling, testability, and maintainability. However, traditional DI configurations can quickly become verbose and boilerplate-heavy. Developers often find themselves manually registering every service, leading to cluttered Program.cs
files and a tedious onboarding experience. Campsis.AutoInject comes to the rescue!
Fluent Builder Pattern in C#
The Fluent Builder pattern is a powerful tool in your C# toolbox. When implemented correctly, it can significantly improve the readability and maintainability of your code.
Understanding Memory<T>
Modern applications often require handling large datasets efficiently without unnecessary data copying. C# introduced Memory<T>
as a versatile tool for optimizing memory management. Here we will explore how Memory<T>
solves common issues and its advantages over traditional approaches.
Inline Lambdas with LINQ in C# 13
Reduce verbosity by simplifying lambda expressions with inline syntax
Implementing Modern API Versioning in .NET
How t0 implement modern API versioning in .NET using the latest tooling available. In this video we will focus on Minimal APIs since this is the new feature added in .NET 6, but this approach can be used for Web APIs as well.
Parameter Null Checking in C# 11
Get ride of common boilerplate code to validate if the method arguments are null with C# 11.
The magic of LINQ
Practical LINQ: Calculate the duration of whole music album
How to return Yield Results in Async Operations
How to return Yield Results in Async Operations thanks to IAsyncEnumerable in C#