SIGN UP MEMBER LOGIN:    
ARTICLE

NLayers Introduction

Posted by Jean Paul Articles | ASP.NET Programming February 18, 2012
In this article I would like to introduce a layering framework named NLayers. This article is intended for experienced developers or architects with a good understanding of ASP.NET and the ADO.NET Entity Framework.
Reader Level:

NLayers Introduction

In this article I would like to introduce a layering framework named NLayers. This article is intended for experienced developers or architects with a good understanding of ASP.NET and the ADO.NET Entity Framework.

img1.gif

What is NLayers?

NLayers is a Visual Studio 2010 solution template for ASP.NET and the ADO.NET Entity Framework with the following projects connected in a layered architecture.

  • Presentation Logic Layer
  • Business Logic Layer
  • Data Access Layer

Additional to this it includes a wrapper base class for all basic Data Access operations and an Instance Manager for managing instance reuses. So this could be called as a framework along with a template.

Download

The framework can be downloaded from CodePlex.

http://nlayers.codeplex.com/

img2.gif

Use the Download button on the right side to get the NLayers.msi file.

Installation

Execute the MSI file, choose the installation folder and click "Next" to complete the wizard. There will be a series of command lines executed for copying the templates and running the installation commands.

img3.gif

After the installation, open the Visual Studio to view the NLayers installation.

Inside Visual Studio Adding Solution

Inside Visual Studio use the File -> New Project to get the dialog box. You can see NLayers ASP.NETApplication template from the NLayers group as shown below.

img4.gif

On creating the project template we will see the Solution Explorer as given below.

img5.gif

Please make the NLayers1.Web as the startup project if it is not.

Inside Visual Studio Adding Items

For adding items, use the Add Item dialog from the respective project.

img6.gif

For example

NLayers Business Logic Class should be added to NLayers.BusinessLogic project.

NLayers Data Access Class should be added to NLayers.DataAccess.Implementation project.

NLayers Data Access Interface should be added to NLayers.DataAccess.Interface project.

Documentation

Apart from this article, you can get the official documentation of NLayers from:

http://nlayers.codeplex.com/documentation

img7.gif

References

http://nlayers.codeplex.com/

Summary

In this article we have explored the NLayers framework. I would like to know about any comments or problems you are facing regarding the framework. I will be adding more articles on NLayers to help developers understand better the concepts and usage.

Login to add your contents and source code to this article
share this article :
post comment
 
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Nevron Gauge for SharePoint
Become a Sponsor