EDN Admin
Well-known member
Last weeks article, http://www.4guysfromrolla.com/articles/081810-1.aspx Implementing the Store Locator Application Using ASP.NET MVC (Part 1) , started
a two-part article series that walked through converting my http://www.4guysfromrolla.com/articles/051910-1.aspx ASP.NET store locator application from
WebForms to ASP.NET MVC. Last weeks 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
; and coding
the
and
actions and views.
Recall that the
action and view prompts the user to enter an address for which to find nearby stores. On form submission, the action interfaces
with the http://code.google.com/apis/maps/ Google Maps API s geocoding service to determine if the entered address corresponds to known latitude and
longitude coordinates. If so, the user is redirected to the
action (which we create in this article) that displays the nearby stores in
both a grid and as markers on a map. Unlike the
action created in Part 1, the
action uses a more intricate
model and a strongly-typed view. Read on to learn more!
http://www.4guysfromrolla.com/articles/082510-1.aspx" class="readmore Read More >
View the full article
a two-part article series that walked through converting my http://www.4guysfromrolla.com/articles/051910-1.aspx ASP.NET store locator application from
WebForms to ASP.NET MVC. Last weeks 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
the
Code:
Index
Code:
StoreLocator
Recall that the
Code:
StoreLocator
with the http://code.google.com/apis/maps/ Google Maps API s 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
both a grid and as markers on a map. Unlike the
Code:
StoreLocator
Code:
StoreLocatorResults
model and a strongly-typed view. Read on to learn more!
http://www.4guysfromrolla.com/articles/082510-1.aspx" class="readmore Read More >
View the full article