I have been developing in classic ASP for about 2.5 years and I am trying to update my skill set to include ASP.NET MVC.
What is the MVC way of executing SSIs? IE: How can I include a database drawn navigation list in a sidebar? I have been looking into partial views, but they seem to get their content from the controller. As far as I can tell this means that I would need to write each controller to pass the navigation list.
Am I thinking along the right lines?
You have two options that are similar to SSI
In your case Option 1 is probably the better one since you probably don’t want to contain the items for the menu in your view model/view data.