This question is locked. New answers and comments are not allowed.
Hi,
I am using MVC menu in my project and Nhibernate. I have one performance problem about menu rendering slowing problem.
Before, the topic is about one solution is suggested on below forum thread:
http://www.telerik.com/community/forums/aspnet-mvc/menu/performance-problem-with-menu-resolved.aspx
There is my menu code part:
.ItemDataBound((item, menuModel) =>
{
if (menuModel.ActionName != null)
{
item.ActionName = menuModel.ActionName;
}
item.Text = menuModel.Description;
if (menuModel.ControllerName != null)
{
item.ControllerName = menuModel.ControllerName;
}
})
I detected the problem but i didnt solved it.
The problem is below code parts:
If I set both item.ActionName and item.ControllerName, it works so slow.
item.ActionName = menuModel.ActionName;
item.ControllerName = menuModel.ControllerName;
If I set only item.ActionName , it works on normal performance.
item.ActionName = menuModel.ActionName;
//item.ControllerName = menuModel.ControllerName;
If I set only item.ControllerName , it works on normal performance.
//item.ActionName = menuModel.ActionName;
item.ControllerName = menuModel.ControllerName;
I dont remove NHibernate from my project as above solution.
If the problem is about NHibernate, What can i do?