Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Odonno/Ntiers-dotNet-webservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ntiers-dotNet-webservices

An ASP.NET MVC project with WCF webservices using the Northwind database with Entity Framework.

MvcApplication

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) !

References

  • External references : Ninject
  • Internal references : None
  • Service references : all NorthwindWcfService Services (CategorieService, CustomerService, GeneralService, OrderService, ProductService, RegionService)

NorthwindBLL

A Class Library project (BLL : Business Logic Layer) that manages intermediate datas.
Return logic datas from DAL.
Don't forget the Dependency Injection (Ninject) !

References

  • External references : Ninject
  • Internal references : NorthwindDAL
  • Service references : None

NorthwindDAL

A Class Library project (DAL : Data Access Layer) that contains datas (managed by ORM : Entity Framework) and astracted with Repository Pattern.

References

  • External references : Entity Framework 6
  • Internal references : None
  • Service references : None

NorthwindWcfService

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) !

References

  • External references : Entity Framework 6, Ninject
  • Internal references : NorthwindDAL, NorthwindBLL
  • Service references : None

Informations

  • "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 !

About

An ASP.NET MVC project with WCF webservices using the Northwind database with Entity Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published