System.EnterpriseServices.Internal reliable ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I need to use the class IISVirtualRoot to create virtual directories in IIS

What worries me is the warning in the documentation that reads "This member supports the .NET Framework nfrastructure and is not intended to be used directly from your code"

How reliable and predictable is the behaviour of the members of the namespace System.EnterpriseServices.Internal

TI
regards
-Kumarforg
 
Kumarforg,

I would think that the performance is reliable, since the class is being
used internally in the framework. However, you can not be guaranteed that
you will always have access to it.

If you want to create virtual directories on IIS programattically, then
I suggest going another route. Just putting the term "create virtual IIS
directory" on google produced this:

http://cprogrammingtrends.com/cprog...CreateFTPandWebIISVirtualDirectoryUsingC.html

Also, there are some newsgroup postings dealing with the matter, which
can be found at:

http://groups.google.com/groups?q=create virtual directory IIS&hl=en&lr=&ie=UTF-8&sa=N&tab=wg

Many of these could be converted easily to C#.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Kumarforg said:
Hi,

I need to use the class IISVirtualRoot to create virtual directories in IIS.

What worries me is the warning in the documentation that reads "This
member supports the .NET Framework nfrastructure and is not intended to be
used directly from your code".
How reliable and predictable is the behaviour of the members of the
namespace System.EnterpriseServices.Internal ?
 
Kumarforg,

I would think that the performance is reliable, since the class is being
used internally in the framework. However, you can not be guaranteed that
you will always have access to it.

If you want to create virtual directories on IIS programattically, then
I suggest going another route. Just putting the term "create virtual IIS
directory" on google produced this:

http://cprogrammingtrends.com/cprog...CreateFTPandWebIISVirtualDirectoryUsingC.html

Hope this helps.



Kumarforg said:
Hi,

I need to use the class IISVirtualRoot to create virtual directories in IIS.

What worries me is the warning in the documentation that reads "This
member supports the .NET Framework nfrastructure and is not intended to be
used directly from your code".
How reliable and predictable is the behaviour of the members of the
namespace System.EnterpriseServices.Internal ?
 
Back
Top