运行另一台机器上我的Asp.Net Web应用程序 [英] run my Asp.Net Web application on another machine

查看:160
本文介绍了运行另一台机器上我的Asp.Net Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能在另一台机器上运行我的申请,我的团队成员要查看他的电脑网页。他不希望安装Visual Studio只是希望看到的网页浏览器。

How can I run my application on another machine, my team member wants to view the webpage in his computer. He doesn’t want to install visual studio but just wants to see the webpage in the browser.

我使用的是Mac书

推荐答案

它发布到Web服务器上,或有他自己的机器上安装IIS和设置它..等待。这将是发布到Web服务器。

Publish it to a web server, or have him install IIS on his machine and set it up.. wait. That would be publishing to a web server.

总之,一个ASP.NET网站需要一个Web服务器来运行。通常它的IIS,但如果你有Visual Studio中,它使用内置的卡西尼Web服务器。无论哪种方式,你需要有它在某种形式的Web服务器。你不能只是运行它作为一个独立的程序。

In short, an ASP.NET website needs a web server to run. Usually it's IIS, but if you have Visual Studio, it uses the built-in Cassini web server. Either way, you need to have it in a web server of some kind. You can't just run it as a stand-alone program.

我没有这样做,但我认为你可能会在您的计算机上运行在Visual Studio中,仍然让他看到它。如果你运行它,你会看到该地址的格式为:

I haven't' done this, but I think you COULD have it running in your computer in Visual Studio and still have him see it. If you run it, you'll see that the address is in the format:

HTTP://本地主机/:一些端口号] / YourWebAppName

http://localhost/:[some port number]/YourWebAppName

如果你拥有了它在Visual Studio你的机器上运行,你的团队成员可能能够通过更改localhost的到你的电脑名称来访问它。这是值得一试。

If you have it running in Visual Studio on YOUR machine, your team member MAY be able to access it by changing "localhost" to your PC name. It's worth a shot.

另外,这里有一堆链接,如何发布您的网站,如果你还不能肯定。

Otherwise, here are a bunch of links to how to publish your site, in case you're not sure.

<一个href=\"http://www.google.com/search?q=publishing+asp.net+web+sites&sourceid=ie7&rls=com.microsoft:en-us:IE-Address&ie=&oe=\" rel=\"nofollow\">http://www.google.com/search?q=publishing+asp.net+web+sites&sourceid=ie7&rls=com.microsoft:en-us:IE-Address&ie=&oe=

这篇关于运行另一台机器上我的Asp.Net Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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