Scaffolding has the following requirements:
- Visual Studio 2017 and later
- .NET Core SDK 2.1
- ASP.NET Core application with Angular
- Entity Framework Core Data Model
- DevExtreme installed using the Windows installer
Follow the instructions below to scaffold a component:
In Solution Explorer, right-click a folder. In the invoked menu, point to Add and then click New Scaffolded Item....
In the Add Scaffold window, choose Angular Component with a DevExtreme UI Widget and click Add.
In the wizard, enter the component's name, choose the DevExtreme widget to scaffold, and configure data binding and related settings. Click Add to finish the scaffolding.
The component and data service are created in the ClientApp\src\app\%componentname% folder, and the component is registered in the app.module.ts file.