如何在Azure发布的Web应用程序中指定起始页 [英] How to specify the Start Page in an Azure-published Web App
问题描述
我最近向MS Azure发布了一个网络应用程序。
I have recently published a web app to MS Azure.
有一个"欢迎我希望将.aspx"页面作为目标网页。
There is a "Welcome.aspx" page that I want as the landing page.
在VS 2017中,我打开了 Property Pages &指定
" Welcome.aspx" 作为起始页。
In VS 2017, I've opened Property Pages & specified "Welcome.aspx" as the Start Page.
当我运行我的应用的本地副本时,"欢迎.aspx" 打开。
When I run the local copy of my app, "Welcome.aspx" opens.
但是,在Azure发布的版本上,会显示默认的Azure页面。如果我将
" /Welcome.aspx" 添加到网址末尾,则会显示我的欢迎页面。
But, on the Azure-published version, a default Azure page is displayed. If I add "/Welcome.aspx" to the end of the URL, then my Welcome page is displayed.
有人可以让我知道我需要做哪些更改,以便我的Azure发布的网络应用默认显示这个
" Welcome.aspx" 页面?
Can someone please let me know what changes I need to make so that my Azure-published web app displays this "Welcome.aspx" page by default?
非常感谢提前
推荐答案
在Azure门户网站 - >您的Web应用程序 - >应用程序设置,您可以定义启动页面,如
Welcome.aspx
Refer here
这篇关于如何在Azure发布的Web应用程序中指定起始页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!