Aurelia EF Core Scaffolding

Hand raises for this functionality… Thinking about starting this development.

Similar to this

The views instead of MVC would be Aurelia based.

3 Likes

That’d be awesome :smile:

1 Like

I thought Razor pages are multi page applications (MPA) not single page applications (SPA) like Aurelia. For example, a Net Core application with Identity uses the default login/logout pages as Razor pages where these work with MVC and its router. Aurelia may use the home page but the Aurelia views are written in TypeScript and may not play nicely with Razor…

Use EF to create controllers non-mvc and generate corresponding au views.

dbo.Customer

api/[controller]
CustomersController : Controller{
post
Create(FromBody Customer)
get
Read(FromQueryString Customer)
get
Find(int id)
put
Update(FromBody Customer
delete
Delete(int id)
}

customer
index.ts - grid - view/delete
delete.ts /{id} - or modal
edit.ts - /{id} -
validate.ts