Tuesday, May 23, 2017
Sample to my future lecture If you going to attend my lecture at the SDP conference and you like to take a look at the demos in front. The Demo code available at GitHub.
Wednesday, March 15, 2017
Async Tip: why you should avoid void The guideline to prefer async method which return Task over async method that return void is quite known, but why should you follow the guideline? Code Snippet public async void NotRecomendedAsync() { // do something await SomeCodeWhichMayThrowAsync(); // do something } public async Task RecomendedAsync() { // do something await SomeCodeWhichMayThrowAsync(); // do something } The first obvious reason to use the guideline is testability. When you return void the test don’t really know when it is right time to check...