Guide18.1K views3,683 votes0 replies1,141 following
Diagnosing NHibernate LazyInitializationException in Session-Per-Request Web Apps
LazyInitializationException means a proxy was touched after its ISession closed. Diagnose the lifetime-vs-access mismatch, then fix it with explicit fetches, DTO projections, or scoped initialization.
lazy-loadinglazyinitializationexception
nhibernateTasadduq Burneyowner35.8K rep · 03 Sept 2026, 10:07 UTC