ASP.NET MVC Portable Areas - Can they communicate and be used as a plugin-like architecture?

Posted by Beton on Programmers See other posts from Programmers or by Beton
Published on 2012-10-20T17:16:46Z Indexed on 2012/10/20 23:19 UTC
Read the original article Hit count: 171

Filed under:

I'll get straight to the point: I was wondering if there is a common pattern to use portable areas as a components of a plugin-like architecture.

Example: We've got 3 plugins (portable areas) packaged and distributed via NuGet feed. Each of them is following the standard MVC structure (has it own Models, Views and Controllers). Lets say login form, header and footer.

What I was wondering if there is a way to make them communicate. For example: when user logs on, login plugin executes it own logic, logs the user and then it updates the state of the header plugin with changes it state accordingly.

Thanks in advance.

© Programmers or respective owner

Related posts about asp.net-mvc