- ABP Framework version: v9.X.X
- UI Type: Angular / MVC / Blazor WASM / Blazor Server
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace:
- Steps to reproduce the issue:
I use abp suite to create CRUD pages, it creates Service and Repository classes for me. but I can't see the place where the services and repositories are registered, for instance: AddScoped or AddTransient, can you explain?
3 Answer(s)
-
0
Hello
Can you please check this document https://abp.io/docs/latest/suite/generating-crud-page.
Thank you.
-
0
Hello
Can you please check this document https://abp.io/docs/latest/suite/generating-crud-page.
Thank you.
hi, I have already checked the page, it doesn't say about the DI, the CRUD pages are working, but I just wanted to figure out how the code works
-
0
hi LiSong
The
services and repositories
are registered to thedependency injection
system by convention.See https://abp.io/docs/latest/framework/fundamentals/dependency-injection#inherently-registered-types https://abp.io/docs/latest/framework/fundamentals/dependency-injection#dependency-interfaces
Thanks.