[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

N-Tier Architecture in ASP.NET

Posted on 2012-12-29
2
Medium Priority
?
956 Views
Last Modified: 2013-01-05
When building n-tier application, in DAL and BLL, if there is any changes in the future, do we modify those classes we create earlier, or do we use inheritance? Also, when building asp.net project, would you recommend to use n-tier? It looks like you have to make a lot of effort to this.

http://www.mindstick.com/Articles/d36ceb0f-018c-4979-b2f5-a4a1e616cb5b/?N-Tier%20Architecture%20in%20ASP.NET
0
Comment
Question by:VBdotnet2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 1000 total points
ID: 38729624
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 1000 total points
ID: 38729639
When building n-tier application, in DAL and BLL, if there is any changes in the future, do we modify those classes we create earlier, or do we use inheritance?
You would modify existing classes. Inheritance isn't intended for maintenance; it is intended for organization of your architecture.

Also, when building asp.net project, would you recommend to use n-tier?
Yes.

It looks like you have to make a lot of effort to this.
Sure. But the effort you put into designing the application now leads to savings in the maintenance of the project down the road. New development has a lot of time dedicated to design, but the actual coding does takes less than the whole of future maintenance.

Here's two scenarios to think about:

1.

When you originally designed the application, you had an existing Oracle database for the backend. It's now time to renew the annual support subscription for Oracle, but the bean counters notice that support for SQL server is much cheaper than Oracle, so they persuade the CIO to make the switch. How much easier do you think it would be to just swap out your DAL for one that talks to SQL server, rather than hunt for every place in the project you used an OracleConnection instance to replace with a SqlConnection instance?

2.

The A+ team that created the new Foomatic system all got new higher paying jobs outside of the company due to their stellar work on Foomatic. You were not involved with the Foomatic project during its creation, but now that everyone on that team is gone, you have inherited the maintenance of the project. Would it not be easier for you to know how the project was organized without even having to look at the code? Can you imagine how difficult it would be for you to pick up a new custom-code project that didn't follow any established standard(s)? Remember the kind of code you would write when you first started coding? Imagine you inherited "Joe the intern's" code.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question