Composition in C#: Owning Versus Borrowing Dependencies
Learn composition in C# through dependency ownership, shared references, and disposal boundaries, including why borrowers should not dispose injected services.
Software architecture deep dives for C# developers, focused on monolith patterns, modular monolith design, and decision frameworks versus microservices.
Showing 1–6 of 80 articles
Learn composition in C# through dependency ownership, shared references, and disposal boundaries, including why borrowers should not dispose injected services.
Understand polymorphism in C# by tracing base and interface calls, comparing virtual overrides with new hiding, and reading explicit implementations clearly.
Understand encapsulation in C# with constructors, validation, and collection boundaries that preserve invariants without confusing read-only with immutable.
Learn object-oriented programming in C# through state, contracts, and collaboration, with clear examples of encapsulation, inheritance, and composition.
Measure C# pipeline parallelism and throughput across sequential, async, item, stage, and data-parallel models without inventing performance claims or results.
Diagnose Specification Pattern performance in EF Core through translation boundaries, SQL inspection, query shape, command counts, plans, and measured evidence.