For anyone who's interested (who knows who might find this on Google), I found that I can compile the code I want to execute into a .EXE file, then start it with a new Process. As long as you don't WaitForExit on that process the page will display, and the EXE will continue to run in the background.
Not sure yet if permissions will prove to be an irritating problem, we'll see.