Reg:在客户端PC上显示aspx [英] Reg : Displaying a aspx in client PC's

查看:80
本文介绍了Reg:在客户端PC上显示aspx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在PC上开发了一个简单的.aspx页面.如果我通过按f5键运行文件,则页面将在单独的窗口中打开.如何在另一台PC上浏览同一页面.

例如,如果我将PC的IP放在另一台PC的浏览器中,则IIS页面将打开.我希望在该PC上打开我的网站.

如何完成相同的任务.

问候

Vivek

Hi,

I have a developed a simple .aspx page in my PC. If i run the file by pressing f5 the page opens in a seperate window. How to browse the same page in another PC.

For example if i put the IP of my Pc in another PC''s browser the IIS page is opening. I want my site to be opened in that PC.

How to accomplish the same.

Regards

Vivek

推荐答案

您应该使用IIS发布页面.在这里查看:
http://msdn.microsoft.com/en-us/library/1y1404zt (v = vs.80).aspx [
You should publish your page using IIS. Check out here:
http://msdn.microsoft.com/en-us/library/1y1404zt(v=vs.80).aspx[^]


您需要在Web服务器上发布Web应用程序,以便可以通过其他系统对其进行访问. IIS是可用于同一服务器的Web服务器之一.

对于托管Web应用程序:
MSDN:演练:发布网站 [ ^ ]

IIS特定:
1.在IIS7中:在IIS 7.0上部署ASP.NET网站 [在IIS上部署网站 [
You need to publish your web application on a webserver such that it is accessible through other systems. IIS is one of the webservers that can be used for the same.

For hosting a web application: MSDN: Walkthrough: Publishing a Web Site[^]

IIS Specific:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]


这篇关于Reg:在客户端PC上显示aspx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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