Wednesday, May 9, 2007

Day1 - Hello World 3 Tier


1pm ish - Made a 3 tier hello world application

Using Enterprise Libary Database Factory
SQL 2000 locally

Gary was doing his magic:

Create a new Solution (as it makes is easier).. c:\code\treasure
Asp.net project went in c:\code\treasure\website\
Business library c:\code\treasure\business
Data
Common
TestConsole
treasure - the solution file went in here some reason.

naming - treasure.Data, treasure.Business, treasure.Common .. to prevent any naming clashes in the future.

Added references.. Data needed common. Business needed Common and Data, Presentation need Common and Business. TestConsole needed Common (maybe not) and Business.

Coding
Made Data tier first
Then Common
Business
TestConsole app

Useful shortcuts
ctrl k s - to surround code

Improvements
Generic collections

No comments: