Search code examples
c#asp.net-mvccontrollersasp.net-mvc-controller

Find Controllers which aren't in use


Fairly new to this and as you cann tell learning - but basically my manager has thrown me in the deep end and I need a little help to swim - He wants me to create a list of all the controllers which aren't in use any more.

I can i determine this? I've got a massive list and I don't know how to check.


Solution

  • Resolution to this was to look through each control and search through the live projection Solution to see if the controller is referenced anywhere.