Dynamic Recompilation

  • Thread starter Thread starter NIan
  • Start date Start date
N

NIan

Hi,
I have a question about having runtime recompilation of the asp.net
web application
dll file. so my scenario is having existing method dynamiclly [create
..cs
file / re-route existing cs so is possible to invoke methods that's
being created from the new cs file]. I know easier way is to I/O out
those code in a plain text file and just streamRead read the text then
finally do a in-memory compilation, but what if the case was narrowed
so that it must require to change codes in the .cs file and then
"somehow" dynamiclly replacing the existing dll file ?
 
if you change the source file the filesystem watcher of asp.net should force
the recompilation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top