我在配置网页上有问题 [英] i have problem in config web page

查看:64
本文介绍了我在配置网页上有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将一个页面配置为默认页面?

how config one page to default page?

推荐答案

如果您使用表单身份验证,可以尝试以下代码:



试试这个,



If you are using forms authentication you could try the code below:

try this,

<authentication mode="Forms">
<forms name=".FORM" loginUrl="Login.aspx" defaultUrl="CreateThings.aspx" protection="All" timeout="30" path="/"> 
</forms>
</authentication>


如果您正在Visual Studio中开发应用程序并希望将页面设置为默认页面,那么该应用程序可以从那个页面开始,



比你只需要右键单击特定页面并点击Set as Start页面。 :)



希望它会有所帮助..
If you are developing an application in visual studio and want to set a page as Default Page, so that application could take start from that page,

Than you just have to right click on the specific page and click on Set as Start page. :)

Hope it will help..


这篇关于我在配置网页上有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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