mccalltd/AttributeRouting — pull request #187 by shawncarr (2013-01-16 21:36:25+00:00)
Title: Added UrlHelperExtensions

Added UrlHelperExtensions to AttributeRouting.Web.Mvc.Extensions that helps create links to a subdomain related action. The main work of the class is the GetDomainBase method which builds the host part of the uri. This method is well commented with my thoughts.

Also added UrlHelperExtensionTests to AttributeRouting.Specs.Tests.Extensions to test the provided solution. More testing will be needed as I didn't test the RouteUrl methods as I don't use them.