|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ObjectDataSource and DataSetsHi all,
I'm investigating the best approach for building an n-tier web application with ASP.NET 2.0. I want to separate my data access layer, so an ObjectDataSource seems the natural choice, but I can't decide whether to supply it data from a custom business object, or a DataSet created with the DataSet designer. Any thoughts? Chris Chris,
I would use the business layer to indirectly supply me with data, depending on your security needs. If you are dealing with secure data then let the security section of the business layer deal with it since you might not want to fully trust the front end developers. if you want n-tier then use it. At times you might mix but it all depends. SA Show quote "Chris Fulstow" <chrisfuls***@hotmail.com> wrote in message news:1145452923.177100.313960@i39g2000cwa.googlegroups.com... > Hi all, > > I'm investigating the best approach for building an n-tier web > application with ASP.NET 2.0. I want to separate my data access layer, > so an ObjectDataSource seems the natural choice, but I can't decide > whether to supply it data from a custom business object, or a DataSet > created with the DataSet designer. > > Any thoughts? > > Chris > Thanks for the feedback everyone. I also found a couple of articles on
the subject that were quite useful: http://www.theserverside.net/articles/showarticle.tss?id=DataSetDesigner http://weblogs.asp.net/scottgu/archive/2006/01/15/435498.aspx I also came across the Microsoft Data Access Application Block for helping to build data access components, does anyone have any experience of using this? Cheers, Chris |
|||||||||||||||||||||||