protected override void configure(Core.FubuRegistry registry) { registry.Actions.IncludeType <JsonEndpoint>(); registry.Routes.ForInputTypesOf <IRequestById>(x => x.RouteInputFor(i => i.Id)) .ConstrainToHttpMethod(x => x.HandlerType.CanBeCastTo <JsonEndpoint>(), "POST"); registry.Media.ApplyContentNegotiationToActions(x => true); }
protected override void configure(Core.FubuRegistry registry) { registry.Actions.IncludeType <IntegratedLoFiEndpoint>(); registry.Import <FubuMvcValidation>(); }
protected override void configure(Core.FubuRegistry registry) { registry.Actions.IncludeType <SampleController>(); registry.Import <ApplyAuthentication>(); }