PDA

View Full Version : Programmically Using Web Application Tool


dfowler45
12-20-2010, 12:28 PM
Hello,

I have written an app that creates directories with ASP.net files in them. Problem is I have to go to the web application tool and install the application for it to work. How can I do this programmically in .Net? I don't see an API for it and the info here on the forum is confusing or the answers are obscure. I see this app working very nicely and would like to do the same to 'install' the new apps (directories) that are created. :cool:

Thank you,

dfowler45

bruce
12-21-2010, 11:25 AM
There's no API for application root creation.

You can consider using Web Deploy to publish your application. Web Deploy can create application.

dfowler45
12-21-2010, 12:33 PM
Thanks Bruce! I actually figured it out...I had to add the offending .DLL to the bin directory of the root! :) Thanks again and Merry Christmas!

mjp
12-22-2010, 05:42 PM
Glad you worked it out!