摘要:
需要在 HttpApi.Host 的OnApplicationInitialization方法下配置 AsyncHelper.RunSync(async () => { using (var scope = context.ServiceProvider.CreateScope()) { await 阅读全文
摘要:
The cookie 'XSRF-TOKEN' has set 'SameSite=None' and must also set 'Secure'. chrome://flags/#same-site-by-default-cookies chrome://flags/#cookies-witho 阅读全文
摘要:
1 Configure<AbpClockOptions>(options => { options.Kind = DateTimeKind.Local; }); 阅读全文
摘要:
1 Configure<AbpAntiForgeryOptions>(options => 2 { 3 options.TokenCookie.Expiration = TimeSpan.Zero; 4 options.AutoValidate = false; //表示不验证防伪令牌 5 //op 阅读全文
摘要:
1 public override void ConfigureServices(ServiceConfigurationContext context) 2 { 3 context.Services.ConfigureApplicationCookie(options => 4 options.E 阅读全文
摘要:
1 private void ConfigureDateTime() 2 { 3 Configure<MvcNewtonsoftJsonOptions>(options => 4 { 5 options.SerializerSettings.DateFormatString = "yyyy-MM-d 阅读全文