I am thinking of implementing a generic Controller in ASP.NET MVC.
PlatformObjectController<T>
where T is a (generated) platform object.
Is this possible? Is there experience / documentation?
One related question for example is how the resulting URLs are.
yes it is, you just can’t use it directly but you can inherit it and use the childs
here is one that I use:
and usages:
the code is here:
http://code.google.com/p/asms-md/source/browse/trunk/WebUI/Controllers/FieldController.cs
update:
using this approach here now: http://prodinner.codeplex.com