Serge,
Sorry I have not explained my situation enough. I am an applications
developer, who also looks after some websites. Most websites we have are a
copy of the template, with only a few minor changes to customise (as per the
clients request).
Because they are always almost the same, I have created a VB.NET application
to streamline this progress. At this stage the app does the following:-
- Copies all files from the template folder, to a new folder.
- Hooks into a 3rd party application to setup all the security.
At this stage the website folder has been created, and all files from the
template have been copied to it. I now wish to hook into IIS, and
automatically create a new website and link it too the folder I have just
created (instead of going to Administrative Tools -> Internet Information
Services, and having to set it up manually).
If you have any advice for my sitation (or code :)), please let me know.
"serge calderara" wrote:
So if I undertstand correctly you try to developp an application which is
deploying your web site ina similar way as you would do by generating a
deployement package whcih take car of every thing ?
"JB" wrote:
Serge,
I dont think so, when i open IIS management, at the moment i am manually
adding a new website, pointing it to the folder, and then changing the
default settings to match.
This is what I would like to mirror in my code.
Thanks
"serge calderara" wrote:
Do you mean something like a PUBLISH function to create your web site?
"JB" wrote:
> I am writing an application to streamline website production. I have a
> generic folder, which I copy and paste (ready to be edited), which is fine.
> But I would like to hook into IIS and automatically generate a website
> (including header information, etc).
>
> I have searched msdn and google, without any luck. The only things I find
> are windows scripts, but I would like something more like an API, that i have
> full control over. Can anyone point me in the right direction?
>
> Much appreciated.
>
> John