F9 Group Marketing and Technology Blog

Marketing, Technology, and current news at http://www.f9group.com/

Entries Tagged ‘.net’

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

Back in May 2010 I wrote a three-part article series titled Building a Store Locator ASP.NET Application Using Google Maps API , 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 ( screen shot ). On postback, the user-entered address was fed into the Google Maps API’s geocoding service 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 ( screen shot ). Since the WebForms store locator application was published, several readers have emailed me to ask for an ASP.NET MVC 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! Read More >

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Follow C# 411 on Twitter

Tired of RSS feeds?  Now you can follow C# 411 on Twitter! Cool Twitter logo from here Related posts:New .NET LogoAdd Drop Shadow to Borderless FormC# Focus TextBox on Form Load Related posts: New .NET Logo Add Drop Shadow to Borderless Form C# Focus TextBox on Form Load

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

.NET Framework 4 and Extensions Poster

Click the image above to download a .NET Framework 4 and Extensions poster from Microsoft. Want more .NET posters?  Devcurry has published a collection of .NET Framework and Visual Studio posters including keyboard shortcut, namespace and type posters. .NET and Visual Studio Poster Collection Related posts:Visual Studio 2010 and .NET Framework 4.0 Released TodayVisual Studio 2010 and Related posts: Visual Studio 2010 and .NET Framework 4.0 Released Today Visual Studio 2010 and .NET Framework 4 Release Candidate Documentation Available for .NET Framework 4 and Visual Studio 2010

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Dissecting ASP.NET Routing

The ASP.NET Routing framework allows developers to decouple the URL of a resource from the physical file on the web server. Specifically, the developer defines routing rules , which map URL patterns to a class or ASP.NET page that generates the content. For instance, you could create a URL pattern of the form Categories/ CategoryName and map it to the ASP.NET page ShowCategoryDetails.aspx ; the ShowCategoryDetails.aspx page would display details about the category CategoryName . With such a mapping, users could view category about the Beverages category by visiting www.yoursite.com/Categories/Beverages . In short, ASP.NET Routing allows for readable, SEO-friendly URLs. ASP.NET Routing was first introduced in ASP.NET 3.5 SP1 and was enhanced further in ASP.NET 4.0. ASP.NET Routing is a key component of ASP.NET MVC , but can also be used with Web Forms. Two previous articles here on 4Guys showed how to get started using ASP.NET Routing: Using ASP.NET Routing Without ASP.NET MVC and URL Routing in ASP.NET 4.0 . This article aims to explore ASP.NET Routing in greater depth. We’ll explore how ASP.NET Routing works underneath the covers to decode a URL pattern and hand it off the the appropriate class or ASP.NET page.

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Visual Studio 2010 and .NET Framework 4.0 Released Today

Microsoft is releasing Visual Studio 2010, .NET Framework 4.0, and Silverlight 4 at the Visual Studio Developer Conference in Las Vegas.  VS 2010 and .NET 4 are available today, and Silverlight 4 will be available to download later this week. Read more at DevTopics >> Related posts:Visual Studio 2010 and .NET Framework 4 Release CandidateMicrosoft Related posts: Visual Studio 2010 and .NET Framework 4 Release Candidate Microsoft Unveils Visual Studio 2010 and .NET 4.0 Documentation Available for .NET Framework 4 and Visual Studio 2010

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Visual Studio 2010 and .NET Framework 4 Release Candidate

The Release Candidate (RC) for Visual Studio 2010 and .NET Framework 4.0 is now available to the public.  The biggest change from Beta 2 is a major improvement to Visual Studio performance, specifically as it relates to loading solutions, typing, building and debugging.  The RC includes a “go-live license” for companies that wish to deploy Related posts: Visual Studio 2010 and .NET 4.0 Beta 2 Documentation Available for .NET Framework 4 and Visual Studio 2010 Visual Studio 2010 Beta 1 Now Available for MSDN Subscribers

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

URL Routing in ASP.NET 4.0

In the .NET Framework 3.5 SP1, Microsoft introduced ASP.NET Routing, which decouples the URL of a resource from the physical file on the web server. With ASP.NET Routing you, the developer, define routing rules map route patterns to a class that generates the content. For example, you might indicate that the URL Categories/ CategoryName maps to a class that takes the CategoryName and generates HTML that lists that category’s products in a grid. With such a mapping, users could view products for the Beverages category by visiting www.yoursite.com/Categories/Beverages . In .NET 3.5 SP1, ASP.NET Routing was primarily designed for ASP.NET MVC applications, although as discussed in Using ASP.NET Routing Without ASP.NET MVC it is possible to implement ASP.NET Routing in a Web Forms application, as well. However, implementing ASP.NET Routing in a Web Forms application involves a bit of seemingly excessive legwork. In a Web Forms scenario we typically want to map a routing pattern to an actual ASP.NET page. To do so we need to create a route handler class that is invoked when the routing URL is requested and, in a sense, dispatches the request to the appropriate ASP.NET page

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Visual Studio Myth Buster

Do you need help convincing your boss that your company needs to upgrade to Visual Studio 2010?  Or perhaps you are looking for additional ammo in your .NET vs. Java religious wars with your programming colleagues? Microsoft has produced a Silverlight-based “Myth Busting Matrix” for Visual Studio.  This nifty web tool details the benefits of upgrading Related posts: Microsoft Unveils Visual Studio 2010 and .NET 4.0 Visual Studio 2010 and .NET 4.0 Beta 2 Documentation Available for .NET Framework 4 and Visual Studio 2010

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Visual Studio 2010 Tip of the Day

Zain Naboulsi, a Senior Developer Evangelist at Microsoft, has started the “Tip of the Day” series for Visual Studio 2010, taking the reins from Sara Ford. Visual Studio 2010 Tip of the Day Related posts:Microsoft Unveils Visual Studio 2010 and .NET 4.0Visual Studio 2010 Beta 1 Now Available for MSDN SubscribersVisual Studio 2010 and .NET 4.0 Beta Related posts: Microsoft Unveils Visual Studio 2010 and .NET 4.0 Visual Studio 2010 Beta 1 Now Available for MSDN Subscribers Visual Studio 2010 and .NET 4.0 Beta 2

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz

Visual Studio 2010 and .NET 4.0 Beta 2

The second beta version of Visual Studio 2010 and Microsoft .NET Framework v4.0 are now available.  VS 2010 and .NET 4.0 deliver significant new capabilities and improvements.  The Beta 2 release was focused on performance, stability, and the integration of the overall feature set.  The development team is awaiting our feedback on the product and Related posts: Visual Studio 2010 Beta 1 Now Available for MSDN Subscribers Visual Studio "Orcas" and .NET 3.5 Beta Available Microsoft Unveils Visual Studio 2010 and .NET 4.0

Share and Enjoy:
  • Digg
  • Google
  • del.icio.us
  • Technorati
  • Facebook
  • MySpace
  • TwitThis
  • Blogsvine
  • description
  • E-mail this story to a friend!
  • Ping.fm
  • Print this article!
  • Slashdot
  • Yahoo! Buzz