Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django Like Admin Project for C# MVC

I've been using Django recently and I really love its built-in admin interface. I was wondering if there were any C# MVC projects our there which mimicked the django admin in terms of its ease and structure?

(I'm not looking for to use the whole django model in MVC, just looking for the admin portion of it)

With enough time and customizing of the EditorTemplates & DisplayTemplates I could create something similar on a per-site basis using Html.DisplayForModel() and Html.EditorForModel() but not all of it would be re-usable, nor have I gotten around to doing something like that (though I may go that route) and it takes a lot longer to setup. My experience with Django admin.py is that 10-15 lines of code goes a long long long way.

I have previously used EntitySpaces and they offered a web-admin grid, but a) its web-forms, b) it got less and less support as they continued development with it and c) you can't really use it and LINQtoSQL at the same time, and I find L2S to require much less overhead.

Any recommendations or projects you know of out there?

Thanks!

like image 919
TheRightChoyce Avatar asked Dec 16 '10 01:12

TheRightChoyce


People also ask

Can I use Django admin as frontend?

Django Admin's task is to provide an interface to the admin of the web project. Django's Docs clearly state that Django Admin is not made for frontend work.

Can I use Django admin in production?

your company should follow a least access principle policy; so yes: only select people should have access. Django has basic auditing capability via signals and displayed in the admin out of the box. You can build on top of this.

Is Django admin useful?

The Django admin application can use your models to automatically build a site area that you can use to create, view, update, and delete records. This can save you a lot of time during development, making it very easy to test your models and get a feel for whether you have the right data.

Is Django admin a database?

Django, by default, uses SQLite3 for development. SQLite3 is a simple relational database engine and your database is automatically created as db. sqlite3 the first time you run python manage.py migrate .


2 Answers

You can create the Dynamic Data Site in Visual Studio 2010, which does the same thing like Django-admin site. It requires Entity Framework.

like image 177
zs2020 Avatar answered Oct 01 '22 20:10

zs2020


Check out sharp architecture, it automatically sets up admin CRUD for the entities you define. (However this is NHibernate based, so you wont be able to use Linq2Sql)

Though it would be great if the built-in editor templating was improved.

like image 45
UpTheCreek Avatar answered Oct 01 '22 19:10

UpTheCreek