What is the difference between Microsoft.Web.Management and System.DirectoryServices in .NET 3.5?

I want to manage, configure, and manage IIS 6.0 and later through an ASP.Net web application using WMI and .Net.

  • Can I use a combination of Microsoft.Web.Management and System.DirectoryServices?
  • Is there a difference between the two?
  • Will support System.DirectoryServices support for later versions of IIS. iISE 7.0+?
  • Where better than two and why (given the goal on line # 01)?

Many thanks.

Hi

+3
source share
1 answer

Microsoft.Web.Administration IIS6. .NET - System.DirectoryServices, WMI , ABO ( IIS).

IIS7 Microsoft.Web.Administration IIS7 , , IIS7.

- , ( ), IIS6. API ADSI , System.DirectoryServices WMI wrap. ADSUTIL.vbs script, IIS6.

IIS6 IIS7 IIS7. , , IIS7, IIS6.

, IIS6 System.DirectoryServices WMI. IIS7 Microsoft.Web.Administration .

+4

Source: https://habr.com/ru/post/1731969/


All Articles