Backend Configuration
//---------------------------------------------------------------------------------------------
//BQ Start related
//---------------------------------------------------------------------------------------------
services.AddBqAdminServices<ApplicationUser, MainDataContext>(options =>
options.SetApplicationName("myapp bqStart")
//allow open user registrations
.SetAllowUserRegistration(false)
//change default timezone
.SetDefaultTimeZone(TZConvert.GetTimeZoneInfo("UTC"))
//change default language
.SetDefaultLanguage("en_AU")
.SetSecurityRulesProvider(new FileBasedSecurityRulesProvider("config"))
//register all OData controllers here
.RegisterController<IdentityRole, IdentityRoleController>()
.RegisterController<ApplicationUser, ApplicationUserController>()
.RegisterController<DemoCustomer, DemoCustomerController>()
);Last updated