How st10356476/khumalo-craft-emporium works
Khumalo Craft Emporium is an ASP.NET Core Razor Pages storefront. Visitors browse the craft catalog, select items, and proceed through checkout to an order confirmation; separate pages support account registration/login, contact, and administration. The sampled checkout and catalog handlers are available, while several other page handlers are only named in the source index or tree, so their links are shown only where README-described workflow supports them and are marked unverified. SQL-backed admin and client listing code is sampled, but no general persistence layer or payment gateway is established; payment is documented as future work.
Main entry points: Program.cs Razor Pages App · Checkout.cshtml.cs Checkout · CraftsWorks.cshtml.cs Craft Catalog · jquery.validate.unobtrusive.js Form Validation
Components 18
Storefront
- Craft Catalog
Khumalo_Craft_Emporium/Pages/CraftsWorks.cshtml.cs - Home Page
Khumalo_Craft_Emporium/Pages/Index.cshtml.cs - Craft Owner
Khumalo_Craft_Emporium/Pages/CraftworkOwner.cshtml.cs - Contact
Khumalo_Craft_Emporium/Pages/Contact.cshtml.cs - About Page
Khumalo_Craft_Emporium/Pages/About.cshtml.cs
Purchase Flow
- Checkout
Khumalo_Craft_Emporium/Pages/Checkout.cshtml.cs - Order Confirmation
Khumalo_Craft_Emporium/Pages/OrderConfirmation.cshtml.cs
Accounts
- Registration
Khumalo_Craft_Emporium/Pages/Register.cshtml.cs - Login
Khumalo_Craft_Emporium/Pages/Login.cshtml.cs
Administration
- Admin Console
Khumalo_Craft_Emporium/Pages/AdminPage.cshtml.cs - Client Listing
Khumalo_Craft_Emporium/Pages/ViewClients.cshtml.cs - SQL Server
Web Platform
- Razor Pages App
Khumalo_Craft_Emporium/Program.cs - Shared Layout
Khumalo_Craft_Emporium/Pages/Shared/_Layout.cshtml - Form Validation
Khumalo_Craft_Emporium/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js - Privacy Page
Khumalo_Craft_Emporium/Pages/Privacy.cshtml.cs - Error Page
Khumalo_Craft_Emporium/Pages/Error.cshtml.cs
Other components
- Shopper
Connections 21
- Shopper → Razor Pages App: requests pages
Khumalo_Craft_Emporium/Program.cs - Razor Pages App → Home Page: routes pages
Khumalo_Craft_Emporium/Program.cs - Razor Pages App → Craft Catalog: routes pages
Khumalo_Craft_Emporium/Program.cs - Shopper → Craft Catalog: browses crafts
README.md - Craft Catalog → Checkout: selects for purchase
README.md - Shopper → Checkout: submits checkout
README.md - Checkout → Order Confirmation: completes order
README.md - Shopper → Registration: creates account
- Shopper → Login: signs in
- Shopper → Contact: sends inquiry
README.md - Shopper → Craft Owner: views artisans
- Shopper → About Page: views information
- Shopper → Privacy Page: views policy
- Razor Pages App → Admin Console: routes pages
Khumalo_Craft_Emporium/Program.cs - Admin Console → SQL Server: reads and inserts
Khumalo_Craft_Emporium/Pages/AdminPage.cshtml.cs - Client Listing → SQL Server: reads users
Khumalo_Craft_Emporium/Pages/ViewClients.cshtml.cs - Razor Pages App → Login: routes pages
Khumalo_Craft_Emporium/Program.cs - Razor Pages App → Error Page: handles exceptions
Khumalo_Craft_Emporium/Program.cs - Razor Pages App → Shared Layout: serves shared UI
- Form Validation → Registration: validates forms
- Form Validation → Checkout: validates forms