Nov 19, 2010 at 2:28 PM
Edited Nov 19, 2010 at 3:14 PM
I am still in testing stage of this product.
Every time I select a Menu Item . All my controllers get called some multiple times. I think this may be because of Security feature where each controller and action needs to be verified for Authorization. Is this right. If so is
there any way to cache it or disable security . I am looking for a simple menu and bread crumb generation.
Edit: If you add a break point as shown below in sample application you will understand what I mean
public class HomeController :
// GET: /Home/
/**** PUT A BREAK POINT ON STATEMENT BELOW IT WILL EXECUTE more than 100 TIMES **********
MusicStoreEntities storeDB = new MusicStoreEntities
// Get most popular albums
albums = GetTopSellingAlbums(5);
private List<Album> GetTopSellingAlbums(int
// Group the order details by album and return
// the albums with the highest count
.OrderByDescending(a => a.OrderDetails.Count())