Handy ASP.NET MVC 2 Extension Methods – Where am I?
- by Bobby Diaz
Have you ever needed to detect what part of the application is currently being viewed? This might be a bigger issue if you write a lot of shared/partial views or custom display or editor templates. Another scenario, which is the one I encountered when I first started down this path, is when you have some type of menu and you’d like to…