Top Banner
Rick B. Smith [email protected] (949) 375-5086 .NET Portfolio Examples of my development experience with C#/ASP.NET December 23 rd , 2011 1
39
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Portfolio

Rick B. [email protected](949) 375-5086

.NET Portfolio

Examples of my development experience with C#/ASP.NET

December 23rd, 20111

Page 2: Portfolio

Table Of ContentsTable Of Contents

2

Project Goal 4 Description 5 Structure 6

Screen Shots Login Screen Shot 7 Add Librarian Screen Shot 8 Change Password Screen Shot 9 Add Adult Patron Screen Shot 10 Add Juvenile Screen Shot 11 View Patron Screen Shot 12 Item Information Screen Shot 13 Check In Screen Shot 14

Check Out Check Out Functionality 15 Check Out Screen Shot 16 Check Out Demonstration 17 Check Out Sample Code 23

Page 3: Portfolio

Table Of ContentsTable Of Contents

3

Decoration Sitemap Navigation 26 Skin File Sample Code 27

Middle Tier Business Layer Rules 28 Business Layer Diagram 29 Data Transfer Object Diagram 30 Data Transfer Description 31

LINQ LINQ Diagram 32 LINQ Sample Code 33

WCF WCF Sample Code 35

Back End Tier Entity Relationship Diagram 39

Page 4: Portfolio

GoalGoal

4

The purpose of the portfolio is to demonstrate my experience with C#/ASP.NET using a fictitious library project. The portfolio will not represent the library project in its entirety, but will provide screen and code behind snapshots for brevity that are representative of the skills required to create the project.

Page 5: Portfolio

DescriptionDescription

5

Public library is a fictitious library website that provides basic functions that are common to most websites a login, and a change password webpages. The register user has been replaced with an add librarian webpage since only librarians can use this website.Public library provides librarians the functionality to manage patrons allowing them to view, and add adult and juvenile patrons.Public library provides librarians the functionality to manage the items in the library by allowing them to view items.Public library provides librarians the functionality to manage library services allowing them to check in and check out items.Public library provides librarians with navigation capabilities by allowing them to use the menu, tree, and sitemap path controls

Page 6: Portfolio

StructureStructure

6

The Library Project is an N-Tier application consisting of a front-end website user interface, middle tier business objects, and a back-end SQL Server database.The front-end website uses standard website controls with user input validation and sitemap controls to navigate the website.The middle tier consists of business logic that determines the maximum items that can be borrowed, adding and retrieving members, determines if membership has expired, determine if member is a juvenile, retrieving library items, checking in items, and checking out items.The middle tier business layer uses LINQ and Data Transfer Objects (DTO) for database operations.The back-end tier uses tables to store membership, item, and loan history information.

Page 7: Portfolio

Login Screen ShotLogin Screen Shot

7

Page 8: Portfolio

Add Librarian Screen ShotAdd Librarian Screen Shot

8

Page 9: Portfolio

Change Password Screen ShotChange Password Screen Shot

9

Page 10: Portfolio

Add Adult Patron Screen ShotAdd Adult Patron Screen Shot

10

Page 11: Portfolio

Add Juvenile Patron Screen ShotAdd Juvenile Patron Screen Shot

11

Page 12: Portfolio

View Patron Screen ShotView Patron Screen Shot

12

Page 13: Portfolio

Item Information Screen ShotItem Information Screen Shot

13

Page 14: Portfolio

Check In Screen ShotCheck In Screen Shot

14

Page 15: Portfolio

Check Out FunctionalityCheck Out Functionality

15

The Public Library Check Out webpage gives librarians the functionality to allow patrons to check out library items.The patron member id is entered by the librarian and its validity is verified by the website.The library item ISBN and copy number is entered by the librarian and its validity is verified by the website.Before a library item is checked out the website gives the option for the librarian to back out of the operation.Before a library item is checked out, the website checks to see if the item is checked out or the library patron has exceeded the limit.

Page 16: Portfolio

Check Out Screen ShotCheck Out Screen Shot

16

Page 17: Portfolio

Check Out DemonstrationCheck Out Demonstration

17

Page 18: Portfolio

Check Out DemonstrationCheck Out Demonstration

18

Page 19: Portfolio

Check Out DemonstrationCheck Out Demonstration

19

Page 20: Portfolio

Check Out DemonstrationCheck Out Demonstration

20

Page 21: Portfolio

Check Out DemonstrationCheck Out Demonstration

21

Page 22: Portfolio

Check Out DemonstrationCheck Out Demonstration

22

Page 23: Portfolio

Check Out Sample CodeCheck Out Sample Code

23

Page 24: Portfolio

Check Out Sample CodeCheck Out Sample Code

24

Page 25: Portfolio

Check Out Sample CodeCheck Out Sample Code

25

Page 26: Portfolio

Sitemap NavigationSitemap Navigation

26

Page 27: Portfolio

Skin File Sample CodeSkin File Sample Code

27

Page 28: Portfolio

Business Layer RulesBusiness Layer Rules

28

The Public library business layer is the business rules or the middle tier between the website and the data transfer objects.Here are some of the rules.

A member must have a valid id and current membership to check out books.A juvenile must have a valid adult sponsor with a current membership to become a member.A member can check out no more than four books.A book must be checked in before it can be checked out.A juvenile member must have a birthdate less than 18 years of age.

Page 29: Portfolio

Business Layer Objects DiagramBusiness Layer Objects Diagram

29

Page 30: Portfolio

Data Transfer Objects Data Transfer Objects DiagramDiagram

30

Page 31: Portfolio

Data Transfer Objects Data Transfer Objects DescriptionDescription

31

Public Library Data Transfer Objects are between the Business Layer Objects and the Database.Data Transfer objects validate data before it is stored in the database.Data Transfer Objects enforce the rules of integrity of the data.Data Transfer Objects are used by the both the website and the business layer.

Page 32: Portfolio

LINQ DiagramLINQ Diagram

32

Page 33: Portfolio

LINQ Sample CodeLINQ Sample Code

33

Page 34: Portfolio

LINQ Sample CodeLINQ Sample Code

34

Page 35: Portfolio

WCF Sample CodeWCF Sample Code

35

Page 36: Portfolio

WCF Sample CodeWCF Sample Code

36

Page 37: Portfolio

WCF Sample CodeWCF Sample Code

37

Page 38: Portfolio

WCF Sample CodeWCF Sample Code

38

Page 39: Portfolio

Entity Relationship DiagramEntity Relationship Diagram

39

adultmember_no

street

city

state

zip

phone_no

expr_date

copyisbn

copy_no

title_no

on_loan

itemisbn

title_no

translation

cover

loanable

juvenilemember_no

adult_member_no

birth_date

loanisbn

copy_no

title_no

member_no

out_date

due_date

loanhistisbn

copy_no

out_date

title_no

member_no

due_date

in_date

fine_assessed

fine_paid

fine_waived

remarksmember

member_no

lastname

firstname

middleinitial

photograph

reservationisbn

member_no

log_date

remarks

titletitle_no

title

author

synopsis