project templates for abp vnext
- use
abp new CName.PName.SName -t module --tiered --no-ui
as init project (abp version 3.0.4). - replace all
Volo.Abp.EntityFrameworkCore.SqlServer
withVolo.Abp.EntityFrameworkCore.PostgreSql
and rebuildMigrations
. - update ConnectionStrings in appSettings.json and fix all build errors.
- add StyleCop Support (custom rules in StyleCop.ruleset).
- fix all build warnings.
- Create ConventionalControllers(webapi) for
SNameApplicationModule
. - make
SNameHttpApiHostMigrationsDbContext
implementsISNameDbContext
to avoid table name pluralization problem. - Use
SnakeCaseNamingConvention
for postgreSql table names and column names. - config swagger doc IncludeXmlComments to load comment xmls (SNameApplicationContractsModule,SNameApplicationModule,SNameDomainSharedModule)
- config
AddSwaggerGenNewtonsoftSupport
to make SwaggerDoc enableStringEnumConverter
- disable SnakeCaseNamingConvention as it didnt deal with PropertyName from base types or interfaces.
- remove docker compose ymls, and update Dockerfile for projects in /host, adapt to k8s.
git clone https://github.com/personball/abp-vnext-templates.git
cd abp-vnext-templates
rename.ps1 YourCompany YourProject YourService