public override void Configure(INancyEnvironment environment) { base.Configure(environment); Dapper.DefaultTypeMap.MatchNamesWithUnderscores = true; environment.Json(retainCasing: true); environment.Views( runtimeViewUpdates: true, runtimeViewDiscovery: true ); environment.Tracing( enabled: true, displayErrorTraces: true ); }
public override void Configure(INancyEnvironment environment) { environment.Json(retainCasing: true); base.Configure(environment); }
public override void Configure(INancyEnvironment environment) { environment.Json(serializeEnumToString: true); }