Lab 04: Code Implementation Report

Back to Lab 04 Dashboard


1. Introduction

This lab involves converting the Pine Valley Furniture Company HTML prototypes into dynamic ASP.NET Web Forms using VB.NET. The solution implements server-side logic including user authentication, session management, role-based access control, database connectivity via ADO.NET, and the ASP.NET Page Life Cycle demonstration.

2. Implementation Details

The project consists of the following ASP.NET Web Forms:

3. Design Decisions

The application is built using ASP.NET Web Forms with VB.NET code-behind files. A shared stylesheet.css provides consistent styling across all pages. Navigation is implemented using a consistent navbar with ASP.NET HyperLink controls. Session variables are used for authentication, storing the logged-in user's name and role. The Catalog page uses an ASP.NET Panel with conditional visibility to restrict access to admin users only. Database operations use ADO.NET with parameterized queries for security. The logout functionality clears the session and redirects to the login page.