GeekArticles
Database
SQL Server
Database
SQL ServerImplementing the Store Locator Application Using ASP.NET MVC (Part 2)
<p>
Last article, <a the Store Locator Application Using ASP.NET MVC (Part 1)</a>, started
a two-part article series that walked through converting my <a store locator application</a> from
WebForms to ASP.NET MVC. Last article stepped through the first tasks in porting the store locator application to ASP.NET MVC, including: creating the new
project; copying over stylesheets, the database, scripts, and other shared content from the WebForms application; building the <code>HomeController</code>; and coding
the <code>Index</code> and <code>StoreLocator</code> actions and views.
</p><p>
Recall that the <code>StoreLocator</code> action and view prompts the user to enter an address for which to find nearby stores. On form submission, the action interfaces
with the <a Maps geocoding service to determine if the entered address corresponds to known latitude and
longitude coordinates. If so, the user is redirected to the <code>StoreLocatorResults</code> action (which we create in this article) that displays the nearby stores in
both a grid and as markers on a map. Unlike the <code>StoreLocator</code> action created in Part 1, the <code>StoreLocatorResults</code> action uses a more intricate
model and a strongly-typed view. Read on to learn more!
<br /><a More ></a></p>
Sponsored Links
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)
