6. 3 Layered architecture – a practical approach

Smart Mirror (Project) introduction


.NET CORE


Layers & API’s


 Datalayer


Testing the datalayer


 Inheritance:


 Business Layer:

Generic Library


Console app:


Dependency Injection (1/2)

Dependency injection (2/2)


 Moq (1/2)


 Moq(2/2)


Putting it all together (1/2)



Putting it all together (2/2)