abp-development-flow
/abp-development-flow
ABP Framework v10.x (10.4–10.6) development flow quick reference: adding an entity end-to-end (Domain→Shared→repo→EF config→migration→Contracts/DTO→mapping→app service→localization→permission→test). Use when you need the flow for adding a new feature in ABP.
- Author
- burakdmir ↗
- Repository
- abp-skills ↗
- Licence
- MIT
- Last repository change
- 14.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 14.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
ABP Framework v10.x (10.4–10.6) development flow quick reference: adding an entity end-to-end (Domain→Shared→repo→EF config→migration→Contracts/DTO→mapping→app service→localization→permission→test). Use when you need the flow for adding a new feature in ABP.
Original author description
ABP Framework v10.x (10.4–10.6) development flow quick reference: adding an entity end-to-end (Domain→Shared→repo→EF config→migration→Contracts/DTO→mapping→app service→localization→permission→test). Use when you need the flow for adding a new feature in ABP.
How it works
- Trigger
- Flow
- Commands
- Checklist
- Related
SKILL.md preview
---
name: abp-development-flow
description: "ABP Framework v10.x (10.4–10.6) development flow quick reference: adding an entity end-to-end (Domain→Shared→repo→EF config→migration→Contracts/DTO→mapping→app service→localization→permission→test). Use when you need the flow for adding a new feature in ABP."
---
# ABP Framework — Development Flow
Adding a new entity end-to-end in the ABP v10.x layered template.
## Trigger
"ABP add new entity/feature", "end-to-end CRUD", "development flow", "how do I start".
## Flow
1. **Domain/Entities** — `Book : AggregateRoot<Guid>` (private setter, constructor invariant, `Check.NotNullOrWhiteSpace`).
2. **Domain.Shared** — `BookConsts`, enum.
3. **Domain** (opt.) — custom `IBookRepository : IRepository<Book,Guid>` only if a custom query is needed.
4. **EntityFrameworkCore** — `DbSet<Book>` + `OnModelCreating`:
```csharp
builder.Entity<Book>(b => { b.ToTable(Prefix+"Books"); b.ConfigureByConvention(); b.Property(x=>x.Name).IsRequired().HasMaxLength(128); });
```
5. **Migration**:
```bash
cd src/MyProject.EntityFrameworkCore
dotnet ef migrations add Added_Book
dotnet run --project ../MyProject.DbMigrator # apply + seed
```
6. **Application.Contracts** — `BookDto : EntityDto<Guid>`, `CreateBookDto` ([Required]/[Range]), `IBookAppService : IApplicationService`.
7. **Mapping** — Mapperly `[Mapper] partial class BookMapper : MapperBase<Book, BookDto>`.
8. **Application** — `BookAppService : ApplicationService, IBookAppService`; `[Authorize(...)]`, `GuidGenerator.Create()`, `ObjectMapper.Map<>()`.
9. **Localization** — `*.Domain.Shared/Localization/*/en.json`.
10. **Permission** — `MyProjectPermissions.Books.Create` (Application.Contracts).
11. **Test** — `*ApplicationTestBase`, `GetRequiredService<IBookAppService>()`.
## Commands
```bash
dotnet build
dotnet ef migrations add Name # in the EntityFrameworkCore project
dotnet run --project ../MyProject.DbMigrator
abp generate-proxy -t ng
```
## Checklist
Entity → Shared → (repo) → EF config + ConfigureByConvention → migration/DbMigrator → DTO+interface → Mapperly → service+authorize → localization → permission → test.
## Related
- [DDD](../abp-ddd/SKILL.md) · [EF Core](../abp-efcore/SKILL.md) · [Object Mapping](../abp-object-mapping/SKILL.md) · [Authorization](../abp-authorization/SKILL.md) · [Testing](../abp-testing/SKILL.md) · [Dependency Rules](../abp-dependency-rules/SKILL.md)
- ABP Docs: https://abp.io/docs/latest/tutorials
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · burakdmir/abp-skills | 100 | MIT |
| burakdmir/abp-skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version c07e8cbed47b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100abp-ddd
ABP Framework v10.x (10.4–10.6) DDD quick reference: Entity, AggregateRoot, repository, domain service, application service, DTO, domain events, specification, UOW. Use when designing the domain layer, entities, aggregates, or repositories in ABP. - 100abp-object-mapping
ABP Framework v10.x (10.4–10.6) object mapping quick reference: IObjectMapper, Mapperly (default since v10.4), AutoMapper profile/attribute, entity↔DTO. Use when you need object mapping in ABP. - 100layered-architecture
Organize an ABP solution/module into DDD layers and decide which project a given type belongs in. USE FOR: laying out the *.Domain.Shared / *.Domain / *.Application.Contracts / *.Application / *.EntityFrameworkCore / *.MongoDB / *.HttpApi / *.HttpApi.Client / *.Web|*.Blazor… - 100customize-application-modules
Extends or customizes a pre-built ABP module (Identity, Account, etc.) referenced as NuGet packages without editing its source. USE FOR: adding extra entity/DTO properties via the module extension system, mapping extra properties to real EF Core columns, replacing/overriding…