How kanusoft/bet-kanu works
BET KANU is an ASP.NET website for presenting products and services, including a book-reader API, product pages, and email contact. The visible reader workflow reaches a controller, uses a unit of work to access book and bundle data, and returns reader-oriented bundle records. The source index supports the repository and model relationships shown below; several product-area controllers and integrations are listed but not sampled, so their internal behavior is not inferred.
Main entry points: BKdbContext.cs EF data context · UnitOfWork.cs Unit of work · BookBundleDAO.cs Book bundles · BKReaderServiceController.cs Reader service
Components 19
Web Experience
- Product pages
BET KANU/Controllers/ProductsController.cs - Site sections
BET KANU/Controllers
Book Reader
- Reader service
BET KANU/Controllers/BKReaderServiceController.cs - Reader bundle
BetKanu.Models/BKRBundle.cs
Catalog Data
- Unit of work
BetKanu.Data/UnitOfWork.cs - Book bundles
BetKanu.Data/Repositories/BookBundleDAO.cs - Product repository
BetKanu.Data/Repositories/ProductDAO.cs - Manager repository
BetKanu.Data/Repositories/MangerRepo.cs - EF data context
BetKanu.Data/BKdbContext.cs - Product model
BetKanu.Models/Product.cs - Product episodes
BetKanu.Models/ProductEpisode.cs - Product categories
BetKanu.Models/Common/Category.cs - Audience targets
BetKanu.Models/Common/Target.cs - Book model
BetKanu.Models/Book.cs - Bundle model
BetKanu.Models/Bundle.cs
Messaging
- Email endpoint
BET KANU/Controllers/EmailServiceController.cs - Email service
BET KANU/Services/EmailService.cs
Other components
- Site visitor
- SMTP server
Connections 16
- Site visitor → Product pages: requests pages
- Site visitor → Site sections: requests sections
- Site visitor → Reader service: requests reader data
- Site visitor → Email endpoint: submits contact
- Reader service → Unit of work: uses data access
BET KANU/Controllers/BKReaderServiceController.cs - Unit of work → Book bundles: creates repository
BetKanu.Data/UnitOfWork.cs - Unit of work → Product repository: creates repository
BetKanu.Data/UnitOfWork.cs - Unit of work → Manager repository: creates repository
BetKanu.Data/UnitOfWork.cs - Book bundles → EF data context: queries
BetKanu.Data/Repositories/BookBundleDAO.cs - Book bundles → Reader bundle: projects results
BetKanu.Data/Repositories/BookBundleDAO.cs - EF data context → Product model: maps entity
BetKanu.Data/BKdbContext.cs - EF data context → Product episodes: maps entity
BetKanu.Data/BKdbContext.cs - EF data context → Book model: maps entity
BetKanu.Data/BKdbContext.cs - EF data context → Bundle model: maps entity
BetKanu.Data/BKdbContext.cs - Email endpoint → Email service: calls
BET KANU/Controllers/EmailServiceController.cs - Email service → SMTP server: sends mail
BET KANU/Services/EmailService.cs