ASP.NET MVC Entity admin CRUD - asp.net

Im looking for something similar to rails admin for asp.net.
Essentially I need to write an admin layer that allows most table data to be changed / searched etc.
I could generate basic scaffolding however I'm wondering if there is a free or commercial admin package that would give a nice UI admin interface to the data.
Ideally I need to be able to control and add logic to it also.

I create Ilaro.Admin and it is exactly what you looking for, but please keep in mind there are a lot of stuff to do.

Related

Altering forms from Silverstripe CMS

I'm a beginner to silverstripe and am happy for someone to just point to a relevant section of the docs if they know where I should read. I just haven't been able to find very good instruction on this.
So I have created an Enquiry form for a site I'm building, and have:
/template/Layout/EnquiryPage.ss
/mysite/code/EnquiryPage.php
/mysite/code/EnquirySubmission.php
All are working well, users can upload enquirers and they are stored in the database.
What I want however is, as an admin, to be able to see/edit/delete these forms from within a tab in the CMS. What do I need to know about to be able to do this?
Thanks
Sounds like you want a ModelAdmin.
Pro tip: Don't forget to set your canEdit(), canDelete(), etc. permission methods on your DataObject.

Sending a model for use throughout all views linked from a layout

I am working on a web service built on ASP.NET MVC 4 and have run into some trouble figuring out how to manage a model after log in so that it is widely available to all action functions created in the back end.
For example) Let's say I have built a service that allows a user to log in and manage multiple databases. After he logs in he is redirected to a view that allows him to pick which database he would like to manage, which inherits the old layout. After he clicks on the database he wants to manage, the model of this database is passed to the index view of a manage controller which utilizes a different layout than before. All of the managing action links are coded in the layout but the model was passed to the index page. He needs the model to be available for all the ActionResults in the managing controller, but a model can't be passed to a layout, so this is where I'm stuck.
Does anyone know of any good references or guides on how I can utilize a model throughout a whole layout? Or something a long these lines? I'm not sure the technique I used for this problem was the best but I don't know how else to go about this. If anyone knows a better technique of going about this please let me know.
Thank you!

Extending ASP.NET Role provider in MVC

I want know if this can be done and if there is somewhere that you can point me in the right direction.
Basically, at the moment, i am using the built in Role Provider for asp.net, on my controller actions, i use a custom attribute filter as described here.
But what i would like to do is extend it even further to do something like this:
Admin - View, Edit, Delete
Manager - View, Edit
So basically, granular permissions. I have searched around on the net, but can't seem to find any way of doing this without writing my own authentication/authorisation providers :(
Any help would be greatly appreciated!!
Cheers,
Nick
There are several ways to tackle this. The easiest (but not necessarily best) way is to have partial views with the navigation elements, view/edit/delete and if statements surrounding each link checking the currebt User's role.
Alternatively, at the other end of the spectrum is something called AzMan (Microsoft's Authorisation Manager) which allows you to create very granular role and task-based authorizations.
AzMan been around for ages but as far as I know it is now incorporated into MS's enterprise library.

Goal: Is it possible to integrate an Asp.Net website with Joomla CMS

I have an asp.net application which is purely build using C#, CSS, Javascript. Now i need to integrate my application with joomla cms.
**Is it possible to integrate an Asp.Net website with Joomla CMS**
Any help would be deeply appreciated.
Yes it is possible, and depending on what you are trying to "integrate" it might be fairly easy to do. First, you will need to get ChronoForms and ChronoConnectivity. Without having any more details here is what you would need to do -
Put the Joomla DB in the same database. By default Joomla uses the prefix jos_ for its database tables so this should not pose any issues. This will make it easy to access the tables of your application within Joomla.
Next you will need to create a form that has a field for each corresponding field in the table you want to edit. You will need one form for each table.
Using ChronoConnectivity you then associate the form with the table in the database.
This is pretty basic but it will give you the ability to edit any table in the same database that Joomla is installed in. You may have to get a little trickier to make it work well, but you can insert additional code in both ChoronForms and ChronoConnectivity as needed.
That would probably be the fastest and easiest way to do a simple integration.

asp.net page maker (form maker)

please introduce some form maker(page maker) for asp.net.
like Iron speed.
that enable us to generate form or user control from database tables.
thanks all.
I suggest also this one
http://www.hkvstore.com/aspnetmaker/
Try Asp.Net Dynamic Data
There are tutorial videos at the link provided.
It's quick, simple, powerful, and easy to customize once you learn how it works. (And provided you understand ASP.NET in general.
And it's free.

Resources