重定向到另一个应用程序页面 [英] redirect to another application page

查看:236
本文介绍了重定向到另一个应用程序页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对所有人的问候

我有包含许多Web应用程序的解决方案
我想从一个应用程序中的页面重定向到另一个
我尝试这个
Response.Redirect("http://localhost:10500/WebForm1.aspx")

它的工作,但
我想使用应用程序名称代替端口名称

谢谢.

my greeting to all

i have solution that contain many web applications
i want to redirect from page in one application to another
i try this
Response.Redirect("http://localhost:10500/WebForm1.aspx")

its work but
i want use application name instead of port name

thanks .

推荐答案

如果仅在PC上执行此操作,则需要安装IIS(或Apache或其他工具)并创建一个新的网站,的名称,这样您就可以使用诸如http://mysite/WebForm1.aspx之类的名称.如果已经安装了IIS,请使用inetmgr%systemroot%\system32\inetsrv\iis.msc从run命令启动它,然后创建您的网站.

网络上有很多教程可以告诉您确切的操作方法.
If you are only doing this on your pc then you need to install IIS (or Apache or whatever) and create a new web site which you will give a name to such that you can then use something like: http://mysite/WebForm1.aspx. If IIS is already installed just fire it up from the run command with inetmgr or %systemroot%\system32\inetsrv\iis.msc and create your website.

There are plenty of tutorials on the web that will tell you exactly how to do this.


这篇关于重定向到另一个应用程序页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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