How ahmadmdabit/market works
Project type and purpose
• This is a full-stack, n-Tier web application named “Market”
• Frontend: Angular (UI folder)
• Backend: ASP.NET Core 3.1 Web API (API folder)
• Business logic: BLL folder
• Data access: DAL folder (NHibernate + SQL Server .mdf)
• Purpose: Provide CRUD operations for entities like Il (City), Musteri (Customer), MusteriTelefon (CustomerPhone).
File structure to infer architecture
• Top-level solution “Market.sln” ties together API, BLL, DAL and UI projects.
• API/ folder
• Controllers (IlController, MusteriController, etc.) implement REST endpoints
• Extensions & Handlers apply CORS, error handling, NHibernate wiring
• Startup.cs configures DI, middleware, routing, appsettings.json holds connection strings
• BLL/ folder
• IBusiness interface + BaseBusiness class define service layer contracts
• IlBusiness, MusteriBusiness, MusteriTelefonBusiness implement domain rules
• DAL/ folder
• Entities: BaseEntity, Il, Musteri, MusteriTelefon
• Maps: NHibernate mapping classes for each entity
• Repositories: generic BaseRepository & specific IlRepository, etc.
• ui/ folder
• Angular modules, components, services under src/app
• Validators, pipes, renders for form and grid handling
• e2e tests, build configs (angular.json, tsconfig.json)
README for additional context
• Very concise: “n-Tier ASP.NET Core 3.1 + Angular”