ASP.NET MVC Portable Areas - Can they communicate and be used as a plugin-like architecture?
- by Beton
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.