mccalltd / AttributeRouting

Define your routes using attributes on actions in ASP.NET MVC and Web API.
http://mccalltd.github.io/AttributeRouting/
MIT License
416 stars 89 forks source link

Route For Sitemap.xml Not Working in Production #286

Open fungus1487 opened 10 years ago

fungus1487 commented 10 years ago

We have a route on a simple controller action like so.

public class Sitemap { [GET("sitemap.xml")] public ActionResult Index() { ... } }

In development it works fine, in IIS 8 on Windows 2012 server we get a 404. Any ideas?