Ok let me explain what I'm doing (or trying to do).
I'm not a system architect so please forgive me if I have the concepts or terminology wrong.
I have an n-tier app. It consists of the presentation layer, the business logic layer, the data access layer, and the database.
In the database I'm using stored procedures. The database physically sits on a different server from everything else.
I have a different assembly (the data access layer) that handles all calls to the db.
The code behind files for the aspx pages contain calls to methods within the data access layer to retrieve data for display, etc.
Now ... I'm passing data from the DAL in a datareader to the code behind files. Is this the best thing to do? I understand that its better to use a dataset when passing data between tiers because it handles marshaling better. Is that a factor when its just logical tiers
Also with inter-tier communication the whole chatty / chunky call deal doesn't really apply does it? That only becomes an issue when passing data between physical tiers?
Am I correct or wacko?
Please advise.
Thanks in advance,
- VB Rookie