Skip to content
Skills Library
Programming · Building & coding

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.

Repository
abp-skills ↗
Licence
MIT
Last repository change
14.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 14.08.2026, without references to retired models or APIs.

Licence

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

  1. Trigger
  2. Flow
  3. Commands
  4. Checklist
  5. Related
Original SKILL.md headings · 49 lines, 215 words
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

RepositoryScoreLicence
This page · burakdmir/abp-skills100MIT
burakdmir/abp-skills100MIT

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…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.