An ASP.NET MVC project with WCF webservices using the Northwind database with Entity Framework.
An ASP.NET MVC 4 project containing some views (UI : User Interface).
It allows users to read Categories, Customers, Orders, Products and Regions from Northwind database.
You can also use CRUD (Create, Read, Update and Delete) on Products (with Ajax method on DELETE).
Don't forget the Dependency Injection (Ninject) !
- External references : Ninject
- Internal references : None
- Service references : all NorthwindWcfService Services (CategorieService, CustomerService, GeneralService, OrderService, ProductService, RegionService)
A Class Library project (BLL : Business Logic Layer) that manages intermediate datas.
Return logic datas from DAL.
Don't forget the Dependency Injection (Ninject) !
- External references : Ninject
- Internal references : NorthwindDAL
- Service references : None
A Class Library project (DAL : Data Access Layer) that contains datas (managed by ORM : Entity Framework) and astracted with Repository Pattern.
- External references : Entity Framework 6
- Internal references : None
- Service references : None
A webservice application (WCF : Windows Communication Foundation) that contains many services.
A general service that contains some general datas (from the entire database / tables).
Many services that could represent individuals tables.
1 service = 1 manager
Don't forget the Dependency Injection (Ninject) !
- External references : Entity Framework 6, Ninject
- Internal references : NorthwindDAL, NorthwindBLL
- Service references : None
- "1 service = 1 manager" could not be the best practice ! Stay pragmatic and keep the code as easier as you can.
- Use DI (Ninject) as much as possible !