同时开发 Web 服务和消费者
我使用 Visual Studio 2010 professional 创建一个 WCF Web 服务和一个将使用该 Web 服务的 MVC 3 网站。
我该如何合理地这样做呢?我应该将它们作为单独的项目保留在同一解决方案中吗?我可以在开发时跳过在本地引用和运行服务,而只是像库一样使用它吗?
Using Visual Studio 2010 professional I'm creating a WCF web service and a MVC 3 web site that will consume that web service.
How would I reasonably go around doing that. Should I keep them as seperate projects in the same solution? Can I skip referencing and running the service locally while developing, just use it like a library?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们每天都会这样做:
这提供了快速的开发周期,并且如果您坚持接口操作,那么当您需要投入生产或横向扩展时,还可以将 WCF 服务部署为单独的实体。
We are doing this on a daily basis like this:
This gives a fast development cycle, and if you stick to the interface operations, also the possibility to deploy the WCF service as a separate entity when you need to go into production, or scale out.