UI admin interface for mvc.net 4

I've been looking for a while for an admin interface generator, for mvc.net 4. I've noticed that there are similar tools for different environments (eg http://activeadmin.info/ for Ruby on Rails).

My main goal is to give the admin all the CRUD options (New, Edit, etc.), but also add other functionality like forms, etc. Also it should be something in common, so it doesn't need to be rewritten for every application.

Can anyone point out such a tool for mvc.net 4?

+3


source to share


1 answer


I'm not sure if there is a tool that will generate the whole interface for you or not be completely generic, however there are built-in functions to create a CRUD controller (and corresponding views) from your project if you are using the Entity Framework.

Right click your project file and add a new controller and you will be presented with templates. The selection MVC controller with read/write actions and views, using Entity Framework

will allow you to select the model and entity class and then generate the forms for you.

Add Controller R / W



Most of the time you can start using the forms right away, however sometimes they may need minor modifications (the best example I can think of is using UNIQUEIDENTIFIER

as your key). You will also need to add authorization for the controllers.

Of course, if you are not using Entity Framework, this will not help you.

0


source







All Articles