Tag: C#
All the articles with the tag "C#".
-
CancellationToken in Real Systems
A practical follow-up to CancellationToken basics: request aborts, linked tokens, timeouts, background services, and the mistakes that show up in production backends
-
A Deep Dive into C#'s CancellationToken
A deep dive into C#'s CancellationToken, how to work with them and some recommended patterns while adopting them
-
Improvements and Implementations of the Singleton Pattern
How the default singleton pattern becomes an anti-pattern at times and how we can improve on its flaws in different ways to create ambient services in your code
-
How to Create a Fluent API in C#
A introductory post talking about fluent apis, its pros and cons and how to design one for yourself from scratch
-
How to create a custom C# Attribute to Inject Extra Behavior in Tests
How I made a custom attribute to decorate my usual tests with extra behavior for tests written using the MS Test Framework
-
Hello Xamarin (And 2021)
My plans and upcoming things I might write about on this blog
-
The different kinds of Unit Tests
Discover various patterns of Unit Tests with simple examples and how you can use them to improve your UTs game
-
C# Properties and their different Uses
A dive into C# Properties and various interesting patterns of using them into your code