n-layer

n-Layered Design Confusion

Can anyone provide me with a web link that shows a correct approach of n-Layered design with example source-code in VS2005 and C#? I am confused in one point, If I am creating layers like the following: UI | Business Logic | Data Access then how can I achieve true OOP? Coz In OOP all activities should be encapsulated with...

Agile/XP and Layered approach

Can Agile/XP go together with layered approach? Should Agile/XP go together with layered approach? Breaking the source code into layers requires extra efforts and thereby increases the development-time significantly. N.B : By 'Layers' I mean separate assemblies with POCO, DA, etc. ...

DDD Concepts in N-Layer Development

After spending a couple months studying DDD methodology, I've now began to apply these concepts into actual products at my company. In fact, I've been tasked with creating a suitable and maintainable architecture for future development. We have decided to make use of the following technologies: EF4 (really v2), Unity The amount of inf...

Entity Framework in n-layered application - Lazy loading vs. Eager loading patterns

Hi all. This questions doesn't let me sleep as it's since one year I'm trying to find a solution but... still nothing happened in my mind. Probably you can help me, because I think this is a very common issue. I've a n-layered application: presentation layer, business logic layer, model layer. Suppose for simplicity that my application ...

What are the benefits of an N-layered architecture?

What are the benefits of an N-layered architecture? How does that make an application better? ...

ASP.Net Layered Application and the Unity Framework

Currently my layered ASP.Net application is structured like this: Entity Layer (data model classes auto-created using T4 against my Entity Data Model (edmx) in the data layer) Data Layer (Containing the edmx) Business Layer UI Layer The entity layer is referenced in all layers. My UI layer uses MVC 2. I'd like to implement the uni...

Using EF POCO classes as MVC 2 models (with data annotations)

I have a 4 layered web application programmed in C#... .Net 4.0: UI Layer Business Layer Data access Layer Entities layer My data layer contains an edmx My entities layer contains my POCO objects (generated by a t4 script), and that layer is referenced in all other layers. When creating an MVC form to create a new customer, for exam...

n-layered architecture - BLL, DAL and interfaces. What is best practice?

I have a question regarding n-layer architecture. I thought long and hard before asking this question as there's a lot of similar questions here already... however, after literally a day and a half looking at it and reading these other answers I'm still unsure. The variety of seemingly similar terminology and different approaches has me ...

A modern n-layer asp.net web application sample?

So my asp.net is very very rusty, and i'm trying to get back into best practices and what not. So, I whip out google and start looking for examples and samples and tutorials, but what do I find? Old crusty stuff that tends to be written even before "the latest" technology was released back in the stone age. Sure, the concepts may stil...