如何在客户端计算机上运行asp文件. [英] How to run an asp file in a client machine.

查看:101
本文介绍了如何在客户端计算机上运行asp文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是.NET的初学者

我正在ASP.NET中做一个简单的项目.

我的系统中有所有代码和数据库,但是我需要使用URL路径在客户端计算机上运行ASP文件.

我试过了,但是出错了.
我已经在客户端系统中安装了IIS,sql和.NET框架,但仍然出现错误.

任何人都可以帮助我在客户端计算机上运行我的ASP文件.


提前谢谢...

SANS

I am a beginner in .NET

I am doing a simple project in ASP .NET.

I have all the codings and database in my system but I need to run my ASP file in a client machine by using the URL path.

I tried it but I got with error.
I have installed IIS, sql & .NET framework in the client system, I still get error.

Can anybody help me to run my ASP file in a client machine please.


Thanks in advance...

SANS

推荐答案

ASP.Net是服务器端技术.这意味着用户必须使用Web浏览器浏览到您的站点.我认为您需要回过头来学习asp.net的用途.


顺便说一句,您忽略了您所看到的错误,因此,这里最好的任何人都可以帮助您的是对您真正的问题的猜测.
ASP.Net is a server-side technology. That means that the user has to browse with a web browser to your site. I think you need to go back and learn what asp.net is for.


BTW, you neglected to include the error you''re seeing, so the best anyone here can do to help you is take a wild-assed guess at what your real issue is.


那里有两种方法可以做到这一点:

(1)将ASP.NET页面托管在可公开访问的Web服务器上.或者,如果您的最终用户在同一网络上,则通过网络可访问的IP地址托管它.

(2)如果您不想公开托管您的Web应用程序,则需要在他的计算机上安装IIS,然后在他的计算机上部署整个网站,以便他可以在本地访问和运行它.如果您的站点使用后端数据库,那么最终用户也将在本地使用该数据库,因此您可以看到,与其他方法相比,这还需要做很多工作.
There are two ways you can do this:

(1) Host your ASP.NET pages on a publicly accessible web-server. Or if your end user is on the same network, host it via a network accessible IP address.

(2) If you do not want to publicly host your web-app, you need to install IIS on his machine and then deploy the entire website on his machine, so he can access and run it locally. If your site uses a backend DB, then the end user will need the DB locally too, so as you can see this is a fair bit more work that the other approach.


这篇关于如何在客户端计算机上运行asp文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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