I'm working on a web service installation. One of the things I need to do is creating a new virtual directory under the default web site. The problem is I need to set a different application pool for that virtual directory (please don't ask why...these are the requirements and nothing I can do about it).
In IIS6, since there is no difference between virtual directories and applications I have no problem doing so. In IIS7, it is not possible setting an application pool to a virtual directory so I need to create a new "application" and attach an application pool to it.
I couldn't find any reasonable example/tutorial for doing so in C#. I need some help please :-)
Thanks.