ASP.NET MVC and SOLID Programming Principles June 2009
Date Published: 11 June 2009
This week I presented “Introducing ASP.NET MVC and SOLID Programming Principles” (aka SOLIDify Your ASP.NET MVC) to the Cleveland .NET SIG and the Ann Arbor .NET Developers group. Thanks to everyone who came, it was standing room only at the Microsoft office in Cleveland and a great turnout at the SRT Solutions office in Ann Arbor, too. I thought the presentation went well and had some good discussion in both locations and I enjoyed getting to see a lot of folks I know in the area whom I hadn’t seen in a while. And the projector didn’t turn off every 5 minutes like the last time I spoke in Ann Arbor(always bonus).
The only difference between the two talks is that for Ann Arbor I put together a 2-slide example showing how one’s solution would be organized in order to not have all projects ultimately referencing the Data Access Layer (DAL). I mentioned this concept Tuesday in Cleveland but didn’t have a visual to go with it, so I threw something together for Wednesday (and eventually it will make its way into the actual presentation). In fact, here are those two slides for reference:
If you follow ISP and try to keep your interfaces with their consumers (typically in your business/domain model/core project) then your data access project needs to reference this project in order to implement these interfaces.
Steve is an experienced software architect and trainer, focusing on code quality and Domain-Driven Design with .NET.