“您的App Service应用已启动并正在运行"但是网络应用未加载 [英] "Your App Service app is up and running" But web app is not loading

查看:146
本文介绍了“您的App Service应用已启动并正在运行"但是网络应用未加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是一名新的asp.net开发人员,我正尝试通过Azure发布我的Web应用程序.我的项目开始时是一个空的ASP.NET Web应用程序.然后,从空项目中,通过右键单击项目-> gt添加Web表单.添加->新项目-> Web表单. 从那里,我将Web表单集设置为该表单的起始页面,并且本地主机将在我的计算机上以本地方式正常运行该表单.

Hello, I am a new asp.net developer and I am trying to publish my web app via Azure. My project started as an Empty ASP.NET Web Application. From the empty project I then added webforms by right-clicking on the project -> Add-> New Item->Web Form. From there I edit the web form set that form as the start page and it will run fine locally on my machine by localhost.

然后,我将我的应用发布到Azure上,一切似乎都成功了,但是当我加载页面时,我会看到一个带有以下消息的欢迎屏幕. 您的App Service应用已启动并正在运行.

I then published my app to Azure and everything seems successful but when I load my page I get a welcome screen with the following message. "Your App Service app is up and running.

转到Azure门户中应用程序的快速入门指南以开始使用或阅读我们的部署文档."

Go to your app's Quick Start guide in the Azure portal to get started or read our deployment documentation."

为什么我没有从我的应用程序中看到起始页面.我遵循了快速入门指南,效果很好.在未初始化我的第一个表格的地方,我做错了什么.

Why I am not seeing the start page from my app. I followed the Quick Start guide and it worked out fine. What am I doing wrong where it is not initializing my first form.

谢谢您的帮助!


推荐答案

在Azure Web Apps中,默认文档是显示在网站根URL上的网页.中的第一个匹配文件 使用列表. 参考 天蓝色的文件结构

In Azure Web Apps, the default document is the web page that is displayed at the root URL for a website. The first matching file in the list is used. Refer File structure on azure to know more about the files and directories on Azure Web App.

您可以添加默认文档"列表中的默认文档.

You can add a default document in the 'Default documents' list.

转到Web应用->设置->应用程序设置->默认文档->添加并保存

您也可以使用以下命令检查已部署的文件是否可用 Kudu 控制台 .

You may also check whether the deployed files are available or not using Kudu Console.

--- -------------------------------------------------- ------------------------------------------
请点击标记为答案"并在可以帮助您的帖子上显示投票为有帮助",这可能会对其他社区成员有所帮助.

-----------------------------------------------------------------------------------------------
Do click on "Mark as Answer" and "Vote as Helpful" on the post that helps you, this can be beneficial to other community members.


这篇关于“您的App Service应用已启动并正在运行"但是网络应用未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆