Genevieve De La Cruz .Net Portfolio


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Genevieve De La Cruz .Net Portfolio

  1. 1. <ul><li>.NET Portfolio </li></ul><ul><li>Name: Genevieve DeLaCruz </li></ul><ul><li>Email: </li></ul><ul><li>Phone: (904) 738-0493 </li></ul>
  2. 2. (Table of Contents) <ul><li>Library Application </li></ul><ul><li>Windows Communication Foundation Application </li></ul><ul><li>Final Project Application </li></ul>
  3. 3. (Library Application) <ul><li>Introduction: Design and Implement an ASP.NET library application where a librarian could perform functions such as: </li></ul><ul><ul><li>Add an adult member. </li></ul></ul><ul><ul><li>Add a juvenile member. </li></ul></ul><ul><ul><li>Check in books. </li></ul></ul><ul><ul><li>Check out books. </li></ul></ul><ul><ul><li>Add new books or new copy numbers to the database. </li></ul></ul><ul><ul><li>Obtain member book loan information. </li></ul></ul><ul><ul><li>Renew an adult membership if it had expired. </li></ul></ul><ul><ul><li>Upgrade juvenile membership to adult once they reach the age of 18. </li></ul></ul>
  4. 4. (Library Application) <ul><li>Project Goals: </li></ul><ul><ul><li>Design and implement a 4 tier application: User Interface , Business Layer , Data Access Layer and a Data Entities Layer . </li></ul></ul><ul><ul><li>Use LINQ , LINQToSql and ADO.NET’s rapid code development and abstraction techniques to access the SQL Database. </li></ul></ul><ul><ul><li>Use the LinqToSql designer to build and model the Item and Member classes (Member, Adult, and Juvenile) for the Member View created in SQL. </li></ul></ul><ul><ul><li>Use of the Datacontext to get data from the Database and return the appropriate class. </li></ul></ul><ul><ul><li>Write Stored Procedures to send data back to the Database. </li></ul></ul>
  5. 5. Project Screenshots <ul><li>We created a library application using ASP.NET as our front-end application. It required the use of Forms Authentication . We were required to create user roles, in this case a Librarian role. Only the user with a Librarian role was granted access to the application in order to use the library functions. </li></ul>
  6. 6. Project Screenshots <ul><li>Default Page – Contained all the functions such as “add adult member”, “add juvenile member”, “get member information”, “check out book”, “check in book” and “add book”. </li></ul>Library functions:
  7. 7. Project Screenshots <ul><li>In order to add an adult member, there were several validation requirements that had to be met in order for a successful add to the database. Validations required were: 1. No blank fields for first name, last name, city, street, state and zip code. 2. Only alpha characters for name fields. 3. Zip code had to be in a “55555” or “55555-1234” format. 4. Telephone number had to be in a “(123)123-1212” format. </li></ul>Validator summary results
  8. 8. Project Screenshots <ul><li>Upon successful addition of an adult member, a newly created member ID is populated back onto the screen. The member ID is an auto-incremented primary key field in the database. </li></ul>Member ID
  9. 9. Project Screenshots <ul><li>In order to create a juvenile member, an adult membership is required. The juvenile member receives his/her own member ID, however the address and expiration date is the same as its adult member. The juvenile membership requires a birth date validation to make sure that he/she is under the age of 18 and that this person has been born. </li></ul>Birth Date Validation
  10. 10. Project Screenshots <ul><li>When getting the member’s information, the member ID is the only required field. Validation is done on the member ID to make sure the member exists in the database. If the member does exist, information is populated on the screen. The member’s book loan information is then bound to a Grid View. </li></ul>Member information Grid View
  11. 11. Project Screenshots <ul><li>The Grid View gives the user an option to check the selected book back in, if the librarian chooses to do so. If a book is selected, a Yes Confirmation Radio Button is enabled, if it is checked, the Check-In Button is then enabled to allow book check in </li></ul>Book Check in
  12. 12. Project Screenshots <ul><li>The Items Grid also highlights the rows when the books have passed their due dates. This allows the librarian to be aware of what items need to be returned immediately or re-checked out. </li></ul>Rows highlighted
  13. 13. Project Screenshots <ul><li>When a member checks out a book, validation is done to ensure that the ISBN and Copy Number fields are not left blank. The book must also exists in the database, if not it must be added. Once the book has been found, the Yes Confirmation Radio Button is enabled, and if it is checked, then the Check Out Button is enabled. </li></ul>Check Out Book
  14. 14. Project Screenshots <ul><li>Aside from the Grid View, there is a separate Check-In Page. When a search is done on a book’s ISBN and Copy Number, information is sent back with regard to the member who has the book checked out along with the book title, author, check out date and due date. </li></ul>
  15. 15. Project Screenshots <ul><li>A librarian can also choose to add a new book to the library. If the book already exists, then a new copy number is added to the database. ISBN, Title, Author, Translation are required fields for this form. Once added, a message is displayed to inform the librarian whether a book or new copy was added. </li></ul>A new copy in this case
  16. 16. Project Code Samples <ul><li>Use of Regular Expression Validation and Custom Validators. </li></ul>
  17. 17. Project Code Samples <ul><li>Created our own Library Exception class. Caught Generic Exceptions, along with exceptions such as member not found, item already on loan, item not found, missing adult member. </li></ul>
  18. 18. Project Code Samples <ul><li>Created entities – 1. Member which consisted of adult and juvenile 2. Book. Also created several stored procedures which were used to sent and retrieve data from the SQL database. </li></ul>Stored Procedures Entities
  19. 19. Project Code Samples <ul><li>Add Adult Stored Procedure: </li></ul>
  20. 20. Project Code Samples <ul><li>Created 2 views which joined several tables together. Member View which joined member, adult and juvenile tables. Book View which joined title, author, loan history, on loan tables. </li></ul>
  21. 21. Project Code Samples