Search Sreeni's Insights

Filter by content type

Sreeni's Insights

Lets deep dives into dev careers, software crafting, architecture, system design, AI and real-world industry lessons.

technical February 19, 2015 7 min read

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.

#onion-architecture #n-tier #software-architecture
Read
crafting February 17, 2015 7 min read

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.

#dependency-injection #ioc #aspnet-mvc
Read
crafting February 3, 2015 6 min read

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.

#solid #lsp #isp
Read
technical January 29, 2015 7 min read

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.

#n-tier #software-architecture #architecture
Read
crafting January 20, 2015 7 min read

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.

#solid #srp #ocp
Read
crafting January 6, 2015 6 min read

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.

#clean-code #coding-practices #csharp
Read
technical December 18, 2012 12 min read

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.

#asp-net-mvc #mvc-4 #csharp
Read
technical December 11, 2012 15 min read

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.

#asp-net-mvc #mvc-4 #csharp
Read
technical December 4, 2012 26 min read

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.

#asp-net-mvc #mvc-4 #csharp
Read
technical November 27, 2012 10 min read

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.

#asp-net-mvc #mvc-4 #csharp
Read

Sreenivasan Madhaiyan

An accomplished author and publisher, Sreenivasan has written over 10 e-books that inspire and educate readers worldwide.

More Accomplished 10+ e-books
Make a good change in your career
Exceptionally energetic about writing
More About Me
Sreenivasan Madhaiyan

Stay Updated

Get the latest insights on technology, career growth, and industry trends delivered to your inbox.

No spam, ever. Unsubscribe anytime.