Casting with Linq

I’ve been working with Linq lately and thought I would post 2 examples on casting with Linq.  Most of the ways that you get data back from linq is in the IEnumerable<> type.  So, here’s two ways to cast to an object that you can use: Linq to SQL Once you create your dbml file it will generate…


Model View Presenter – with base functionality

Lately I’ve been doing a lot of research and development around patterns and unit testing.  One pattern in particular, Model View Presenter (MVP), I found to be a very good pattern for doing web development.  The only thing, is that if you want to learn about the MVP, there seem to be two options.  1)  Completely…

9