Overcoming the Pitfalls of Async/await Part 1

Overcoming the Pitfalls of Async/await Part 1

What will you learn in the blog:  I have this topic Asynchronous Programming in C# in my mind since long and I have been giving some small talks on Async/await in my organization. So I thought why not collect and summarize all the awesome knowledge stuff and the pain stuff as well which I went through in one of my projects while using Async in C# and blog about it for the community feedback.
So let’s get started and check out the awesome demos and diagrams which I have brought for you from books and blogs that I have read and other practical implementations. Before going further, I hope you are a beginner, intermediate or expert C# developer.
Continue reading

Replace If with Polymorphism with AutoFac DI Container

Abstract:

As the title specifies we will be Replacing the conditional if and Switch statement with the help of Polymorphism using DI container and talk about the benefits of doing the same in this article. Oops gives us pretty much great features which we are aware of theoretically but never implements practically. Polymorphism is one of the main features provided by Object-Oriented Languages which in turn implies that a Parent class can have more than one behavior and can point towards its child classes at runtime. If you want to learn more about OOPS features, you can go through below blog which talks about oops and other features. Continue reading

Adding an Existing Visual Studio Project to Bit bucket

Hi Everyone, I have developed many utilities to automate things up for us in my local machines and I have lost a lot of them. We as a developer usually code develop our own utilities to increase our productivity and use our artistic mind and practice a lot of code in home, office, workshops etc.
We generally keep our repository in our local machines. But sometimes due to system failure, we lose our best works which no1 is aware or project you were working on. Usually, big organization uses a Source Control system to avoid this vandalism like SVN, TFS, Bit Bucket, GitHub etc. With the advent of GitHub and Bit bucket, it’s is easy for developers to keep his magic work to be saved in the cloud that to private to him. Continue reading