Installing modules and extensions for a asp.net website inside of itself
I couldn't think of the best way to describe my problem in the title, so forgive me if it's not clear.
Basically what I'm trying to do is create a system that will allow custom extensions (like plugins) as well as themes to be installed to an asp.net website using the website itself.
Ho开发者_运维百科wever, in order for this to work, the website needs to be able to receive the dll files and upload them to the bin folder, or theme files to the App_theme folder, as well as images, scripts, etc...
But writing to the bin folder automatically restarts the website does it not? So how would I handle this?
I also thought about allowing users to instead upload user controls since that could theoretically be done without touching the bin folder, however if it's a web application project, it needs to be built anyway and again put in the bin folder...
Is there a way to do this? or will I have to instruct users to upload the files manually, THEN find some way (perhaps a standardized xml file) to load the type and register everything?
many thanks in advance.
精彩评论