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

FeatureDefinitionProvider class location #8696


User avatar
0
Spospisil created

ABP Framework version: v9.0.3

  • UI Type: ABlazor WASM
  • Database System: EF Core (PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

In your documentation you state that any implementation of the FeatureDefinitionProvider is "Generally created in the Application.Contracts project of your solution", but if I look at ABP's source code (we have purchased a commercial licence and all the source), I see that more times than not you folks have the implementation of this class in the Domian.Shared project of your solutions. Why is that? What's the advantage of it being in one project or another?

https://abp.io/docs/latest/framework/infrastructure/features?_redirected=B8ABF606AA1BDF5C629883DF1061649A


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Usually created in Application.Contracts project.

    If you need to check the features at the Domain project, put it in Domain.shared project.

    Like the definition of permissions, it is usually placed in shared projects. Whether it is Application.Contracts or Domain.shared , they are shared projects

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.