Step by step 3 tier project to publishing: Part-I

Step by step 3 tier to publishing
1. Creating Empty Solution and adding Class Library to it as BLL, DAL, Model and adding reference also VCM
2. Tree menu and setting permission to it
3. Database connection and SQL Helper, DataAccessBase, DataBaseHelper and StoredProcedure uses
4. Project publishing and Hosting to IIS using vertual directory

A. File –> New –> Project –> ASP .net Empty web Application
B. From Solution explorer right click on Empty solution and Add –> New Project –> Windows –> Class Library
C. Adding SQL Helper, DataAccessBase, DataBaseHelper and StoredProcedure to DAL: Add –> Existing Item and brows the 4 file. Set the namespace name as Solution name.
D. Add Referrence for “ConfigurationManager” and Accessing DAL, BLL, VCM, Model [NB: flow UI–> Model–> BLL–> DAL]
E. Add CommonMethod and CommonVariable to VCM
F. Referrence adding: UI use DAL, BLL, Model, VCM. BLL use DAL. DAL use Model and VCM. UI also have AjaxControlToolKit. UI also have System.Configuration. Referrence means .dll file.
G. VCM References: System.Configuration, System.Drawing, System.Web
H. BLL reference: DAL, System.Configuration
I. Model has no manual referrence. Default is ok
J. DAL reference: System.Configuration, Model, VCM
K. Build/ Rebuild sequence: VCM, Model, DAL, BLL, UI
L. Web.Config Connection String:
M. Add Master Page: Add –> New Item –> Web –> Master Page. Site.Master

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s