c# MVC Site Map - very slow when using roles - very slow

后端 未结 2 1502
感情败类
感情败类 2021-01-28 18:53

I\'ve installed MVC Site Map Provider for MVC5 and just used everything out of the the box. It works fine. Now I want to implement roles based menu trimming so assuming my contr

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-28 19:05

    Although there is a bug posted for Route values not preserved correctly in v4?

    But looks like it was fixed in version 4 next release.

    Another Workaround to fix this problem is cache here is a related article.

    MVC siteMap provider cache

提交回复
热议问题