hi @marble68
The Chrome blocked your application cookies because the samesite
problem.
Login?ReturnUrl=%2FApp:1 A cookie associated with a resource at http://xxxx.io/ was set with
SameSite=Nonebut without
Secure. It has been blocked, as Chrome now only delivers cookies marked
SameSite=Noneif they are also marked
Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.
There are two solution:
Use https for your website.(recommend)
Add SameSite Cookie Policy
https://github.com/IdentityServer/IdentityServer4/blob/18897890ce2cb020a71b836db030f3ed1ae57882/src/IdentityServer4/host/Extensions/SameSiteHandlingExtensions.cs https://github.com/IdentityServer/IdentityServer4/blob/c62ae5edd69ef087a99deb62abe7e45c1cdb2bb0/src/IdentityServer4/host/Startup.cs#L43 https://github.com/IdentityServer/IdentityServer4/blob/c62ae5edd69ef087a99deb62abe7e45c1cdb2bb0/src/IdentityServer4/host/Startup.cs#L113
hi
Are you using the UseHttpsRedirection
?
https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-3.1&tabs=visual-studio#port-configuration
hi
ABP defines a setting named Abp.Timing.TimeZone (TimingSettingNames.TimeZone constant) for storing the selected timezone of the host, tenant and user. ABP assumes that the value of a timezone setting is a valid Windows timezone name. It also defines a timezone mapping file to convert a Windows Timezone to an IANA timezone since some common libraries are using the IANA timezone id. UtcClockProvider must be used in order to support multiple timezones. Because if UtcClockProvider is used, all datetime values will be stored in UTC and all datetimes will be sent to clients in UTC format. Then on the client-side we can convert a UTC datetime to the user's timezone by using the user's current timezone setting.
https://aspnetboilerplate.com/Pages/Documents/Timing#time-zones
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp/Timing/Timezone/TimezoneHelper.cs#L31
hi
The VCloudApplicationModule
seems to be missing some dependencies on other modules.
You should use MyConsoleAppModule
and depend on some modules in MyConsoleAppModule
, you can refer to the WebMvcModule
and WebCoreModule
.
hi
These properties are used in many methods, You should not change it for no particular reason.
Can you share the reason?
hi
It's not like a problem caused by cookies. Is there has any error log?
Can it be adpated to tenant level? So each tenant can customise languiage text by them self.
Yes, Tenant can custom it's language text. You can do it in Language-Management
feature(ttps://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Language-Management)
Are language texts cached?
Yes.
hi
You cannot get the changed properties in the EntityUpdatingEventData event.
You can trigger custom events in application services or domain services.
hi
You can create a service in the unit test, it can use EF or abo or dapper to read the real database.
hi