Tech Tutorials Database
GeekArticles Database SQL Server
 

Implementing the Store Locator Application Using ASP.NET MVC (Part 2)

 
Author: 4guysfromrolla.com
Category: SQL Server
Comments (0)

<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 &gt;</a></p>

Read More...




Sponsored Links




Read Next: Implementing the Store Locator Application Using ASP.NET MVC (Part 1)



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe