yield is a keyword that allows the current method to “stream” results to an iterator. In simple words, it allows you to return results on demand. Only recently have I discovered the upgrades this keyword has received with C# 8.0. I wanted to share them here. The yield keyword can be used in specific scenarios. […]
Category: Dev
“Always keep your promises” is a common saying which elders suggest would help you in life. But the same could also help keep your AngularJS clean. Angular JS relies on promises for all of it’s asynchronous operations. Promises are designed to represent the result of an operation which are not yet completed. $http service provides […]
Every web application does one thing in common — Load Data. Any developer would want his user to by notified that some background loading task is running by showing a loading symbol and also might want to disable various controls on screen. This piece of code looks fine. Show loading symbol before a http call, […]