开发者

Installing modules and extensions for a asp.net website inside of itself

开发者 https://www.devze.com 2023-03-19 07:12 出处:网络
I couldn\'t think of the best way to describe my problem in the title, so forgive me if it\'s not clear.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消