ASP.Net Web API Supercharges your Web Forms
Courtesy Charles Nurse, DrDobbs
A Simple Web Forms Application
To understand how to supercharge an existing Web Forms application with the ASP.NET Web API, let’s first take a brief look at a Web Forms app that I’ll use as an example. Figure 1 shows the list view of a simple Tasks application, which was created using the new Web Forms template shipped as part of Visual Studio 2012.
Figure 1: The Tasks page in list mode.
The Add New Task button and the Edit links in the Grid allow the user to add new tasks or edit the relevant existing tasks.
Assume that you have been given a new requirement: Instead of just displaying the "Is Complete" status of the task, the application should display a checkbox and allow users to update the status of the task (rather than having to click "Edit" and be redirected to the edit page).
You could fulfill this requirement by using a checkbox column in the ASP.NET
GridView control and switching the