How It Works
AspxFormsGen MVC 5 generates ASP.NET MVC 5 models, views, controllers, middle-tier and data-tier objects in 3-tier layered infrastructure. In short it generates a whole web application. It also generates stored procedures or ad-hoc/dynamic SQL scripts. All these are generated in One Click*. Shown below is a visual reprensentation/flow of how AspxFormsGen MVC 5 generates code.

how aspxformsgen mvc code generation work

  1. Click the "Generate Code..." button.

  2. Retrieve Microsoft SQL Server Database information.

  3. Generate a database-bound Web Application. The web application is generated so you can run it and see the generated code in action.

    • Generate Front End (UI - Presentation Layer) Models, Views, View Models, Controllers. See more
    • Generate Web API (Optional). Optionally encapsulate calls to Business Objects when generating Web API code. See more
    • Generate Middle-Tier Class Files (Middle Layer). See more
    • Generate Data-Tier Class Files (Data Layer). See more
    • Generate SQL Scripts (Stored Procedures or Ad-Hoc/Dynamic SQL in Class Files). See more
    • Generate styles, scripts, images, icons, web.config, etc. (not shown in the diagram). See more

  4. Generate Stored Procedures in your database (Microsoft SQL Server), or, generate Ad-hoc/Dynamic SQL Class Files. See more
* Please see notes.