background preloader

Programming

Facebook Twitter

Visual Studio ALM + Team Foundation Server Blog. Making The Case for Async Web Parts - Kirk Evans Blog. This post will show how to make a call to HttpWebRequest asynchronously from a web part and wait on the result or time out. Years ago, I was fortunate to meet Jeff Richter and attend a session he gave on .NET performance. He discussed I/O completion ports and showed why any calls from an ASP.NET page to a web service or another page absolutely must be done asynchronously. In short, when you make a call such as HttpWebRequest.GetResponse from an ASP.NET page, you are blocking the thread.

Instead, replacing it with an asynchronous pattern such as HttpWebRequest.BeginGetResponse will use an I/O completion port to wait for the response, freeing the processing thread to do more work. I recently worked with a customer that wrote a web part that uses HttpWebRequest to make calls to a backend service to obtain some data. Confirming That Web Parts Are Synchronous While I was working on a solution, a colleague indicated he thought that web parts would be invoked asynchronously. Making It Async Wow! 1: Tutorial. Welcome to the PostgreSQL Tutorial.

The following few chapters are intended to give a simple introduction to PostgreSQL, relational database concepts, and the SQL language to those who are new to any one of these aspects. We only assume some general knowledge about how to use computers. No particular Unix or programming experience is required. This part is mainly intended to give you some hands-on experience with important aspects of the PostgreSQL system.

It makes no attempt to be a complete or thorough treatment of the topics it covers. After you have worked through this tutorial you might want to move on to reading Part II to gain a more formal knowledge of the SQL language, or Part IV for information about developing applications for PostgreSQL. Db.cs.berkeley.edu/papers/vldb09-madskills.pdf. Scaffolding. Need reasons to love Bootstrap? Look no further. By nerds, for nerds. Built at Twitter by @mdo and @fat, Bootstrap utilizes LESS CSS, is compiled via Node, and is managed through GitHub to help nerds do awesome stuff on the web.

Made for everyone. Bootstrap was made to not only look and behave great in the latest desktop browsers (as well as IE7!) Home · capistrano/capistrano Wiki. DevCon TLV – HTML5 APIs. Command line - Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin. PhantomJS: Headless WebKit with JavaScript API.