Thank You for using AspCoreGen 6.0 MVC Professional+. AspCoreGen 6.0 MVC Professional+ generated 2 applications/projects for use with Visual Studio 2022 or later.
Some of the main objects generated are listed below in their respective projects including: Views, Controllers, Business Layers, Data Repositories, Ad Hoc/Dynamic SQL classes, View Models, and Models.
1. Web Application Project - ASP.NET Core Web Application (.NET Core)
VIEWS - Views Folder (click to hide list)
UPDATE RECORD VIEWS
Views\Category\Update
Views\Product\Update
Views\Supplier\Update
RECORD DETAILS (READ-ONLY) VIEWS
Views\Category\Details
Views\Product\Details
Views\Supplier\Details
PARTIAL VIEWS
_AddEditCategoryPartial.cshtml
_AddEditProductPartial.cshtml
_AddEditSupplierPartial.cshtml
CONTROLLERS - Controllers Folder (click to show list)
Note: Both the Controller class and Controller Base class are "partial classes" that share the same file names.
CONTROLLERS - Controllers Folder
You can add code in this class
CategoryController.cs
ProductController.cs
SupplierController.cs
CONTROLLERS (Base Class) - Controllers\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryController.cs
ProductController.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 the BusinessLayer class and BusinessLayer Base class are "partial classes" that share the same file names.
Note: Both the BusinessLayer interface and BusinessLayer Base interface are "partial interfaces" that share the same file names.
BUSINESS LAYER - BusinessLayer Folder
You can add code in this class
CategoryBusinessLayer.cs
ProductBusinessLayer.cs
SupplierBusinessLayer.cs
BUSINESS LAYER INTERFACE BusinessLayer\Interface Folder
You can add code in this interface
ICategoryBusinessLayer.cs
IProductBusinessLayer.cs
ISupplierBusinessLayer.cs
BUSINESS LAYER (Base Class) - BusinessLayer\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryBusinessLayer.cs
ProductBusinessLayer.cs
SupplierBusinessLayer.cs
BUSINESS LAYER INTERFACE (Base Interface) BusinessLayer\Base\Interface Folder
Do NOT add code in this interface, it will be overwritten
CategoryBusinessLayer.cs
ProductBusinessLayer.cs
SupplierBusinessLayer.cs
DATA REPOSITORY/DAL/DATA TIER - DataRepository Folder (click to show list)
Note: Both the DataRepository class and DataRepository Base class are "partial classes" that share the same file names.
Note: Both the DataRepository interface and DataRepository Base interface are "partial interfaces" that share the same file names.
DATA REPOSITORY - DataRepository Folder
You can add code in this class
CategoryDataRepository.cs
ProductDataRepository.cs
SupplierDataRepository.cs
DATA REPOSITORY INTERFACE DataRepository\Interface Folder
You can add code in this class
CategoryDataRepository.cs
ProductDataRepository.cs
SupplierDataRepository.cs
DATA REPOSITORY (Base Class) - DataRepository\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryDataRepository.cs
ProductDataRepository.cs
SupplierDataRepository.cs
DATA REPOSITORY INTERFACE (Base Interface) DataRepository\Base\Interface Folder
Do NOT add code in this class, it will be overwritten
CategoryDataRepository.cs
ProductDataRepository.cs
SupplierDataRepository.cs
VIEW MODELS - ViewModels Folder (click to show list)
Note: Both the Controller class and Controller Base class are "partial classes" that share the same file names.
VIEW MODELS - ViewModels Folder
You can add code in this class
CategoryViewModel.cs
ProductViewModel.cs
SupplierViewModel.cs
VIEW MODELS (Base Class) - ViewModels\Base Folder
Do NOT add code in this class, it will be overwritten
CategoryViewModel.cs
ProductViewModel.cs
SupplierViewModel.cs
MODELS - Models Folder (click to show list)
Note: Both the Models class and Models Base class are "partial classes" that share the same file names.
MODELS - Models Folder
You can add code in this class
Category.cs
Product.cs
Supplier.cs
MODELS (Base Class) - Models\Base Folder
Do NOT add code in this class, it will be overwritten
Category.cs
Product.cs
Supplier.cs
AD HOC/DYNAMIC SQL (SQL Scripts in Code) - SQL Folder (click to show list)
CategorySql.cs
ProductSql.cs
SupplierSql.cs