将Web应用程序部署到Azure,但仍显示Microsoft页面 [英] Deploy web app to Azure but still showing Microsoft page instead
问题描述
我正在尝试将Web应用程序部署到Microsoft Azure,而在Visual Studio中一切正常.但是启动时会显示:
I'm trying to deploy my web app to Microsoft Azure and everything goes fine in visual studio. But when it launches it shows:
嘿,App Service开发人员!
您的应用程序服务已启动并正在运行.
是时候采取下一步并部署代码了.
Hey, App Service developers!
Your app service is up and running.
Time to take the next step and deploy your code.
如何显示我的网页而不是此页面?
How can I show my web page instead of this page?
这是我在Visual Studio中获得的输出.
Here is the output I get in Visual Studio.
------ Publish started: Project: RCMania, Configuration: Debug Any CPU ------
Transformed Web.config using C:\DDAC\Assignment\RCMania\RCMania\Web.Debug.config into C:\Users\Admin\AppData\Local\Temp\WebSitePublish\RCMania-1747672403\obj\Debug\TransformWebConfig\transformed\Web.config.
Auto ConnectionString Transformed C:\Users\Admin\AppData\Local\Temp\WebSitePublish\RCMania-1747672403\obj\Debug\TransformWebConfig\transformed\Web.config into C:\Users\Admin\AppData\Local\Temp\WebSitePublish\RCMania-1747672403\obj\Debug\CSAutoParameterize\transformed\Web.config.
Copying all files to temporary location below for package/publish:
C:\Users\Admin\AppData\Local\Temp\WebSitePublish\RCMania-1747672403\obj\Debug\Package\PackageTmp.
Start Web Deploy Publish the Application/package to https://rcmania.scm.azurewebsites.net/msdeploy.axd?site=rcmania ...
Adding ACLs for path (rcmania)
Adding ACLs for path (rcmania)
Updating file (rcmania\Web.config).
Adding ACLs for path (rcmania)
Adding ACLs for path (rcmania)
Publish Succeeded.
Web App was published successfully http://rcmania.azurewebsites.net/
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
推荐答案
我上次遇到这样的问题是因为默认文档.确保默认页面列在此处并且在hostingstart.html
The last time i had an issue like this is was because of the Default Documents. Make sure you default page is listed in here and is above hostingstart.html
这篇关于将Web应用程序部署到Azure,但仍显示Microsoft页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!