Discussion:
Three (3) Tier architecture and .NET design mode
(too old to reply)
Richard
2006-10-17 17:08:02 UTC
Permalink
Hello,

How do you guys implement 3-tier applications with .NET's design mode
controls.
For example, on an ASP .NET form, the SQLDataSource and the Gridview belong
in 2 different tiers. If they are supposed to be in 2 separate DLLs, how can
I have them on the webform and plug them in together?

Thanks in advance,

Richard
Joerg Jooss
2006-10-17 18:40:17 UTC
Permalink
Thus wrote Richard,
Post by Richard
Hello,
How do you guys implement 3-tier applications with .NET's design mode
controls.
For example, on an ASP .NET form, the SQLDataSource and the Gridview belong
in 2 different tiers. If they are supposed to be in 2 separate DLLs, how can
I have them on the webform and plug them in together?
Thanks in advance,
I'm assuming you're referring to a 3-layered approach (tiers are runtime
abstractions, whereas layers are software abstractions).

The SqlDataSource doesn't work here, as it gives User Interface components
a direct access to data without any governing Business Layer in between.
Use an ObjectDataSource for a three layered application architecture.

Cheers,
--
Joerg Jooss
news-***@joergjooss.de
Richard
2006-10-17 20:42:01 UTC
Permalink
Thank you.

By using the ObjectDataSource don't we lose the ability to design the forms
with the data controls and do the binding, etc in the VB.NET designer?

Thanks in advance,

Richard
Post by Joerg Jooss
Thus wrote Richard,
Post by Richard
Hello,
How do you guys implement 3-tier applications with .NET's design mode
controls.
For example, on an ASP .NET form, the SQLDataSource and the Gridview belong
in 2 different tiers. If they are supposed to be in 2 separate DLLs, how can
I have them on the webform and plug them in together?
Thanks in advance,
I'm assuming you're referring to a 3-layered approach (tiers are runtime
abstractions, whereas layers are software abstractions).
The SqlDataSource doesn't work here, as it gives User Interface components
a direct access to data without any governing Business Layer in between.
Use an ObjectDataSource for a three layered application architecture.
Cheers,
--
Joerg Jooss
Joerg Jooss
2006-10-18 06:01:40 UTC
Permalink
Thus wrote Richard,
Post by Richard
Thank you.
By using the ObjectDataSource don't we lose the ability to design the
forms with the data controls and do the binding, etc in the VB.NET
designer?
No :-)

Cheers,
--
Joerg Jooss
news-***@joergjooss.de
Loading...