21
.Net Portfolio Nana Boama [email protected] om (571) 354-9058

Web-Dev Portfolio

  • Upload
    nwbgh

  • View
    1.154

  • Download
    5

Embed Size (px)

DESCRIPTION

These projects demonstrated my ability to program Visual Studio .Net with C# as the programming language in 2 separate projects. The Purpose of the first project was to build parts of the business tier for a retail Company. The goal is to create and test two assemblies. The first assembly is a class library project called Foundation. It will contain various interfaces and base classes. The second assembly is also a Class Library project and its called AppTypes and it will contain various entity, collection and exception classes used by various business processes.The Objective of the second project Is to create a database to support the principal functions of a library’s day-to-day operations: adding new members (adult and juvenile) and checking books in and out. A Windows Forms-based front end application that will provide a librarian with a visual interface through which he or she may perform the desired functions. And the project goal is to Design and develop a front end application that satisfies the four basic functionalities: Add Adult, Add Juvenile, Check in a book, Check Out a book.Develop code that is easily maintainable.Provide validation for all required fields.Provide adequate error handling.Produce a user interface that is intuitive, requiring minimal training for users while minimizing resource utilization.

Citation preview

Page 1: Web-Dev Portfolio

.Net Portfolio

Nana [email protected](571) 354-9058

Page 2: Web-Dev Portfolio

Table of Contents

.Net Framework ………..………….. 3

.Net Framework Project …………… 4-12

Windows Project ……………………13-21

Page 3: Web-Dev Portfolio

.Net Framework Microsoft .Net Platform

.Net Platform provides all of the tools and technologies that you need to build distributed Web Applications. It exposes a language-independent, consistent programming model across all tiers of an application while providing seamless interoperability with, and easy migration from, existing technologies.

Programming with C#C# is a new language specifically designed for building .Net applications. It’s a type –safe, object –oriented language that is simple yet powerful, allowing programmers to build a breadth of applications.

.Net FrameworkThe .Net Framework is based on a new common language runtime. The common language runtime provides a common set of services for project build in Microsoft Visual Studio .Net.

Page 4: Web-Dev Portfolio

.Net Framework Project

Page 5: Web-Dev Portfolio

Brief Description

The Framework Project:This project demonstrated the ability of each student to program Visual Studio .Net with C# as the programming language. The Purpose of this project was to build parts of the business tier for a retail Company.

The Framework Project Goal:The goal is to create and test two assemblies. The first assembly is a class library project called Foundation. It will contain various interfaces and base classes. The second assembly is also a Class Library project and its called AppTypes and it will contain various entity, collection and exception classes used by various business processes.

Page 6: Web-Dev Portfolio

Framework Project Specification

I-CompanyContact: This interface details require properties for abstractions where a contact is available.

I-Address: This details required properties for abstraction with a mailing address

I-CountryPhone: This interface details required properties for abstractions with phone numbers.

I-ContactInfo: This interface consolidates the requirements defined in ICompanyContact, Iaddress, and ICountryPhone.

I-CustomCollection: This interface ICustomCollection is provided as a contract to guarantee that certain basic collection functionality will be available in collection classes that we will be writing.

Contac t: Inherits from IContactInfo and it’s the base class for abstraction.

Page 7: Web-Dev Portfolio

Foundation Class Diagram

This Diagram comprises of the classes that make up the foundation assembly.

Page 8: Web-Dev Portfolio

AppTypes Project DeveloperInfoAttribute: Classes that apply at the Assembly, Class, Interface and

Enum Target Levels

CustomDescritpionAttribute: Inherits from Attribute and targets all levels but may not be applied in multiples.

SupplierTypes: Is provided to insure that the type of each Supplier is limited to one of the known types

Class Supplier: Responsibility of the Supplier class is to hold information about various suppliers used by the company.

Class AppTypes.AppTypesException: Defines a custom exception that may be thrown from various classes in the AppTypes namespace.

Class Suppliers: This class representative of code written before the System.

Product: This class is responsible for representing the various products and services bought or sold by the company.

ModificationEventStatus: Used to indicate the success or failure of an attempt to modify the collection.

ModificationEventArgs: Used to communicate details about the event that was raised.

Page 9: Web-Dev Portfolio

AppTypes Project Cont.

CollectionModifiedHandler: A delegate used to define the event type to be raised anytime the collection is modified.

C lass Products: The Product class will be Provided to manage a collection of Product instances. It utilizes the System.Collection.Generic namespace. By virtue of implementing IList<T> where T is Product.

Class EventLogger: The purpose EventLogger class is to handle CollectionModified events raised by the product class.

GenericCollection<T>: This class will provide a generic template for creating strongly collection classes.

Page 10: Web-Dev Portfolio

AppTypes Class Diagram

This visual App Types Class Diagram comprises of the classes and components that make up the App Types Assembly

Page 11: Web-Dev Portfolio

Foundation Code Samples

Foundation Code Sample

This is a code sample of the Foundation Assembly in the ICustomCollection class which guarantees that certain basic collection functionality will be available in the collection classes.

Page 12: Web-Dev Portfolio

AppTypes Code Samples

AppTypes Code Sample

This is a visual representation of the sample coding for the App Types Assembly in which This class will provide a generic template for creating strongly collection classes.

Page 13: Web-Dev Portfolio

Windows Project

Page 14: Web-Dev Portfolio

Brief Description Windows Project

Objective: Is to create a database to support the principal functions of a lending library’s day-to-day operations: adding new members (adult and juvenile) and checking books in and out. A Windows Forms-based front end application that will provide a librarian with a visual interface through which he or she may perform the desired functions.

Project Goals: Design and develop a front end application that satisfies the

four basic functionalities: Add Adult, Add Juvenile, Check in a book, Check Out a book.

Develop code that is easily maintainable. Provide validation for all required fields. Provide adequate error handling. Produce a user interface that is intuitive, requiring minimal

training for users while minimizing resource utilization.

Page 15: Web-Dev Portfolio

N.W.Boama Library Assembly

BUSINESSLAYER CLASS NB.LIBRARYBUSINESS

This Visual representation of the Business Layer Class the stored applications on the server database and how to accessthem through the business layer Access.

This diagram shows how the validation is done in terms of the requirements for the database. They supply methods and classes to be validated.

Page 16: Web-Dev Portfolio

Adding Adult Member

This visual representation of the Adult Member Show’s the respective steps the interface follows in order to add an Adult Library Member to the Database such as first and last name, middle initial etc.

Page 17: Web-Dev Portfolio

Adding Juvenile Member

This visual representation of the Adding Juvenile Member Show’s the respective steps the interface follows in order to add a Juvenile Library Member to the Database such as first and last name, middle initial etc.

Page 18: Web-Dev Portfolio

Displaying Member Information

This form gives access tothe user to view any information about the members whether being it a Juvenile or Adult. And also show what books they’ve checked out and when the due date is for the book to be returned.

Page 19: Web-Dev Portfolio

Checking In Item

This give the user the ability toCheck in an item namely booksin the library by first entering theMember Number, ISBN number And finally the form number the Respective books to be checked into the Library.

Page 20: Web-Dev Portfolio

Checking Out Item

This give the user the ability toCheck out an item name booksOut the library by first entering the Member Number, ISBN number And finally the form number the respective books to be checked Out the Library.

Page 21: Web-Dev Portfolio

Window Project Code Sample

This Code sample ofthe business Layer classdisplays the front-application Coding and how it works.