1. Web Application Project - ASP.NET Core Web Application (.NET Core)
VIEWS - Views Folder (click to hide list)
LIST WITH ADD, EDIT REDIRECT, & DELETE VIEWS
Category/ListCrudRedirectProduct/ListCrudRedirect
Supplier/ListCrudRedirect
UPDATE RECORD VIEWS
Views\Category\UpdateViews\Product\Update
Views\Supplier\Update
RECORD DETAILS (READ-ONLY) VIEWS
Views\Category\DetailsViews\Product\Details
Views\Supplier\Details
LIST WITH ADD, EDIT, & DELETE (SAME PAGE) VIEWS
Category/ListCrudProduct/ListCrud
Supplier/ListCrud
LIST WITH MULTIPLE DELETE VIEWS
Category/ListMultipleDeleteProduct/ListMultipleDelete
Supplier/ListMultipleDelete
LIST WITH TOTALS AND GROUPING VIEWS
Product/ListTotalsGroupedBySupplierIDProduct/ListTotalsGroupedByCategoryID
LIST WITH MASTER DETAIL GRID
Product/ListMasterDetailGridBySupplierIDProduct/ListMasterDetailGridByCategoryID
LIST WITH MASTER DETAIL SUB GRID
Product/ListMasterDetailSubGridBySupplierIDProduct/ListMasterDetailSubGridByCategoryID
PARTIAL VIEWS
_AddEditCategoryPartial.cshtml_AddEditProductPartial.cshtml
_AddEditSupplierPartial.cshtml
CONTROLLERS - Controllers Folder (click to show list)
Note: Both Controller classes are "partial classes" that share the same file name.
CONTROLLERS - Controllers Folder
You can add code in this class
CategoryController.csProductController.cs
SupplierController.cs
CONTROLLERS - Controllers\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryController.csProductController.cs
SupplierController.cs
2. Business Layer/Data Repository - Class Library Project (.NET Core)
BUSINESS LAYER/MIDDLE TIER - BusinessLayer Folder (click to show list)
Note: Both BusinessLayer classes are "partial classes" that share the same file name.
Note: Both BusinessLayer interfaces are "partial interfaces" that share the same file name.
BUSINESS LAYER - BusinessLayer Folder
You can add code in this class
CategoryBusinessLayer.csProductBusinessLayer.cs
SupplierBusinessLayer.cs
BUSINESS LAYER INTERFACE
BusinessLayer\Interface Folder
BusinessLayer\Interface Folder
You can add code in this interface
ICategoryBusinessLayer.csIProductBusinessLayer.cs
ISupplierBusinessLayer.cs
BUSINESS LAYER - BusinessLayer\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryBusinessLayer.csProductBusinessLayer.cs
SupplierBusinessLayer.cs
BUSINESS LAYER INTERFACE
BusinessLayer\Base\Interface Folder
BusinessLayer\Base\Interface Folder
Do NOT add code in this interface, it will be overwritten
ICategoryBusinessLayer.csIProductBusinessLayer.cs
ISupplierBusinessLayer.cs
DATA REPOSITORY/DAL/DATA TIER - DataRepository Folder (click to show list)
Note: Both DataRepository classes are "partial classes" that share the same file name.
Note: Both DataRepository interfaces are "partial interfaces" that share the same file name.
DATA REPOSITORY - DataRepository Folder
You can add code in this class
CategoryDataRepository.csProductDataRepository.cs
SupplierDataRepository.cs
DATA REPOSITORY INTERFACE
DataRepository\Interface Folder
DataRepository\Interface Folder
You can add code in this interface
ICategoryDataRepository.csIProductDataRepository.cs
ISupplierDataRepository.cs
DATA REPOSITORY - DataRepository\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryDataRepository.csProductDataRepository.cs
SupplierDataRepository.cs
DATA REPOSITORY INTERFACE
DataRepository\Base\Interface Folder
DataRepository\Base\Interface Folder
Do NOT add code in this interface, it will be overwritten
ICategoryDataRepository.csIProductDataRepository.cs
ISupplierDataRepository.cs
VIEW MODELS - ViewModels Folder (click to show list)
Note: Both ViewModel classes are "partial classes" that share the same file name.
VIEW MODELS - ViewModels Folder
You can add code in this class
CategoryViewModel.csProductViewModel.cs
SupplierViewModel.cs
VIEW MODELS - ViewModels\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryViewModel.csProductViewModel.cs
SupplierViewModel.cs
MODELS - Models Folder (click to show list)
Note: Both Model classes are "partial classes" that share the same file name.
MODELS - Models Folder
You can add code in this class
Category.csProduct.cs
Supplier.cs
MODELS - Models\Base Folder
Do NOT add code in this class, it will be overwritten
Category.csProduct.cs
Supplier.cs
AD HOC/DYNAMIC SQL (SQL Scripts in Code) - SQL Folder (click to show list)
CategorySql.cs
ProductSql.cs
SupplierSql.cs