n-tier application in asp.net 2.0

5 views
Skip to first unread message

sb

unread,
Jan 23, 2006, 8:32:23 PM1/23/06
to Open Source .NET forum
Hi,
I have a web based 3-tier application in Asp.net 1.1 and Sql server
2000. We have decided to go from 1.1 to version 2.0 but with Sql server
2000 as the backend and not sql server 2005. I am very confused about
which codes go where... Any advice is greatly appreciated.

I have the data layer and business layer classes for each object used
in my application in a separate class project (C#) in version 1.1. I
was wondering if I have to put all the data layer classes(with methods
to access stored procedures) in App_Code directory. I understand that
the App_Code contents get compiled dynamically. So, is it ok to put the
entire datalayer for the application into this directory? Also, I am
not sure if it is secure to put the codes with data access components
(methods that call the stored procedures) in App_code directory.

If not, how do I organize the data layer and business layer classes?

I appreciate any advice and direction with links to articles or books.
Thanks in advance.
Sb

Don Kibbey

unread,
Jan 30, 2006, 3:52:15 PM1/30/06
to Open-Sourc...@googlegroups.com
Sorry to be so late with the reply, I have been too busy to check this
account...

Most of my use and experience with .Net has been with windows forms
based applications that talk directly to sql server 2000 or with
UniVerse. I've never had cause to build a three tier setup here as we
just don't have that requirement.

I don't think it matters though if you use SQL 2000 or SQL 2005. You
can load .Net 1.1 and 2.0 on the same machine and everything will be
fine. That much I can tell you.


--
Don Kibbey

Reply all
Reply to author
Forward
0 new messages