April 2018 : Instructor-led Online Courses in ASP.NET MVC / Core and Design Patterns Read more...
Registration open for April 2018 batches of ASP.NET MVC and Design Patterns instructor-led online courses. Conducted by Bipin Joshi on weekends. Register today ! Click here for more details.

N-Tier Applications and .NET: A Simple Example


Many days back I wrote an articled titled N-Tier Applications and .NET with an explanation of basic concepts involved in developing N-Tier application. I received feedback from many many readers that they liked the article and requested a sample application illustrating the concepts discussed. Here is that sample!

Sample Application

The sample application consists of three projects

  • NTierDemo
  • NTierDemo.BOL
  • NTierDemo.DAL

The first project represents a presentation layer, the second and third layers represent business logic layer and data access layer respectively.

The sample consists of a simple web form that acts as a data entry screen for Customers table of Northwind database. The form allows to Insert, Update and Delete records to the Customers table.

Downloading and running the application

You can download the complete source code above (see top of this article).

Before you run the application at your end make sure that the web application project is marked as IIS application. Also, ensure that the database connection string is changed as per your requirements.

Bipin Joshi is a software consultant, trainer, author and yoga mentor having 22+ years of experience in software development. He also conducts online courses on ASP.NET MVC, ASP.NET Core and Design Patterns. He is a published author and has authored or co-authored books for Apress and Wrox press. Having embraced the Yoga way of life he also teaches Ajapa Yoga to interested individuals. To know more about him click here.

Get connected : Twitter  Facebook  Google+  LinkedIn

Posted On : 20 March 2005

Tags : ASP.NET Architecture Components