I really like in the asp.net vnext that I can change the code of my controllers while my app is running and just refresh and it will work.
I want to implement the same thing for my app, how does it happen? how can I change the implementation of a type on the fly?
ASP.net vNext does this by using a FileSystemWatcher
to see when a source file changes, and then stopping the app, recompiling, and starting it again.