Monday, April 19, 2010

Changing your web Model at runtime with Model Editor and no IIS reset

I thought I should write for such a case cause seemed interesting to me, and its already implemented at eXpand.

How you do it?

1. Create a new eXpanded Application Solution

image

2. run both the win and the web client so both model will be created and saved at the database byt the modeldifference module.

image

3. Clone your web model to a role model

image

4.Assign the roles you want to change (you could assign all roles of the system if you want so the model will applied everywhere)

image

5. Make your changes (eg. apply a different navigation menu)

image

image

6. And since that model is going to be loaded every time a user log on to the system so you only have to log on again to your application in order the model to be refreshed and reloaded

Subscribe to XAF feed
Subscribe to community feed

DiggIt!
blog comments powered by Disqus