简体   繁体   English

将Asp.Net Mvc,Web Api应用程序发布到Windows Azure

[英]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. 我按照以下说明的过程将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.
  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. 请告诉我我缺少什么步骤,但是我在App_Start Route Config中进行了适当的设置,这是我的家庭控制器及其索引动作。

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. 当我将我的最后一个ASP应用程序发布到Azure时已经有一段时间了,但是如果我没记错的话,我会通过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 如果您使用外部资源,请确保它们在您的软件包中。->部署类型

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

相关问题 将ASP.NET MVC Core应用程序的[部分]发布到Web主机 - Publishing [part] of ASP.NET MVC Core application to web host 将ASP.NET MVC应用程序发布到Web主机 - 在VS项目结构而不是应用程序中部署文件 - Publishing ASP.NET MVC application to a web host - deploys files in the VS project structure instead of the application 两个浏览器窗口中的Web应用程序(ASP.NET MVC) - web application in two browser windows (ASP.NET MVC) 将本地asp.net MVC应用程序发布到Azure时出现登录错误 - Getting login error while publishing local asp.net MVC application to azure 使用Visual Studio 2012将具有数据库的ASP.net Web应用程序发布到Azure - Publishing ASP.net web application with database to Azure using Visual Studio 2012 在 Windows Server 2012 上发布 ASP.NET MVC 4 应用程序后的问题 - Issues after publishing ASP.NET MVC 4 application on Windows Server 2012 混合与否asp.net mvc应用程序和Web API - Mix or not asp.net mvc application and Web API 为ASP.NET MVC Web应用程序提供API - Provide API with asp.net MVC Web Application 使用ASP.Net MVC和Web Api的Application Insights实时指标 - Application Insights Live Metrics with ASP.Net MVC and Web Api Angular 6应用程序中的Windows身份验证和ASP.Net Web API - Windows Authentication In Angular 6 Application and ASP.Net Web API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM