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.
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?
I’m curious to hear what you all have found on the topic, or what your preference is.
Thanks again guys!data
Dino Esposito article DataSets vs. Collections might be a good reference in comparing between using Dataset vs Collections.
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