Posts
873
Comments
762
Trackbacks
1
Thursday, June 07, 2012
T4MVC RedirectToAction problem

I tried to find similar issues but Google-fu failed me.

With TVMVC, you should be able to get rid of some magic strings.  So, for instance, if you have this:

return RedirectToAction("Index", “Foo", new FooViewModel {SomeProperty = false });

you should be able to replace it with:

return RedirectToAction(MVC.Foo.Index(new FooViewModel {SomeProperty = false}));

However, the FooViewModel is always null when it gets to the controller.  I always assume user error, since johnny developer is an idiot, but nothing seems to be working.

posted @ Friday, June 08, 2012 2:17 PM | Feedback (2)
First impression of Visual Studio 2012 RC

Holy crap.  Is that thing f%^&ing ugly or what?

posted @ Thursday, June 07, 2012 2:36 PM | Feedback (0)