GeekArticles
Database
SQL Server
Database
SQL ServerImplementing the Store Locator Application Using ASP.NET MVC (Part 1)
<p>
Back in May 2010 I wrote a three-part article series titled <a a Store Locator ASP.NET Application Using Google
Maps API</a>, which showed how to build a simple store locator application using ASP.NET and the Google Maps API. The application consisted of two ASP.NET pages. In the
first page, the user was prompted to enter an address, city, or postal code (<a shot</a>).
On postback, the user-entered address was fed into the Google Maps <a
service</a> to determine whether the address, as entered, corresponded to known latitude
and longitude coordinates. If it did, the user was redirected to the second page with the address information passed through the querystring. This page then queried
the database to find nearby stores and listed them in a grid and as markers on a map (<a shot</a>).
</p><p>
Since the WebForms store locator application was published, several readers have emailed me to ask for an
<a MVC</a> version. I recently decided to port the existing WebForms application to ASP.NET MVC. This article,
the first in a two-part series, walks through creating the ASP.NET MVC version of the store locator application and pinpoints some of
the more interesting and challenging aspects. This article examines creating the ASP.NET MVC application and building the functionality for the user
to enter an address from which to find nearby stores. Part 2 will examine how to show a grid and map of the nearby stores. Read on to learn more!
<br /><a More ></a></p>
Sponsored Links
Read Next: Building Interactive User Interfaces with Microsoft ASP.NET AJAX: Rebinding Client-Side Events Afte
Related Topics
Subscribe via RSS
SQL Server
- Naming Database Objects: Part II
- Trace Messages Part V: Trace Cleanup
- Naming Database Objects: Part I
- Multiple-Child Aggregation
- Creating SQL Tables for an Integrating Application Using Dexterity
- SQL Server 2005 Beta 2 Transact-SQL Enhancements
- .NET Rocks! - Brian Larson on SQL Server Reporting Services
- Computing the Trimmed Mean in SQL
- SQL Server 2000 Gains on Oracle
- Separator First Formatting (SFF)
