Azure部署:如何设置启动客户端/目录 [英] Azure deployment: how to set the startup client/directory

查看:79
本文介绍了Azure部署:如何设置启动客户端/目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,这令人沮丧...我将应用程序部署到了蔚蓝.我已将html客户端标记为启动客户端.  如果您导航到该网站(< mysite> .azurewebsites.net),则会收到一条错误消息,指出您没有权限.  您 必须访问(< mysite> .azurewebsites.net/HTMLClient/)才能正常工作.  如何在ls项目中或通过azure门户将此目录设置为默认启动?

Ok this is frustrating... I deployed my application to azure.  I have the html client marked as the startup client.  if you navigate to the website (<mysite>.azurewebsites.net) you get an error stating that you do not have permissions.  You have to go to (<mysite>.azurewebsites.net/HTMLClient/) for it to work.  How can I set this directory to start by default, either in the ls project or via azure portal?

此外,我必须添加silverlight客户端才能注册用户.  这太荒谬了!  请添加自动注册功能.我知道有关于如何执行此操作的教程,但这应该是开箱即用的.

Also, I have to add a silverlight client in order to register users.  This is ridiculous!  Please add a self register feature.  I know there are tutorials on how to do this, but this should be out of the box.


推荐答案

不确定是Azure本身的最佳答案,但是一个老把戏是使用default.html或index.aspx页面在网站根文件夹中,该文件夹会自动将用户重定向到相应的子文件夹.
Not sure whether this is the best answer for Azure per se, but an old trick is to have a default.html or index.aspx page in the website root folder that automatically redirects the user to the appropriate sub-folder.


这篇关于Azure部署:如何设置启动客户端/目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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