BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec

Activities of "kingdom"

thanks for your reply! But I’m confused — according to the ABP Vnext source code for DomainService, the default IGuidGenerator is explicitly set to SimpleGuidGenerator.Instance, not SequentialGuidGenerator:

public abstract class DomainService : IDomainService { public IAbpLazyServiceProvider LazyServiceProvider { get; set; } = default!;

[Obsolete("Use LazyServiceProvider instead.")]
public IServiceProvider ServiceProvider { get; set; } = default!;

protected IClock Clock => LazyServiceProvider.LazyGetRequiredService<IClock>();

protected IGuidGenerator GuidGenerator => LazyServiceProvider.LazyGetService<IGuidGenerator>(SimpleGuidGenerator.Instance);

protected ILoggerFactory LoggerFactory => LazyServiceProvider.LazyGetRequiredService<ILoggerFactory>();

protected ICurrentTenant CurrentTenant => LazyServiceProvider.LazyGetRequiredService<ICurrentTenant>();

protected IAsyncQueryableExecuter AsyncExecuter => LazyServiceProvider.LazyGetRequiredService<IAsyncQueryableExecuter>();

protected ILogger Logger => LazyServiceProvider.LazyGetService<ILogger>(provider => LoggerFactory?.CreateLogger(GetType().FullName!) ?? NullLogger.Instance);

}

This code shows that if IGuidGenerator isn’t resolved from DI, it falls back to SimpleGuidGenerator. But you mentioned ABP "already wires SequentialGuidGenerator as the default".

Could you clarify: Does ABP automatically register SequentialGuidGenerator as the IGuidGenerator implementation in DI (overriding the SimpleGuidGenerator fallback in DomainService)? If DI registration takes precedence, why does DomainService explicitly set SimpleGuidGenerator as the fallback? In a standard ABP app (with EF Core), can I safely rely on the default DI registration for SequentialGuidGenerator, or do I need to manually replace the DomainService’s fallback? I want to confirm that production (large datasets, GUID PKs) is using SequentialGuidGenerator to avoid index fragmentation. Thanks again!

I've been working with ABP vNext and noticed something about the GuidGenerator in DomainServices. When I inject IGuidGenerator into my DomainService, the default implementation used is SimpleGuidGenerator.Instance.

1 : What’s the design reason for choosing SimpleGuidGenerator as the default instead of the sequential one? 2 : Are there downsides to using SequentialGuidGenerator globally (e.g., database dependencies, distributed system issues)? 3 : What’s the ABP-idiomatic way to replace the default with SequentialGuidGenerator via DI? 4 : Is ABP’s built-in SequentialGuidGenerator recommended for production with large datasets and GUID primary keys?

Thanks for your insights!

thank you all for the previous solutions – they successfully fixed my index page auto-redirect issue! Now I have one more question regarding the AuthServer configuration: How to configure the ABP vNext AuthServer to restrict direct access to its login/home page, forcing all login requests to come from the main application with a valid returnUrl parameter? Are there built-in ABP module options or middleware configurations to achieve this? Thanks in advance for your help!

How can I configure the index page (https://localhost:44309) to automatically redirect to the login page when a user is unauthenticated, just like other pages in the application? Any guidance or code examples would be greatly appreciated!

Can ABP Suite download previous versions?

How can I create a project with a specified .NET version in ABP Studio? When creating a new project, the default version is 9.3.2.

After configuring the "NUGET_PACKAGES" environment variable, everything works fine. Thanks for the technical support.

After following the provided method, the problem still persists. I've noticed two issues. 1: My computer doesn't have the .NET 9 SDK. I'm not sure if this has any impact. 2: The .nuget folder directory has been changed to the D: drive. When I execute "abp suite" in the command prompt, it prompts that the Volo.Abp.Studio.Extensions.StandardSolutionTemplates can't be found in the .nuget folder directory on the C: drive, and then it keeps looping continuously.

The "Checking pre-requirements" task has been running continuously without any error logs. Additionally, ABP Studio cannot create projects via http://localhost:3000/.

"abp suite " still unable to resolve try using 'abp studio' received notification :

Showing 1 to 10 of 21 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.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.