|
-
Jan 6th, 2009, 06:28 AM
#1
Thread Starter
Frenzied Member
[2005] ASP.NET 3 tier application
Hello everybody,
I am designing a web application in 3 tiers with one separate class library project for DataAccessLayer, one separate class library project for BusinessLogicLayer and ASP.NET website. I am planning to deploy all these three projects on different servers.
How should I expose my methods in DAL and BLL and what design considerations I should make so that I will be able to access DAL methods from BLL and BLL methods from website each on separate server?
Thanks.
-
Jan 6th, 2009, 11:15 AM
#2
Re: [2005] ASP.NET 3 tier application
You're going to place the DLLs on separate servers? Why? I'd think that's your first design consideration. Answering that question. Why would you do that? If you need to, why not use a web service?
-
Jan 6th, 2009, 11:22 AM
#3
Thread Starter
Frenzied Member
Re: [2005] ASP.NET 3 tier application
Thinking to put different layers on different servers because too much traffic is expected on the site. I am on the initial phase of the design so just looking for design alternatives.
Thanks.
-
Jan 6th, 2009, 11:23 AM
#4
Re: [2005] ASP.NET 3 tier application
 Originally Posted by usamaalam
Thinking to put different layers on different servers because too much traffic is expected on the site. I am on the initial phase of the design so just looking for design alternatives.
You're looking at these objects like you would an image the user has to load. These things are not being sent to the client so the impact of high traffic should be minimal to the amount of layers you have. In fact, spreading the layers across multiple servers would probably slow your site down incredibly as you would constantly connect to each layer for every page view.
Go for the typical
DAL -> Database
BLL -> DAL
Site -> BLL
There are plenty of articles out there if you want to review what others have done architecture wise. Just implement what makes sense. Don't handle any SqlParameters in your BLL and don't create any logic in your DAL other than fetching or sending data that the BLL can request.
Last edited by Kasracer; Jan 6th, 2009 at 11:27 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|