How to build the views with layouts, partial views and HTML helpers? - Part 8
This article explains layouts, sections, partial views, child actions, display templates, built-in HTML helpers and custom helpers written with TagBuilder and the Razor helper.
How to remove the repeated code with a base controller, base service and base repository? - Part 7
This article removes repeated code with a base controller, base service and base repository that handle exceptions, common responses, logs and traces using lambda expressions.
How to build CRUD with Razor views and dependency injection? - Part 6
This article builds the student list, create, edit, details and delete screens with a service layer, view models, validation, Post-Redirect-Get and dependency injection with Unity.
How lambda expressions, extension methods, delegates and events reduce the code? - Part 5
This article explains delegates, lambda expressions, extension methods and events in C#, and uses them for paging, filtering and enrollment notifications in the student application.
How to model the data with Entity Framework and LINQ? - Part 4
This article models students, courses and enrollments with Entity Framework 5 Code First and queries them with LINQ, explaining deferred execution and the path from LINQ to SQL.
How does routing work, with custom, nested and area routes? - Part 3
This article explains ASP.NET MVC routing with constraints, custom route constraints, nested routes, URL generation and areas, with screens and the real route table.
How does an ASP.NET MVC request work from .NET 4.0 to 4.5? - Part 2
This article follows one ASP.NET MVC request from routing to the Razor view, and explains what changes between .NET 4.0 and 4.5, mainly the async actions.
How to structure an ASP.NET MVC application? - Part 1
This article defines the Student Management System, explains the MVC pattern and shows how to split an ASP.NET MVC 4 solution into layers where the dependencies point towards the domain.
How to use Dependency Inversion to loosen the coupling? - Part 5
Dependency Inversion is explained with layered and multi-implementation examples, dependency injection, IoC containers, testing benefits and a summary of all the principles.
What are the Liskov Substitution and Interface Segregation principles? - Part 4
Liskov Substitution and Interface Segregation are explained with open-ended funds and fixed maturity plans, including the warning signs of a broken hierarchy and how to fix it.
Sreenivasan Madhaiyan
An accomplished author and publisher, Sreenivasan has written over 10 e-books that inspire and educate readers worldwide.