Not a subscriber?

Join thousands of others who are building self-directed lives through creativity, grit, and digital strategy—breaking free from the 9–5.
Receive one free message a week

Spark Part 1 DimeCast Amendment

In the latest DimeCast I recorded I developed the demo app while running the ASP.NET Development Web Server. A colleague of mine, Tim Schmidt, caught an error (thanks Tim). If you are going to run your ASP.NET MVC site on IIS 7 (which is highly likely) you’ll also need to add the following lines to the web.config.

You need to add the UrlRoutingModule to system.webServer/modules:

     <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

And add the UrlRouting.axd handler to system.webServer/handlers:

     <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

Now you should be good to go!