I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue?
Make sure the package version is equal across the solution. I just downgraded & upgraded Microsoft.AspNet.Mvc package across the solution and the problem solved.