How sardorj/labb2-dotnet works
This is an ASP.NET MVC auction application: signed-in users create auctions, inspect ongoing listings, edit their own listings, place bids, and review bids or wins; administrators manage users and auctions. Controllers coordinate the auction service, which applies domain rules and delegates persistence to a MySQL-backed implementation. Identity and auction data use separate contexts. The graph preserves these product areas and the documented-by-code wiring; the README provides no capability detail, and unsampled views and identity internals are represented conservatively.
Main entry points: AuctionsController.cs Auction actions · AdminController.cs Admin actions · AuctionService.cs Auction service · MySqlAuctionPersistence.cs MySQL persistence
Components 17
Web experience
- Auction actions
labb2-dotnet/Controllers/AuctionsController.cs - Admin actions
labb2-dotnet/Controllers/AdminController.cs - Auction views
labb2-dotnet/Views/Auctions - Admin views
labb2-dotnet/Views/Admin - Auction view models
labb2-dotnet/Models/AuctionDetailsVm.cs
Auction domain
- Auction service
labb2-dotnet/Core/AuctionService.cs - Auction rules
labb2-dotnet/Core/Auction.cs - Bid record
labb2-dotnet/Core/Bid.cs
Persistence
- Persistence contract
labb2-dotnet/Core/Interfaces/IAuctionPersistence.cs - MySQL persistence
labb2-dotnet/Persistence/MySqlAuctionPersistence.cs - Entity repository
labb2-dotnet/Persistence/Repository.cs - Auction database
labb2-dotnet/Persistence/AuctionDbContext.cs
Identity and admin
- Account pages
labb2-dotnet/Areas/Identity/Pages/Account/Register.cshtml.cs - Identity database
labb2-dotnet/Identity/AppIdentityDbContext.cs - Admin seeding
labb2-dotnet/Identity/AdminDbSeed.cs
Other components
- Signed-in user
- Administrator
Connections 16
- Signed-in user → Auction actions: requests auctions
- Administrator → Admin actions: manages users
labb2-dotnet/Controllers/AdminController.cs - Auction actions → Auction service: calls
labb2-dotnet/Controllers/AuctionsController.cs - Admin actions → Auction service: calls
labb2-dotnet/Controllers/AdminController.cs - Auction actions → Auction views: returns views
labb2-dotnet/Controllers/AuctionsController.cs - Admin actions → Admin views: returns views
labb2-dotnet/Controllers/AdminController.cs - Auction actions → Auction view models: maps auction data
labb2-dotnet/Controllers/AuctionsController.cs - Auction service → Persistence contract: uses contract
labb2-dotnet/Core/AuctionService.cs - Auction service → Auction rules: applies rules
labb2-dotnet/Core/AuctionService.cs - Auction rules → Bid record: creates bids
labb2-dotnet/Core/Auction.cs - MySQL persistence → Persistence contract: implements
labb2-dotnet/Persistence/MySqlAuctionPersistence.cs - MySQL persistence → Entity repository: uses
labb2-dotnet/Persistence/MySqlAuctionPersistence.cs - Entity repository → Auction database: queries and saves
labb2-dotnet/Persistence/Repository.cs - Signed-in user → Account pages: signs in or registers
- Admin seeding → Identity database: seeds roles
- Admin actions → Account pages: uses user identity