Sunday, January 26, 2014

@ViewBag.Title

I found the two links below which suggest you should solve the problem of how to put metatag and title tag data in _Layout.cshtml outside of the @RenderBody() call by just putting stuff in the ViewBag at the Controller side and just pulling it back out again. I am not in love with that. I'll try to find a better way.

No comments:

Post a Comment