开发者

Do I have to convert my website project into a web application project to migrate to Azure?

I have a current website pro开发者_StackOverflow社区ject that I need to migrate to Windows Azure. Back in 2009 we had to convert the website project to a web application project. Is that still the case today?


Your life will probably be a lot easier if you use web application projects, but you can use website projects. At the very least, you can use cspack from the command line and point it at any directory. You can also use the physicalDirectory attribute in ServiceDefinition.csdef to point to an arbitrary directory. That directory can be your website project.

I'm not sure if there are better ways from within Visual Studio to use a website project as a web role.


You can add any project to the Windows Azure Visual Studio project. I like to create a new Windows Azure project first, and then add existing projects to it (rather than the other way around).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜