Results 1 to 4 of 4

Thread: [2005] ASP.NET 3 tier application

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    [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.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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?

  3. #3

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    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.

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [2005] ASP.NET 3 tier application

    Quote 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.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width