AttributeRouting
AttributeRouting copied to clipboard
Route For Sitemap.xml Not Working in Production
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?