public class UsLocationRecord { public int Id { get; set; } public string ZipCode { get; set; } public string City { get; set; } public string State { get; set; } public DbGeography Location { get; set; } } public class UsLocation { public int Id { get; set; } public string ZipCode { get; set; } public string City { get; set; } public string State { get; set; } public double Latitude { get; set; } public double Longitude { get; set; } } This doesn’t serialize too well, so we need a View ModelThere. That’s better.
NuGet Package Link: Any browser Templates are.CSHTML files Introduction and how-to:
Code Files for “reusable” classes Models.Silverlight Models.Phone Models.Windows Models UX.Silverlight UX.Phone UX.Windows UX.Web ApiClient.Silverlight ApiClient.Phone ApiClient.Windows ApiClient.Web
Code Files for reusable classes UX.Silverlight UX.Phone UX.Windows UX.Web Common PCL
Client PlatformServer Platform
?