Saturday 14 September 2013

The Structure of an Asp.Net real time web application

Hi Viewers

This page describes the structure of a real time web application and the steps to be followed for creating such structure.

A real time web application has a layered structure as described below
  1. Data Access Object Layer (DAO) : To interact with data base and get the data tables and put it into a list with the help of entity objects.
    Example:  list(of MySampleApplication.Sample.Entities.User.User)
    This list is returned to the implementation layer and the implementation layers handovers the list to the asp.net application layer and there we bind it to grid or drop downs or to other data controls.
  2. Entities Layer: Consists of Entity class properties.These properties can only be accessed through set and get method as Properties are declared with Private keyword.
  3. Interface Layer:  Consists of all user defined interfaces which are implemented in implementation layer.
  4. Implementation Layer: Consists of Implementation of interfaces and creation of an object of DAO to call the methods in DAO class.
  5. Utilities: Consists of the shared classes and the methods that are most frequently called in application.
    Example:Making string safer,checking for  nulls,connection methods and other common methods


Description for the above structure and the used design pattern will be posted later . Please have a look at below Real time structure and its implementation.


You can download the sample application from the below link:

Link : https://drive.google.com/folderview?id=0BxHH0xtw0daaclZNdHFtb3g1Ync&usp=sharing

My next post will be on "Code Re-usability in asp.net."

Please share this helpful information with your friends.


No comments:

Post a Comment