应用架构 [英] application architecture

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

问题描述

我将构建一个Web应用程序.谁能告诉我,哪种架构最适合性能.

对于业务层和数据访问层,我应该使用单独的项目作为类库,还是应该将代码放入app_code文件夹中.
请给我任何想法,谢谢

I am going to build a web application. Can anyone tell me please, which architecture will be best for performance point of view.

for business layer and data access layer should i use seprate project as class library or i should put the code into app_code folder.
Please give me any Idea, thanks

推荐答案

我要构建一个Web应用程序.谁能告诉我,哪种架构最适合性能.
这取决于您正在构建的应用程序的类型.可伸缩性,灵活性和应用程序类型将导致您使用不同的体系结构.

对于业务层和数据访问层,我应该使用单独的项目作为类库,还是应该将代码放入app_code文件夹中.
一般情况是为BL& amp;有单独的项目. DAL.这将使您可以选择在需要时分别部署它们,也可以使DAL与UI隔离.
但是同样,根据项目的类型,如果它是一个简单的小型应用程序,则可以继续执行App_Code文件夹中的类.不过,考虑到标准的业务应用程序,建议将它们分开.
I am going to build a web application. Can anyone tell me please, which architecture will be best for performance point of view.
It depends on kind of application you are building. Scalability, flexibility and application type would lead you to different architectures.

for business layer and data access layer should i use seprate project as class library or i should put the code into app_code folder.
General case would be to have separate projects for BL & DAL. This would give you option to deploy them separately if needed and also shield DAL from UI.
But again, based on type of project, if it''s a simple small app, you can go ahead with classes in App_Code folder. Though, considering a standard business application, it would be suggestible to keep them separate.


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

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