简体   繁体   中英

Publishing an Asp.Net Mvc,Web Api Application to Windows Azure

I published my Asp.Net Mvc5 application to Windows Azure by following below described procedure.

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.
  1. But When i browse the url i get following error. 在此处输入图片说明

    Kindly tell me what step i am missing However I have proper setting in App_Start Route Config which is my Home Controller and its Index Action.

Thanks in Advance

Did you try to publish it direct into azure ?

Its been quite a while when I published my last asp application to azure but if I remember right I published it direct to the staging environment via visual studio. May you can try it this way. I don't know if there is a difference.. but that way worked for me ...

If you use external resource ensure that they are in your package.. -> Deployment Type

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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