在生产服务器中部署Web服务 [英] Deploy Web services in the production server

查看:87
本文介绍了在生产服务器中部署Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



我想在服务器中部署新的网络服务及其相关网页。

需要遵循的步骤是什么..



请帮我解决这个问题。

解决方案

1。在主机服务器上的根目录(例如wwwroot)下创建目录(例如webservice_dir)。



2.创建指向新创建的词典的虚拟目录(例如webservices)(在这种情况下webservice_dir)



3.上传您的Web服务(在这种情况下是Web服务bin文件夹,PrecompiledApp.config,web.config,*。asmx,.sln )到虚拟目录(在这种情况下是webservices)。



4.重新启动网络服务。



5.在Visual Studio中删除本地Web引用。



6.从托管网站添加Web引用虚拟目录(在本例中为http://< domain name = > / webservices)。



7.重建网站。



8.和将网站上传到托管环境。



9.完成


我希望访问以下链接将帮助您解决查询...





.NET应用程序部署 [ ^ ]







:)


Dear Friends,

I want to deploy my new web services and its associated pages in the server.
what all are the steps need to be followed..

kindly help me out with this.

解决方案

1. Create the Directory (e.g webservice_dir) under your root Directory (e.g. wwwroot) on Hosting Server.

2. Create Virtual Directory(e.g. webservices) pointing to newly created Dictionary (in this case webservice_dir)

3. Upload Your web service(in this case web service bin folder, PrecompiledApp.config,web.config,*.asmx, .sln) to Virual Directory (in this case webservices).

4. Restart the web service.

5. In Visual Studio remove local web references.

6. Add web references from hosted web sites Virual Directory(in this case http://<domain name="">/webservices).

7.Rebuild the web site.

8. And upload web site to hosting environment.

9.Done


I Hope visiting the following link will help you in solving your query...


.NET application deployment[^]



:)


这篇关于在生产服务器中部署Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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