Bender is no longer being maintained. If you are already using it, consider migrating to an actively developed serializer like JSON.NET.
This library integrates Bender with FubuMVC.
PM> Install-Package FubuMVC.Bender
To use Bender with FubuMVC simply import it in your FubuRegistry
:
public class Conventions : FubuRegistry
{
public Conventions()
{
...
Import<FubuBender>();
}
}
The DSL allows you to configure the data that is bound to the model after serialization. The default is route parameters only.
Import<FubuBender>(x => x
.Bindings(y => y.BindCookies().BindFiles()));
You can also configure Bender:
Import<FubuBender>(x => x
.Configure(y => y.UseJsonCamelCaseNaming()));
MIT License