Onion architecture vs N-Tier - which one to choose?
Onion architecture and N-Tier compared through dependency direction, project structure, domain boundaries, dependency injection, and criteria for choosing between them.
How to use Dependency Injection with an IoC container in ASP.NET MVC?
Dependency Injection and IoC containers explained through Unity and Autofac setup in ASP.NET MVC 5, including object lifetimes and practical container wiring.
SOLID Principles - Part 2
The remaining SOLID principles, Liskov Substitution, Interface Segregation and Dependency Inversion, explained with practical examples from a fund domain and practical guidance.
What is N-Tier architecture and where does it fail?
N-Tier architecture explained through layer responsibilities, logical boundaries, shared databases, pass-through layers, and failure modes that make maintenance difficult in practice.
SOLID Principles - Part 1
The first two SOLID principles, Single Responsibility and Open/Closed, explained with fund report and fee calculation examples in C#, plus when not to apply them.
Why we need Clean Code?
Why clean code matters, what makes code clean (meaningful names, small functions, guard clauses, comments that explain why) and how to bring the practice into your team.
How to test the application and keep it clean? - Part 12
This article shows how to unit test services, controllers, routes, helpers and the Web API with fakes, write integration tests with a rolled back transaction, and review SOLID in the application.
How to build a Web API with ASP.NET MVC 4? - Part 11
This article builds an ASP.NET Web API for students on the same service, with routing, status codes, content negotiation, validation, dependency injection and a jQuery client.
How to add registration, login, forgot password, change password, profile and logout? - Part 10
This article adds registration, login, logout, forgot password, change password and a profile page, with salted password hashes, account lock, one-time reset tokens and a testable design.
How to use filters, model binding and validation? - Part 9
This article explains action filters and the filter pipeline, model binding sources and validation with data annotations and a custom validation attribute in ASP.NET MVC 4.
Sreenivasan Madhaiyan
An accomplished author and publisher, Sreenivasan has written over 10 e-books that inspire and educate readers worldwide.