Async Streams in C# 8 – IAsyncEnumerable with Cancellation Token, Configure Await

Reading Time: < 1 minute Async Streams is the new feature in C# 8.0 which provides async support for handling streams or IEnumerable data. In this session we cover all the aspects of Async Streams (IAsyncEnumerable) including how to use ConfigureAwait and how to use CancellationToken as well.

Cancellation token can be a great way to manage async programming in dotnet core and C# but with Async Streams it can be a bit difficult and at times if not used properly can give errors. We shall be discussing briefly everything about AsyncStreams. IAsyncEnumerable also has options and support for CancellationToken as well as ConfigureAwait.

C# Switch Expressions – Hands-on Smart Programming Lab

Reading Time: < 1 minute Remove all your nested and complex if-else if – else logic with switch expressions. With concise statement, better readability, its one of the major change brought in core programming concepts since school days. in addition to improve better chances at interview with more readable and better understandable code, this also improves overall efficiency and productivity.

Why and How to use Explicit Interface Implementation

Reading Time: < 1 minute What would happen if you need to implement two interfaces with same member names. How would you do it. While this question seems simpler, its not actually in implementation as there are a few hidden tricks. In this video we try to cover the basic fundamentals of the Explicit Interface Implementation and also do a quick hands on how to do it.

Custom MongoDb Configuration Provider for Core 3.1

Reading Time: 5 minutes round four years ago when .Net Core was in its early stages, I wrote back a Configuration provider for .net core 1.x. This has been a long time. The package did picked up very well and there were multiple downloads and a few queries as well. Many people would never know that .net core started with json project files. But since then a lot changed and my package went obsolete.