Using ASP.NET MVC 4, ApiControllers and SQL Server 2012

added by galratner
5/23/2012 8:27:44 AM

4 Kicks, 426 Views

ASP.NET MVC continues to innovate and in its current version (4) it offers support for Web APIs. Today we are going to examine a real life scenario of using Web APIs along with MVC 4 as we are utilizing the Google Earth plug-in to mark a defined area and SQL Server 2012 geography type to help us persist and calculate GIS data. In our example we are going to mark an area on the globe using a polygon, calculate the center of the area, find all of the coffee shops closest to the center of the area and arrange them by distance. We are going to mark them on the map as well as show a full list including ranking.


0 comments