.net框架对于Web服务在服务器中运行是否必需? [英] Is .net framework necessary for a web service to run in a server?

查看:75
本文介绍了.net框架对于Web服务在服务器中运行是否必需?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用VS 2005(.net framework 2.0)创建了一个Web服务.要在服务器中托管它,是否要在该服务器上安装.net框架?
请分享您的想法.

I have created a web service using VS 2005 (.net framework 2.0). To host it in a server is .net framework to be installed in that server?
Please share your thoughts.

推荐答案

是的,这是必要的.
您的Web服务代码需要正确编译吗?
Yes it will be necessary.
Your web service code needs to be compiled right?


是的,您将需要它.

为了部署和托管Web服务,您需要使用与创建Web服务时相同的框架版本.
这将帮助您的网络服务器了解并托管该服务.

举个简单的例子,您在IIS中托管Web服务,您将需要在其中配置运行该应用程序所需的.NET Framework版本.
Yes you would need it.

In order to deploy and host the web-service, you need the same framework version in which it was created.
This would help your webserver to understand and host the service.

For simple example, you host Web service in IIS, where you would need to configure which version of .NET Framework is needed in order to run the application.


这篇关于.net框架对于Web服务在服务器中运行是否必需?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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