使用Azure将aspx.vb应用程序发布到Internet

问题描述:

我从未发布过应用程序,因此,如果我使用了错误的术语,我深表歉意.我创建了一个简单的应用程序以测试将其发布到Azure.在使用笔记本电脑作为本地主机通过Visual Studio运行我的简单应用程序时,它会在浏览器中打开 并按预期运行.

I have never published an application so I apologize if I use the wrong terms. I created a simple application to test publishing it to Azure. While running my simple application through Visual Studio, using my laptop as a Local Host, it opens in a browser and operates as expected.

我正在使用Visual Studio,并在Visual Basic中进行编码.我是一名学生,我在VS和Azure中的帐户是.edu Microsoft帐户(如果相关).我按照在Azure网站上找到的步骤进行操作,然后发布"了相应的步骤,简单的应用 到Azure,它说它成功了,并为我提供了一个链接.在我的Azure门户上,它表明我的页面正在运行并正常工作.

I am using Visual Studio, coding in Visual Basic. I am a student and my account in VS and Azure is a .edu Microsoft account (if that is relevant) . I followed steps I found on the Azure website and I "published" the simple application to Azure and it said that it was successful and provided me a link. On my Azure portal it says that my page is running and working properly.

但是,它没有按我预期的那样工作.输入与发布的应用程序关联的URL时,它会带我进入一个蓝色页面,要求我与Azure分享我的经验,而不是带我进入创建的页面.该页面显然是生成的 对于Microsoft,我想它是应用程序主页"吗?我找不到继续进入页面的方法,尝试重新发布,实际上提交了我的经验,更改了代码,然后重新发布,在其他浏览器中尝试了但没有任何反应 我进入我创建并打算发布的网页.

However, it was not working as I expected. When I enter the URL associated with the application I published, it takes me to a blue page asking me to share my experience with Azure rather than taking me to the page that I created. This page is obviously generated by Microsoft, I suppose it is the application "home page"? I could not find a way to proceed to my page, I tried republishing, actually submitting my experience, changing my code and republishing, tried in a different browser and nothing has gotten me to the web page that I created and intended to publish. 

我追溯了自己的步骤,从头开始,尝试发布一个全新的应用程序,并得到相同的结果.

I retraced my steps and started from scratch and tried to publish an entirely new application,  and got the same results.

最终,我不关心这个简单的应用程序,它只是一个测试.我非常感谢我需要执行的步骤,这样我才能发布自己制作的应用程序-在线和在线.

Ultimately, I do not care about this simple application it was only a test. I would very much appreciate the steps that I need to follow so that I can publish an application that I made - live and online. 

谢谢您的帮助!

NolansDisplayName,谢谢您的提问.您正在使用哪种Azure产品?是Azure应用服务吗?

NolansDisplayName, thank you for your question. What Azure product are you using? Is it an Azure App Service?

如果是这样,您应该能够通过sitename.azurewebsites.net导航到您的站点,其中sitename是您创建的应用程序的名称.

If so, you should be able to navigate to your site at sitename.azurewebsites.net where sitename is the name of the app you created.

如果您已经意识到了这一点,请使用您的Azure订阅ID通过azcommunity@microsoft.com与我联系,因为我想仔细查看您的站点以了解阻止其正确加载的原因. /p>

If you are already aware of this, please reach out to me at azcommunity@microsoft.com with your Azure subscription ID as I would like to take a closer look at your site to understand what is preventing it from properly loading.