Classes in System.Threading namespace and Task Parallel Library [TPL]  introduced in .Net framework 4.0 helps application developer write concurrent, multithreaded, parallel and asynchronous program. Yes I know; I have used quite a few heavy words here, which are often confusing and difficult to differentiate.  So let’s understand the difference between these terminologies first and then we will drill into race condition and thread / task synchronization. Concurrent – A concurrent Continue Reading

I have been a .Net developer since long time and I have developed fairly complex and large scale applications using different .Net framework technologies like C#, ASP.Net, Windows Forms, WCF etc. I have conducted numerous training sessions on these technologies for my team members and colleagues as well. Most of the time my focus was on to explain the language features like ‘Abstract classes’, ‘Interfaces’, ‘Virtual methods’, ‘LINQ’ etc. However I did not pay much attention on the Continue Reading

7 Comments

ASP.Net is a GREAT platform to build rich, interactive web based application and services. It provides many useful features like authentication, authorization, session handling, HTTP request handling, routing, bundling and minification, friendly URLs etc. You might have seen below diagram in many presentations from Microsoft, which highlights core pieces of ASP.Net web stack. Sites section contains different UI framework options like MVC, Web Page, Web Forms and Single Pages [commonly known as SPA] Continue Reading

2 Comments

Hello reader As we know fundamentals of WinJS Promise object, lets explore it further and understand how to make a asynchronous call to multiple web services in parallel. If you’re not familiar with WinJS promise object and the useful functions (xhr, done, then) it provides, I strongly recommend you to go through the below mentioned articles of this series before reading further. Asynchronous data load using WinJS Promise Object WinJS Promise Object chaining Promise.join WinJs Promise Continue Reading

Hello, In the previous article of this series, we have seen how to make asynchronous call to external web service using WinJS Promise object. We also explored WinJS.xhr function execution pattern [success, error, progress]. In real-life application, one might want to make a web service call dependent on previous web service call. WinJS Promise object provides easy way to chain such calls to external components. Purpose of this article is to explain WinJS Promise object chaining with code example Continue Reading