three tire architecture
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
Strictly speaking, you want to be looking at n-tier architecture because you may not end up limiting yourself to 3 physical tiers. If you want to implement a multi-tier system, then I would recommend reading up on the subject first - possibly starting with Rocky Lhotka's excellent work on CSLA.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
Maybe these will help: Building an N-Tier Application in VB.NET, in 8 Steps[^] http://msdn.microsoft.com/en-us/library/bb384570.aspx[^] :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
So, first you create an empty solution. Then you add three projects into it. The first one is ASP.NET applcation which will be your PL (Presentation Level) and two class library for DAL and BLL. In DAL you will add LINQ to SQL class as one of possible way to map your database. Will create for every entity the class with the name YourEntityData to implement CRUD methods. Also you can add CustomizedEntites.cs file to extend your LINQ entities. In BLL you'll develop your business objects. As a rule every class includes MapToCustomProperties(Entity entity) for DAL->BLL mapping, MapToEntity() for BLL->DAL mapping and Load() to load information for object from DB. Often in the same file i create and write collection class for this object. F.e. ProductBLL and ProductBLLList:List. In your PL tier you are working just with BLL tier and so on...
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
That's a popular subject right now; you've picked a good year to ask this question. Take each reply with a grain of salt, and remember that a good design should not affect the Big O performance of your application.
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
There is a new book from Wrox called ASP.NET Design Patterns[^] that covers this pretty well. Here is an excerpt from the TOC: Part 2: The Anatomy of an ASP.NET Application: Learning and Applying Patterns 3. Layering Your Application 4. Business Logic Layer: Organisation 5. Business Logic Layer: Patterns 6. Service Layer 7. Data Access Layer 8. Presentation Layer 9. User Experience Layer Part 3 even includes a case study.
We live in a world operated by science and technology. We have also arranged things so that almost no one understands science and technology. This is a prescription for disaster. We might get away with it for a while, but sooner or later this combustible mixture of ignorance and power is going to blow up in our faces. --Carl Sagan
-
Strictly speaking, you want to be looking at n-tier architecture because you may not end up limiting yourself to 3 physical tiers. If you want to implement a multi-tier system, then I would recommend reading up on the subject first - possibly starting with Rocky Lhotka's excellent work on CSLA.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else... -"The conversations he was having with himself were becoming ominous."-.. On the radio...
-
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else... -"The conversations he was having with himself were becoming ominous."-.. On the radio...
Shouldn't you post this where the OP gets notified of it?
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Shouldn't you post this where the OP gets notified of it?
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
I'm a big fan of structured data... ;P ohh and Rocky is in the office today... :-D
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else... -"The conversations he was having with himself were becoming ominous."-.. On the radio...
modified on Thursday, October 7, 2010 12:10 PM
-
I'm a big fan of structured data... ;P ohh and Rocky is in the office today... :-D
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else... -"The conversations he was having with himself were becoming ominous."-.. On the radio...
modified on Thursday, October 7, 2010 12:10 PM
Well, that's good. I'm still not the OP.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
Rock'y approach has been received very well in the community. He has a number of books, and video's available on http://www.lhotka.net/[^]. -- for Pete :-\
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else... -"The conversations he was having with himself were becoming ominous."-.. On the radio...
-
Rock'y approach has been received very well in the community. He has a number of books, and video's available on http://www.lhotka.net/[^]. -- for Pete :-\
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else... -"The conversations he was having with himself were becoming ominous."-.. On the radio...
And Pete says "sorted".:thumbsup:
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads