This is a migrated thread and some comments may be shown as answers.

Extensible Web MVC Application with OpenAccess

1 Answer 41 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Santiago
Top achievements
Rank 1
Santiago asked on 25 Oct 2012, 09:19 PM
Hello Telerik,

Im trying to figure out how to build my Extensible MVC Application. Well I find out that I can use the Areas approach for MVC 3 to create a extensible web site separating the application in multiple assemblies and just put the generated ".dll" into the specific area folder, so I could be able to just upload the dll files and my app could have much more functionality.

Now my problem is with OpenAccess. I Want to create a Extensible Class Library for my entities models. Every domain class have to be associated or in a herarchy with base domain classes. But I don't know how I can make it works. You have maybe a sample using this approach.

I want to have a base class and extend or associate Domain Classes that are in different assemblies and different models. Is there a way to do it?

Using this Approach I could be able to use Areas in MVC and create different models in my areas but use the base models that supposed to be in the main app.


Thank You

Santiago Muñoz

1 Answer, 1 is accepted

Sort by
0
Accepted
Damyan Bogoev
Telerik team
answered on 26 Oct 2012, 02:52 PM
Hello Santiago,

You could use Aggreghttp://www.telerik.com/help/openaccess-orm/fluent-mapping-merging-models-aggregate-metadata-source.htmlateMetadataSource in order to achieve that goal. The AggregateMetadataSource can be used to combine other MetadataSource instances and produce a new MetadataContainer that contains the combined metadata. The purpose of this tutorial is to show you how to work with AggregateMetadataSource.

Kind regards,
Damyan Bogoev
the Telerik team
Telerik OpenAccess ORM Meets ASP.NET Web API. Read more.
Tags
Design Time (Visual Designer & Tools)
Asked by
Santiago
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Share this question
or