Creating a CRUD page step by step

- Create the necessary tables and the relation between them.
- Update the Model.edmx
- Use the .tt files to generate the necessary classes for: entities, dtos and the code for Automapper configuration.
- Define a ICustomRepository interface only if custom methods are need. Otherwise rely on the Generic Repository class
- Define a service interface an implementation for it. Inherit from CrudBaseService
- Define a query object by inheriting from Query
- Define a WebApi controller. Inherit from CrudBaseApiController
- Define a MVC Conttroller and the necessary Views
- Define the EditCtrl and ListCtrl Angular Controller by inheriting from BaseListCtrl, BaseEditCtrl
- Define the ApiSvc Angular Service by inheriting from BaseApiSvc

Last edited Nov 26, 2014 at 10:08 AM by cristi_salcescu, version 20


No comments yet.