Rick B. Smith [email protected] (949) 375-5086 .NET Portfolio Examples of my development experience with C#/ASP.NET December 23 rd , 2011 1
Rick B. [email protected](949) 375-5086
.NET Portfolio
Examples of my development experience with C#/ASP.NET
December 23rd, 20111
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
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
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.
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
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.
Login Screen ShotLogin Screen Shot
7
Add Librarian Screen ShotAdd Librarian Screen Shot
8
Change Password Screen ShotChange Password Screen Shot
9
Add Adult Patron Screen ShotAdd Adult Patron Screen Shot
10
Add Juvenile Patron Screen ShotAdd Juvenile Patron Screen Shot
11
View Patron Screen ShotView Patron Screen Shot
12
Item Information Screen ShotItem Information Screen Shot
13
Check In Screen ShotCheck In Screen Shot
14
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.
Check Out Screen ShotCheck Out Screen Shot
16
Check Out DemonstrationCheck Out Demonstration
17
Check Out DemonstrationCheck Out Demonstration
18
Check Out DemonstrationCheck Out Demonstration
19
Check Out DemonstrationCheck Out Demonstration
20
Check Out DemonstrationCheck Out Demonstration
21
Check Out DemonstrationCheck Out Demonstration
22
Check Out Sample CodeCheck Out Sample Code
23
Check Out Sample CodeCheck Out Sample Code
24
Check Out Sample CodeCheck Out Sample Code
25
Sitemap NavigationSitemap Navigation
26
Skin File Sample CodeSkin File Sample Code
27
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.
Business Layer Objects DiagramBusiness Layer Objects Diagram
29
Data Transfer Objects Data Transfer Objects DiagramDiagram
30
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.
LINQ DiagramLINQ Diagram
32
LINQ Sample CodeLINQ Sample Code
33
LINQ Sample CodeLINQ Sample Code
34
WCF Sample CodeWCF Sample Code
35
WCF Sample CodeWCF Sample Code
36
WCF Sample CodeWCF Sample Code
37
WCF Sample CodeWCF Sample Code
38
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