fubumvc

What are the main differences between ASP.NET MVC and FubuMVC?

A developer I know just showed me FubuMVC and there was some question whether or not we should attempt to use it on a real live project or not. The current design choice so far has been ASP.NET MVC. What I'm interested in finding out is: What are the core differences between ASP.NET MVC and FubuMVC? What are the gains/loses with eith...

Thunderdome MVC- Why one-model-in in MVC?

When Jeremy & Chad posted about their FubuMvc project, one of the differentiators they mentioned was their "Thunderdome Principal": The “Thunderdome Principle” – All Controller methods take in one ViewModel object (or zero objects in some cases) and return a single ViewModel object (one object enters, one object leaves). T...

Tweaking asp.net mvc

I really love the "one model in - one model out" idea of Fubu MVC. A controller would look something like this public class MyController { public OutputModel MyAction(InputModel inputModel) { //.. } } and the service locator would automagically fill in all the required dependencies in the co...

thunderdome action invoker asp.net mvc

Hi, I know basic idea of thunderdome principle (one object enters, one object leaves) but I didn't see any real world example of it in asp.net mvc. Is it good example of thunderdome principle public ActionResult Index(Employee employee) { //some actions here return View(employeeViewModel); } ...

How do you make a Ninject Provider when the constructor of type is not known?

I decided to try to conjure up a container assembly to interact with FubuMVC. Well the cool part is that it pass all the test that the FubuMVC.Container.StructureMap assembly does. However, when I dropped it into the FubuSample. I received an activation error. The error is because in the provider for the behaviors I'm only calling a par...

What's the best way to create a paging gridview-style partial view in Asp.net MVC?

In the current MVC project I'm working on, I need to be able to create something exactly like the GridView from asp.net webforms. I'm actually using FubuMVC, but I can adapt any Asp.net MVC solution to the Fubu framework. I want to create something that has the same kind of functionality as the GridView. To explain further, I mean I w...

How do I get FubuMVC to work on WinXP with IIS 5.1?

How do I get FubuMVC to work on WinXP with IIS 5.1? ...

Why is FubuMVC new()ing up my view model in PartialForEach?

I'm getting started with FubuMVC and I have a simple Customer -> Order relationship I'm trying to display using nested partials. My domain objects are as follows: public class Customer { private readonly IList<Order> orders = new List<Order>(); public string Name { get; set; } public IEnumerable<Order> Orders { ...

How do I create an exception-wrapping fubumvc behaviour?

How can I create a fubumvc behaviour that wraps actions with a particular return type, and if an exception occurs while executing the action, then the behaviour logs the exception and populates some fields on the return object? I have tried the following: public class JsonExceptionHandlingBehaviour : IActionBehavior { private stati...

Service Locator not set in fubuMVC HelloWorld sample

hi there, recently I downloaded the latest sources from fubumvc. I startet the "HelloWorld" sample for a little warm up. Unfortunately everytime a NullReferenceException is thrown by the ServiceLocator in the FubuPage class. First I thought the App-Start might not might not run properly but that's not it... Anybody any ideas? Thanks ...

How to run a Silverlight xap with fubumvc

Hi there, probably the answer is simple and maybe someone wants to hit me, but obviously i'm stuck right now. I want to integrate a Silverlight XAP into a fubumvc view page. I am using the HelloWorld sample and enter the following into the page. <object type="application/x-silverlight-2" data="data:application/x-silverlight-2," ...