gpt4 book ai didi

asp.net - 将 Web 应用程序部署到 Azure 但仍显示 Microsoft 页面

转载 作者:行者123 更新时间:2023-12-03 15:12:28 26 4
gpt4 key购买 nike

我正在尝试将我的 Web 应用程序部署到 Microsoft Azure,并且 Visual Studio 中一切正常。但当它启动时它显示:

Hey, App Service developers!
Your app service is up and running.
Time to take the next step and deploy your code.

如何显示我的网页而不是此页面?

这是我在 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

之上

/image/Hp7ma.png

关于asp.net - 将 Web 应用程序部署到 Azure 但仍显示 Microsoft 页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56587820/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com