AspCoreGen 3.0 Razor generates ASP.NET Core 3.1 razor pages, page models, models, middle-tier and data-tier (linq-to-entities using Entity Framework Core)
objects in a 3-tier layered infrastructure. In short it generates a whole web application. It also generates stored procedure scripts
or ad-hoc SQL. All these are generated in One Click*.
Shown below is a visual reprensentation/flow of how AspCoreGen 3.0 Razor generates code.
1. Click the "Generate Code..." button.
2. Retrieve Microsoft SQL Server Database information.
3. Generate Code: Generates three projects.
a. Generate an ASP.NET Core 3.1 Web Application - Front End (UI - Presentation Layer).
- Generate Razor Pages and Page Models. See more
- Generate styles, scripts, images, icons, web.config, etc. See more
b. Generate an optional ASP.NET Core 3.1 Web API project.
- Optionally encapsulate calls to Business Objects when generating Web API. See more
c. Generate a Business/Data Objects Class Library project (.NET Core 3.1).
- Generate Middle-Tier Class Files (Middle Layer). See more
- Generate Data-Tier Class Files (Data Layer). See more
- Generate additional files such as Models and View Models
4. Generate SQL Scripts. See more
a. Generate Linq-to-Entities queries (EF Core), or Stored Procedures, or Ad-Hoc SQL. Stored procedures are generated inside Microsoft SQL Server. The Linq-to-Entities queries (EF Core) or Ad-Hoc SQL scripts are generated as class files.