Activities of "maliming"

hi

Can you share your project? liming.ma@volosoft.com

hi

When you directly or indirectly reference the AbpCachingStackExchangeRedisModule module, Redis is used by default.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Caching.StackExchangeRedis/Volo/Abp/Caching/StackExchangeRedis/AbpCachingStackExchangeRedisModule.cs#L21

https://docs.abp.io/en/abp/latest/Redis-Cache#configuration

hi

[INF] AuthenticationScheme: Cookies was forbidden. 2023-01-13 07:15:27.044 +00:00 [INF] AuthenticationScheme: oidc was forbidden. 2023-01-13 07:15:27.052 +00:00

I see that the app's cookie authentication fails. However, the app's cookie is valid for 1 year, and I'm wondering why it doesn't work.

Can the problem be reproduced in a local development environment?

hi

I will test this.

hi

Try to rename your class as ScrollToTopComponent

What's your code?

hi

You can try to add a Layout-Hooks

https://docs.abp.io/en/abp/latest/UI/Blazor/Layout-Hooks

I want to use redis cache with IDistributedCache.

There will be no problem using Redis with IDistributedCache.

And I want to manage cache data to add, remove notification operation.

Redis as a backplane and use IDistributedCache to manage messages, I think there may be problems. This is not recommended.

hi

The requested service 'Volo.Abp.Account.Public.Web.Pages.Account.LogoutModel' has not been registered.

hi

Do you have CustomLogoutModel class?

If so please change the ExposeServices attribute just like CustomLoginModel.

[ExposeServices(typeof(CustomLoginModel), typeof(IdentityServerSupportedLoginModel))]
public class CustomLoginModel : IdentityServerSupportedLoginModel

hi

Do you have similar code in your web project?

Is the ExpireTimeSpan set to 365 days?

context.Services.AddAuthentication(options =>
{
    options.DefaultScheme = "Cookies";
    options.DefaultChallengeScheme = "oidc";
})
.AddCookie("Cookies", options =>
{
    options.ExpireTimeSpan = TimeSpan.FromDays(365);
})
Showing 9281 to 9290 of 12921 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.