AspCoreGen 3.0 Razor generates three projects/applications in One Click! It generates 3 separate applications in
one Solution. The separation of projects is another way to clearly distinguish the functionality of the respective applications.
This is the ASP.NET Core application which mostly contains UI components, or the Presentation Layer.
Razor Pages and Page Models
Javascript scripts and libraries
Miscellaneous files that completes an ASP.Net Core web application
This is the API application that contains the Middle and Data Tier code which is shared between the Web Application and Web API
Business Objects (Middle Tier .cs class files)
Data Layer using Linq-to-Entities (Data Tier .cs class files)
Entity Framework Entities or Ad-Hoc SQL
Miscellaneous files that completes a Class Library application
This is the optional Web API application.
Miscellaneous files that completes a Web API application
This is Not a project or an application. These are SQL scripts directly generated in your Microsoft SQL Server.
Generated Web Project Examples
You can download six sample projects below generated by AspCoreGen 3.0 Razor. Please make sure to read the Readme.txt file for instructions. You
will need Visual Studio 2019 and Microsoft SQL Server with the Microsoft Northwind database installed to use any of these sample projects. You also need to install
the .NET Core 3.1 SDK in your machine. Right-click the download links below and choose
"Save link as" or "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 Core 3.1. Web Application and a .NET Core 3.1 Class Library Project. The Data Layer
accesses the database using Entity Framework Core.
|
Download Sample Code
|
2. Entity Framework Using Web API Sample Project
This solution contains 3 projects; an ASP.NET Core 3.1. Web Application, a .NET Core 3.1 Class Library Project, and an ASP.NET Core 3.1. Web API Application. The Data Layer
accesses the database using Entity Framework Core while the Middle Tier is encapsulated through a Web API call.
|
Download Sample Code
|
3. Stored Procedures Sample Project
This solution contains 2 projects; an ASP.NET Core 3.1. Web Application and a .NET Core 3.1 Class Library Project. The Data Layer
accesses the database using Classic ADO.NET calling Stored Procedures.
|
Download Sample Code
|
4. Stored Procedures Using Web API Sample Project
This solution contains 2 projects; an ASP.NET Core 3.1. Web Application, .NET Core 3.1 Class Library Project, and an ASP.NET Core 3.1. Web API Application. The Data Layer
accesses the database using Classic ADO.NET calling Stored Procedures while the Middle Tier is encapsulated through a Web API call.
|
Download Sample Code
|
5. Ad-Hoc SQL Sample Project
This solution contains 2 projects; an ASP.NET Core 3.1. Web Application and a .NET Core 3.1 Class Library Project). The Data Layer
accesses the database using Classic ADO.NET using Ad-Hoc SQL embedded in Classes.
|
Download Sample Code
|
6. Ad-Hoc SQL Using Web API Sample Project
This solution contains 2 projects; an ASP.NET Core 3.1. Web Application, .NET Core 3.1 Class Library Project, and an ASP.NET Core 3.1. Web API Application. The Data Layer
accesses the database using Classic ADO.NET using Ad-Hoc SQL embedded in Classes, while the Middle Tier is encapsulated through a Web API call.
|
Download Sample Code
|