Summary

There you have it… a web application that takes your physical location, and connects you in real time to other users of the app. To do this, we explored a variety of technologies that any modern web developer, and in particular, ASP.NET developer should be familiar with: ASP.NET MVC, SignalR, HTML5 GeoLocation, and client-side mapping with Google Maps.

The following are some ideas that you could use to extend this sample:

  • Consider persisting the user's last known location in a database such as SQL Server or MongoDB
  • Think about how you can scale this kind of application to support more users (look at the SignalR.Scaleout library)
  • Limit the users that you notify to only those within a certain distance (learn how to calculate distance between two points on the globe with the haversine formula)
  • Show points of interest that are near the user with one of the various location databases that are available on the Web such as the FourSquare Venus API, or the FaceBook Places API.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.254.90