Web项目结构 [英] Web project Structure

查看:89
本文介绍了Web项目结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在创建向用户提供各种服务包的Web项目.在我的项目中,我正在开发各种服务,例如服务1,服务2,服务3等.

如何构建我的应用程序?我是否为单独的服务创建单独的项目,例如.服务1 ..等的项目1.因为,当我部署服务1,服务2 ...然后是服务3以后..在部署服务3时,我不需要重新部署服务1和2. />
谢谢,
Sneha

Hi,

I am creating web project with various services package offers to the users. In my project, I am developing various services like Service 1, Service 2, Service 3, etc..

How do I structure my application? Do I create separate projects for separate services Eg. Project 1 for Service 1..etc.. Because, when I deploy service 1, service 2... then service 3 later on.. while deploying service 3, i don''t need to redeploy service 1 & 2.

Thanks,
Sneha

推荐答案

您可以为每个离散服务有一个单独的项目,但是将它们全部容纳在同一解决方案中.或者只是为每个离散服务有一个项目.或仅针对服务的解决方案,以及针对主要应用程序的解决方案.换句话说,任何适合您以及您(和您的团队)工作方式的事物.

您还会发现50个人会给您50个不同的答案!

祝你好运.
You could have a separate project for each discrete service but house them all in the same solution. Or just have a project for each discrete service. Or a solution just for the services and another for the main application. In other words, whatever suits you and the way you (and your team) work.

You''ll also find that 50 people would give you 50 different answers!

Good luck.


这篇关于Web项目结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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