O'Reilly logo

C# 5 First Look by Joel Martinez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required