在单个解决方案中创建Web服务和asp.net应用程序并进行部署 [英] Creating web service and asp.net application in a single solution and Deploy

查看:74
本文介绍了在单个解决方案中创建Web服务和asp.net应用程序并进行部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



是否可以在单个解决方案中创建Web服务和asp.net应用程序并部署

Hi

is it possible to create web service and asp.net application in a single solution and deploy

推荐答案

可以在同一解决方案中同时创建它们,但我相信您必须分别发布每个.如果您查看Visual Studio菜单,则Build | Publish对于该解决方案为灰色,但对于每个子项目(Web应用程序和Web服务)均已启用.
It is possible to create them both in the same solution, but I believe you have to publish each separately. If you go look at the Visual Studio menu, Build | Publish is grayed out for the solution, but is enabled for each of the individual sub-projects (web app and web service).


除了JSOP提出的建议外,您还可以查看这些用于托管网站的文章.网络服务:
1.在IIS7中:在IIS 7.0上部署ASP.NET网站 [在IIS上部署网站 [
Apart from what JSOP has suggested, you can also look at these artcles for hosting the website & webservice:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]


是的,请确保我们可以添加Webserivce和同一项目下的asp.net Web应用程序
http://articles.sitepoint.com/article/net-web-services-5-steps [^ ]
http://msdn.microsoft.com/en-us/library/ms464040.aspx [ ^ ]
yes sure we can add a Webserivce and the asp.net web application under the same project
http://articles.sitepoint.com/article/net-web-services-5-steps[^]
http://msdn.microsoft.com/en-us/library/ms464040.aspx[^]


这篇关于在单个解决方案中创建Web服务和asp.net应用程序并进行部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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