如果数据集在企业级Web应用程序中使用? [英] Should Datasets be used in an enterprise level web application?

查看:131
本文介绍了如果数据集在企业级Web应用程序中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我对谁抨击数据集previous项目的建筑师。他恨他们,说他们在Web应用程序中没有地位,特别是一个Web应用程序,这将有大量的流量。

So I had an architect on a previous project who railed against Datasets. He hated them, and said they had no place in a web application, specifically a web app which will have a lot of traffic.

我已经注意到在code的许多情况下,我接手的数据集都相当频繁使用。

I've noticed in many instances of code I've taken over that Datasets are used quite heavily.

他们是否真的如此糟糕/性能杀人呢?

Are they really that bad/performance killing?

我应该考虑一下古亭它的应用程序的大量使用的数据集,并通过数据读取器填充列表取代它们?

Should I think about gutting the application of it's heavy use of datasets and replace them with lists populated via data readers?

我很好奇听听大家对话题中发现,或preference是什么。

I'm curious to hear what you all have found on the topic, or what your preference is.

再次感谢你们!数据

推荐答案

迪诺·埃斯波西托文章的数据集与集可能是使用数据集VS集合之间的一个比较好的参考。

Dino Esposito article DataSets vs. Collections might be a good reference in comparing between using Dataset vs Collections.

我的preference使用域名(Business Objects公司)和集合遵循的领域驱动设计结合使用NHibernate的数据持久化,也依赖注入

My preference is using Domain (Business Objects) and Collections by following the concept of Domain Driven Design combined with using NHibernate for the data persistence and also Dependency Injection

这篇关于如果数据集在企业级Web应用程序中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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