我通过以下描述的程序将我的Asp.Net Mvc5应用程序发布到Windows Azure。
1. Right Click at project and select Publish
2. I selected File System and have given it location and Published the application
Here is Screen Shot
3. Then I specified Settings here is settings screenshot
4. Then I published it and it got published to my local system without any errors.![enter image description here][3]
5. I uploaded to Windows Azure via FileZilla using FTP.
Uploading was also successfull.
但是当我浏览网址时,我得到以下错误。
请告诉我我缺少哪一步但是我在App_Start Route Config中有适当的设置,这是我的家庭控制器及其索引操作。
先谢谢
答案 0 :(得分:0)
您是否尝试将其直接发布到azure?
当我将我的最后一个asp应用程序发布到azure时已经有一段时间了,但是如果我没记错的话,我通过visual studio将它直接发布到了临时环境中。愿你这样试试吧。我不知道是否有区别......但那种方式对我有用......
如果您使用外部资源,请确保它们在您的包中.. - >部署类型