ASP.NET MVC 2 - How do I use an Interface as the Type for a Strongly Typed View
- by Rake36
I'd like to keep my concrete classes separate from my views. Without using strongly typed views, I'm fine. I just use a big parameter list in the controller method signatures and then use my service layer factory methods to create my concrete objects.
This is actually just fine with me, but it got me thinking and after a little playing, I…