Oskar Gewalli's blog articles

0
comment
on 3/15/2009 1:16 AM
Mocking is quite a new concept for me since I’ve mostly written unit-tests that can be labelled “automatic test”. But it looks pretty sweet to write real unit-tests where those apply. I’m more than a bit impressed by the ease of testing code written in asp.net mvc.I had some trouble with method interception in Rhino and NUnit mock. Somehow the mocking failed for those frameworks. It was not a total dud since the mocking of properties worked. I spent a lot time yesterday trying to get it to work. Since a st[...]
>> Read the full article
.
0
comment
on 3/13/2009 10:41 PM
For a couple of days now I’ve been trying to “ModelBind” a more complex model (based on the Entity framework) to a controller action. The problems I’ve been having are mostly related to the amount of code for this task. I’m therefore thinking of ways to reduce the complexity. The main problem is that it’s not directly possible to bind to ordinary EF/LS-graphs. Separate object graph. One solution could be to have a separate object graph for use in with the view. That seems more than wastefull sinc[...]
>> Read the full article
.
0
comment
on 3/13/2009 10:41 PM
For a couple of days now I’ve been trying to “ModelBind” a more complex model (based on the Entity framework) to a controller action. The problems I’ve been having are mostly related to the amount of code for this task. I’m therefore thinking of ways to reduce the complexity. The main problem is that it’s not directly possible to bind to ordinary EF/LS-graphs. Separate object graph. One solution could be to have a separate object graph for use in with the view. That seems more than wastefull sinc[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper