How oscarg101010/chickendevs works
This is a small ASP.NET Core Razor Pages storefront for browsing a hard-coded menu and maintaining a shopping cart. A visitor reaches the home page, where its page model supplies products and loads the cart; add/remove form submissions update the cart and save it in session before redirecting back. The cart computes item subtotals, tax, and total. Program.cs wires Razor Pages and session middleware. No README or page markup was provided, so details of the rendered interface are not verified.
Main entry points: Index.cshtml.cs Home page handlers · Program.cs App pipeline · Serializador.cs Session serializer · Index.cshtml Home page view
Components 9
Web interface
- App pipeline
Equipo4/Equipo4/Program.cs - Home page handlers
Equipo4/Equipo4/Pages/Index.cshtml.cs - Home page view
Equipo4/Equipo4/Pages/Index.cshtml - Error page
Equipo4/Equipo4/Pages/Error.cshtml.cs
Catalog and cart
- Product data
Equipo4/Equipo4/Models/Producto.cs - Cart and totals
Equipo4/Equipo4/Models/Carrito.cs
Session state
- Session serializer
Equipo4/Equipo4/Serializado/Serializador.cs - Session store
Other components
- Visitor
Connections 8
- Visitor → App pipeline: requests pages
- App pipeline → Home page handlers: routes pages
- App pipeline → Error page: handles exceptions
- Home page handlers → Home page view: renders model
- Home page handlers → Product data: defines catalog
- Home page handlers → Session serializer: loads and saves
- Home page handlers → Cart and totals: updates cart
- Session serializer → Session store: reads and writes