We just completed our first Lunch & Learn, and the topic was RESTful Web API.  Thanks to all those who attended!

 

During the event, we built a short functional demo from scratch which we shared below.  Since all the things we did today can be re-created for free, we posted them here so those who are learning RESTful Web API might be able to get started themselves.

 

We used Visual Studio Express for Web, which you can download for free here: http://www.microsoft.com/en-us/download/details.aspx?id=40747

 

We created a new ASP.NET Web Application, choosing Web API as an option, when creating the project.

 

In addition, we created these four files to add to the project, in the following locations:
/Controllers/PersonController.cs
/pages/index.html
/pages/js/index.js
/data/demoDB.cs

 

This is all meant simply as a tool for learning and to see some basics.  To learn more about Web API, there are good free online tutorials here: http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api