← All articles
development

Spark Part 1 DimeCast Amendment

A correction to my Spark View Engine DimeCast: running ASP.NET MVC on IIS 7 needs extra UrlRoutingModule and UrlRouting.axd entries in web.config.

Donn Felker

Donn Felker

2009.05.29 · 1 min read · updated July 5, 2013

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:

    

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

    

Now you should be good to go!

Donn Felker

Written by Donn Felker

I've spent 25+ years shipping software, writing books, and running my own companies. I write about thinking clearly, working for yourself, and doing real work while AI rewrites the rules. New essays land here every week.

Get the newsletter

Keep reading