28 January, 2013

URL friendlyUrls not working?

Attempting to make use of the Microsoft.FriendlyUrls Nuget package to solve a routing problem I was installing this into my application. According to all documentation you simply enable this by typing:

  public class Global : System.Web.HttpApplication
{

protected void Application_Start(object sender, EventArgs e)
{
RouteConfig.RegisterRoutes(
RouteTable.Routes);
}

The thing is though, that it does not work! It complains it does not know the RouteConfig class.


To make this work, you need to install an additional package (note the prerelease selection)


image

No comments:

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...