Generated Demos & Code Examples
All Demos are Coming Soon!
Click the links provided below for sample code of the respective features.
Note: Samples were taken from the
generated code based on Microsoft's Northwind SQL database. Most of the sample code below were generated using the Products table and the related
Categories and Suppliers tables. All code were generated in One Click in under a minute.
Note: All these generated code in One Click*.
Listed below are the main list of items generated by AspCoreGen 9.0 MVC. A lot more items are generated which are not listed below
like the
Miscellaneous Items and more.
Generated ASP.NET Core Web Project
Home Page |
|
Index.cshtml
Contains the list of generated applications: ASP.NET Core Web project, Class Library project, and the optional ASP.NET Core Web API project. Each
project in the list contains the main files generated for the respective application. This is the Home Page (Index.cshtml) for the generated Solution. Contains
list of all the main generated Views, Controllers, Business Objects,
Data Layer, View Models, Models, Web API Controllers, Stored Proceduress, Linq-to-Entities, Ad-Hoc SQL, etc.
The list of MVC Views are clickable so you can see the functionalities of each view.
|
Demo
|
One of each of the following MVC Views is generated per database table.
Note: Views with grouping such as the Master-Detail, or List with Grouping are only generated for tables that have foreign keys. Each
foreign key in the table will have the respective generated "grouping view" code.
See the description of each MVC View and Controller listed below in the
Generated Presentation Layer page.
Generated Views (.cshtml) |
|
1. List with Add, Edit Redirect & Delete |
Sample Code
|
Demo
|
2. Add New Record |
Sample Code
|
Demo
|
3. Update Record |
Go to the List with Add, Edit Redirect & Delete to demo the Update functionality
Sample Code
|
4. Record Details (Read Only) |
Go to the List (Read-Only) to demo the Record Details functionality
Sample Code
|
5. List (Read-Only) |
Sample Code
|
Demo
|
6. List with Add, Edit, & Delete (Same Page) |
Sample Code
|
Demo
|
7. List with Grouping |
Sample Code
|
Demo
|
8. List with Totals |
Sample Code
|
Demo
|
9. List with Totals and Grouping |
Sample Code
|
Demo
|
10. List with Search |
Sample Code
|
Demo
|
11. List with Scroll-Loading Data |
Sample Code
|
Demo
|
12. List with Inline Add and Edit |
Sample Code
|
Demo
|
13. List with Manual For Each Loop |
Sample Code
|
Demo
|
14. List with Master Detail (Grid) |
Sample Code
|
Demo
|
15. List with Master Detail (Sub Grid) |
Sample Code
|
Demo
|
16. List with Multiple Delete |
Sample Code
|
Demo
|
17. List by Foreign Key |
Sample Code
|
Demo
|
18. Unbound View |
Sample Code
|
Demo
|
19. Add/Edit Partial View |
Sample Code
|
One of each of the following Controller is generated per database table.
Generated Controllers (.cs) |
|
1. Controller Class (Used Like Base) |
Sample Code
|
2. Controller Class |
Sample Code
|
One of the following Example Class is generated per database table.
Generated (Middle-Tier Access) Examples Class (.cs) |
|
1. Example Class |
Sample Code
|
Generated Class Library Project
One of each of the following Classes is generated per database table.
See the description of each Business Layer object, Models, and View Models listed below
in the
Generated Business Layer page.
Generated Middle Tier |
|
1. Business Layer Partial Interface (Used Like Base) |
Sample Code
|
2. Business Layer Partial Interface |
Sample Code
|
3. Business Layer Partial Class (Used Like Base) |
Sample Code
|
4. Business Layer Partial Class |
Sample Code
|
Generated Models (.cs) |
|
1. Model Class (Used Like Base) |
Sample Code
|
2. Model Class |
Sample Code
|
Generated View Models (.cs) |
|
1. View Model Class (Used Like Base) |
Sample Code
|
2. View Model Class |
Sample Code
|
3. Foreach View Model Class (Used Like Base) |
Sample Code
|
4. Foreach View Model Class |
Sample Code
|
See the description of each Data Repository object, Ad-Hoc SQL Class, and Linq-To-Entity Class listed below in the
Generated Data Repository page.
Generated Data Tier |
|
1. Data Repository Partial Interface (Used Like Base) |
Sample Code
|
2. Data Repository Partial Interface |
Sample Code
|
3. Data Repository Partial Class (Used Like Base) |
Sample Code
|
4. Data Repository Partial Class |
Sample Code
|
One of each of the respective Class is generated per database table when Ad-Hoc SQL or Linq-To-Entities is selected during code generation.
Generated Ad-Hoc SQL or Linq-to-Entity (.cs) |
|
1. Ad-Hoc SQL Class |
Sample Code
|
2. Linq-To-Entity (Entity Framework) Class |
Sample Code
|
Generated ASP.NET Web API Project
One of each of the following Classes is generated per database table.
See the description of each Web API Controller listed below in the
Generated Web API page.
Generated Web API (.cs) |
|
1. Web API Controller Class (Used Like Base) |
Sample Code
|
Demo
|
2. Web API Controller Class |
Sample Code
|
Generated T-SQL Scripts
One of each of the following script is generated per database table. Some of the scripts below are only generated for tables with foreign keys such as the Select Drop Down List Data script.
See the description of each Stored Procedure below in the
Generated SQL page.
Generated SQL Script - Stored Procedures |
|
1. Select All |
Sample Code
|
2. Select All By a Foreign Key |
Sample Code
|
3. Select All Dynamic Where |
Sample Code
|
4. Select a Record by Primary Key |
Sample Code
|
5. Select Drop Down List Data |
Sample Code
|
6. Select, Skip, and Take |
Sample Code
|
7. Select, Skip, and Take By a Foreign Key |
Sample Code
|
8. Select, Skip, and Take Dynamic Where |
Sample Code
|
9. Select Totals |
Sample Code
|
10. Insert |
Sample Code
|
11. Update |
Sample Code
|
12. Delete |
Sample Code
|
13. Get Record Count |
Sample Code
|
14. Get Record Count by Foreign Key |
Sample Code
|
15. Get Record Count Dynamic Where |
Sample Code
|
Generated Web Project Examples
You can download six sample projects below generated by AspCoreGen 9.0 MVC. Please make sure to read the Readme.txt file for instructions. You
will need Visual Studio 2022 and Microsoft SQL Server with the Microsoft Northwind database installed to use any of these sample projects. You also need to install
the .NET 9.0 SDK in your machine. Right-click the download links below and choose
"Save target as" in the context menu, and save it to your computer.
1. Entity Framework Sample Project
This solution contains 2 projects; an ASP.NET 9.0. Web Application and a .NET 9.0 Class Library Project. The Data Repository (Data Layer)
accesses the database using Entity Framework.
|
Coming Soon!
|
2. Entity Framework Using Web API Sample Project
This solution contains 3 projects; an ASP.NET 9.0. Web Application, a .NET 9.0 Class Library Project, and an ASP.NET 9.0. Web API Application. The Data Repository (Data Layer)
accesses the database using Entity Framework while the Business Layer (Middle Tier) is encapsulated through a Web API call.
|
Coming Soon!
|
3. Stored Procedures Sample Project
This solution contains 2 projects; an ASP.NET 9.0. Web Application and a .NET 9.0 Class Library Project. The Data Repository (Data Layer)
accesses the database using Classic ADO.NET calling Stored Procedures.
|
Coming Soon!
|
4. Stored Procedures Using Web API Sample Project
This solution contains 3 projects; an ASP.NET 9.0. Web Application, .NET 9.0 Class Library Project, and an ASP.NET 9.0. Web API Application. The Data Repository (Data Layer)
accesses the database using Classic ADO.NET calling Stored Procedures while the Business Layer (Middle Tier) is encapsulated through a Web API call.
|
Coming Soon!
|
5. Ad-Hoc SQL Sample Project
This solution contains 2 projects; an ASP.NET 9.0. Web Application and a .NET 9.0 Class Library Project. The Data Repository (Data Layer)
accesses the database using Classic ADO.NET using Ad-Hoc SQL embedded in Classes.
|
Coming Soon!
|
6. Ad-Hoc SQL Using Web API Sample Project
This solution contains 3 projects; an ASP.NET 9.0. Web Application, .NET 9.0 Class Library Project, and an ASP.NET 9.0. Web API Application. The Data Repository (Data Layer)
accesses the database using Classic ADO.NET using Ad-Hoc SQL embedded in Classes, while the Business Layer (Middle Tier) is encapsulated through a Web API call.
|
Coming Soon!
|