mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Make RegisterRoutes public #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In some cases we need to refresh the routing table during the life of the 
application. When this happens MMP no longer works because we call 
RouteTable.Routes.Clear(). I noticed that RegisterRoutes is available in 
MiniProfilerHandler, but it's marked as internal. Would be nice to be able to 
call it when needed so that MMP would continue to work without having to kill 
IIS Express. Thanks.

Original issue reported on code.google.com by peterzo...@gmail.com on 22 Nov 2011 at 4:18

GoogleCodeExporter commented 8 years ago
done in latest

Original comment by sam.saff...@gmail.com on 13 Feb 2012 at 5:54