Mircrosoft Azure Web服务部署错误

时间:2015-06-12 12:56:24

标签: c# asp.net-mvc azure

我在Visual Studio 2012中的MVC4 Web API中创建了一个Web服务。我的Web服务在locahost(localhost:49216/api/Authenticates)中工作正常,但是当我在Microsoft Azure帐户上部署此Web服务以在全局访问它时,它显示错误{"$id":"1","Message":"An error has occurred."}。同时,当我访问任何html页面(myservice..azurewebsites.net/demo.html)时,它工作正常。但是当我打电话给(myservice..azurewebsites.net/api/Authenticates)时,它会给出错误。

0 个答案:

没有答案