Reading Time: 4 minutes Microsoft SQL Server brought some major enhancements recently one of them was native support for Temporal Design “out of the box”. Temporal Design can sometime […]
NET Meetup #47 – Db History and Auditability in Entity Framework and .NET 7￼
Reading Time: < 1 minute In the Community Event, tune in to know about .Net7 Preview 1 by Jose Barbosa and DB History Tracking and Auditability using Temporal Design Pattern by Vineet Yadav
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.
Record in C# 9 | Creation, Immutability, Equality, Inheritance
Reading Time: < 1 minute We shall see what are the record and how are they beneficial. record have been recently announced in c# 9.0 new features. Record provide a concise way of defining (immutable) object types especially when requirement is around data oriented scenarios.
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 Asp.net 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.