How to Dynamically add menu items to master page in ASP.NET 3.5 MVC app?

In the controller, I would create a MenuModel class or the like, that is the model for your menu. It would be a data only class. Create and populate it in the controller, taking into consideration the current user's access permissions.

This will allow you to write unit tests that ensure your security code is correct.

I'm not sure if this is what you are looking for, but I had a question along the same lines a few weeks ago.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions