简体   繁体   English

将简单的ASP.NET Web服务部署到Azure

[英]Deploy simple asp.net webservice to azure

I am new to Azure so I just wanted to try out some things. 我是Azure的新手,所以我只想尝试一些东西。

I created a simple webservice using ServiceStack that works just fine locally. 我使用ServiceStack创建了一个简单的Web服务,该服务在本地运行良好。 I deployed it as a website to azure using Visual Studio 2012 publisher (right click project/Publish). 我将其部署为使用Visual Studio 2012 Publisher进行天蓝色处理的网站(右键单击项目/发布)。 Visual Studio says it was succesfully deployed, but when I go to my website url I can still see the default azure website. Visual Studio说它已成功部署,但是当我转到网站URL时,仍然可以看到默认的Azure网站。

Any suggestions are appreciated. 任何建议表示赞赏。

I've seen this happening a number of times. 我已经看到这种情况发生了很多次。 Mostly it is related to browser cache. 通常,它与浏览器缓存有关。 Try clearing the browser cache or try with another browser. 尝试清除浏览器缓存或尝试使用其他浏览器。 Other possibility could be the default document not set properly for your website, which can be done through Windows Azure Portal. 其他可能性可能是未为您的网站正确设置默认文档,这可以通过Windows Azure门户来完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM