public class HelloWorldFubuRegistry : FubuRegistry { public HelloWorldFubuRegistry() { IncludeDiagnostics(true); HomeIs(); Actions .IncludeClassesSuffixedWithController(); Routes .IgnoreControllerNamespaceEntirely() .IgnoreMethodSuffix("Command") .IgnoreMethodSuffix("Query") .ConstrainToHttpMethod(action => action.Method .Name.EndsWith("Command"), "POST") .ConstrainToHttpMethod(action => action.Method .Name.StartsWith("Query"), "GET"); Views.TryToAttachWithDefaultConventions(); HtmlConvention(); RegisterPartials(x => x.For().Use()); } }