AttributeRouting icon indicating copy to clipboard operation
AttributeRouting copied to clipboard

Route For Sitemap.xml Not Working in Production

Open fungus1487 opened this issue 11 years ago • 0 comments

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?

fungus1487 avatar Apr 23 '14 08:04 fungus1487