I use "/Controller/ActionName" url format for my ajax calls. This pattern works fine with my development server that has this pattern


My application has been deployed to IIS with the following url pattern


So whenever I call a resource it routes to /Controller/ActionName instead of /domain/Controller/ActionName there by resulting in 404 error. Is there any quick fix for this by modifying the routeconfiguration such that it works on both the devl as well as the IIS.

Related posts

Recent Viewed