25 lines
1.7 KiB
Markdown
25 lines
1.7 KiB
Markdown
# Introduction
|
|
Sample Empty Server Project to create a new one from
|
|
|
|
# Getting Started
|
|
1. prepare the file .\Scripts\Run\Entitieslist.lst with the list of entity names, one per line, not dedicated to use with filter
|
|
2. prepare the file .\Scripts\Run\EntitiesFilterList.lst with the list of entity names, one per line, dedicated to use with filter.
|
|
If the filter class name differs from entity class name add the filter name (w/o suffix "Filter") as the second word to the line.
|
|
Otherwise the filter name will be "<entity name>Filter".
|
|
Examle: "KabiAppLagerbestand Lagerbestand"
|
|
3. Start .\Scripts\Run\prepare_project.bat <Project name>:
|
|
Example: ".\Scripts\Run\prepare_project.bat Kabismart"
|
|
4. Compare and adjust Entity classes in .\DAL\Models\Entities\*.cs
|
|
5. Compare and adjust Filter classes in .\DAL\Models\Filters\*.cs
|
|
6. Compare and adjust Repository classes with filters in .\DAL\Repositories\*.cs
|
|
7. Compare and adjust Controller classes in .\<Project>Server\Controllers\*.cs
|
|
8. Compare and adjust Controller classes in .\<Project>Server\appsettings.json,
|
|
.\<Project>Server\AppSettingsFiles\Develop\appsettings.json,
|
|
.\<Project>Server\AppSettingsFiles\Production\appsettings.json
|
|
9. Compare and adjust "applicationUrl" and "sslPort".\<Project>Server\Properties\launchsettings.json
|
|
10. Apply plausible filter fields and their values for filters in .\XUnitDAL.Test\Test_Controller_Filter.cs
|
|
11. Apply plausible Id values for Ids in .\XUnitDAL.Test\Test_Controller_Entity.cs
|
|
12. Done.
|
|
|
|
|