How grkmefedrsn34/foody works
Foody is an ASP.NET MVC food-business site with public-facing content and an administrative content-management area. The visible workflow is an HTTP request routed to a controller, which uses business services for content operations; Entity Framework repositories and a SQL Server context provide persistence. The tree also shows public page components for categories, products, reviews, and other site sections. The README is only a one-line description, and several controllers, managers, and view components were not sampled, so some subsystem links are documented by registration or filenames rather than inspected call sites.
Main entry points: Program.cs MVC routing · ProductManager.cs Product service · ReviewManager.cs Review service · FoodyContext.cs Foody context
Components 20
Web presentation
- MVC routing
Foody.PresentationLayer/Program.cs - Public page controllers
Foody.PresentationLayer/Controllers/DefaultController.cs - Product administration
Foody.PresentationLayer/Controllers/ProductsController.cs - Category administration
Foody.PresentationLayer/Controllers/CategoriesController.cs - About administration
Foody.PresentationLayer/Controllers/AboutsController.cs - Slider administration
Foody.PresentationLayer/Controllers/SlidersController.cs - Review section
Foody.PresentationLayer/ViewComponents/DefaultViewComponents/_DefaultReviewSectionComponentPartial.cs - Public content sections
Foody.PresentationLayer/ViewComponents/DefaultViewComponents
Business services
- Product service
Foody.BusinessLayer/Concrete/ProductManager.cs - Review service
Foody.BusinessLayer/Concrete/ReviewManager.cs - About service
Foody.BusinessLayer/Concrete/AboutManager.cs - Slider service
Foody.BusinessLayer/Concrete/SliderManager.cs - Category service
Foody.BusinessLayer/Concrete/CategoryManager.cs
Data access
- EF repositories
Foody.DataAccessLayer/EntityFramework - Foody context
Foody.DataAccessLayer/Context/FoodyContext.cs - Foody SQL database
Domain model
- Content entities
Foody.EntityLayer/Concrete - View DTOs
Foody.DtoLayer/Dtos
Other components
- Site visitor
- Site administrator
Connections 28
- Site visitor → MVC routing: requests pages
Foody.PresentationLayer/Program.cs - Site administrator → MVC routing: requests admin
Foody.PresentationLayer/Program.cs - MVC routing → Public page controllers: routes requests
Foody.PresentationLayer/Program.cs - MVC routing → Product administration: routes requests
Foody.PresentationLayer/Program.cs - MVC routing → Category administration: routes requests
Foody.PresentationLayer/Program.cs - MVC routing → About administration: routes requests
Foody.PresentationLayer/Program.cs - MVC routing → Slider administration: routes requests
Foody.PresentationLayer/Program.cs - Product administration → Product service: calls
Foody.PresentationLayer/Controllers/ProductsController.cs - Product administration → Category service: calls
Foody.PresentationLayer/Controllers/ProductsController.cs - Category administration → Category service: calls
Foody.PresentationLayer/Controllers/CategoriesController.cs - About administration → About service: calls
Foody.PresentationLayer/Controllers/AboutsController.cs - About administration → View DTOs: maps data
Foody.PresentationLayer/Controllers/AboutsController.cs - Slider administration → Slider service: calls
Foody.PresentationLayer/Controllers/SlidersController.cs - Review section → Review service: loads reviews
Foody.PresentationLayer/ViewComponents/DefaultViewComponents/_DefaultReviewSectionComponentPartial.cs - Public page controllers → Public content sections: renders sections
- Product service → EF repositories: delegates data
Foody.BusinessLayer/Concrete/ProductManager.cs - Review service → EF repositories: delegates data
Foody.BusinessLayer/Concrete/ReviewManager.cs - MVC routing → Product service: registers service
Foody.PresentationLayer/Program.cs - MVC routing → Category service: registers service
Foody.PresentationLayer/Program.cs - MVC routing → About service: registers service
Foody.PresentationLayer/Program.cs - MVC routing → Slider service: registers service
Foody.PresentationLayer/Program.cs - MVC routing → Review service: registers service
Foody.PresentationLayer/Program.cs - MVC routing → Foody context: registers context
Foody.PresentationLayer/Program.cs - EF repositories → Foody context: uses context
Foody.DataAccessLayer/EntityFramework/EfReviewDal.cs - Foody context → Foody SQL database: connects
Foody.DataAccessLayer/Context/FoodyContext.cs - Foody context → Content entities: maps sets
Foody.DataAccessLayer/Context/FoodyContext.cs - Product service → Content entities: operates on
Foody.BusinessLayer/Concrete/ProductManager.cs - Review service → Content entities: operates on
Foody.BusinessLayer/Concrete/ReviewManager.cs