[dba-VB] Connecting to a IIS 8 web site programmatically using C#

Jim Lawrence accessd at shaw.ca
Sun Feb 1 13:37:28 CST 2015


Hi Shamil:

That is an interesting question. I have no experience along those lines but would welcome information and/or link to a good source.

Jim

----- Original Message -----
From: "Salakhetdinov Shamil" <mcp2004 at mail.ru>
To: "Discussion concerning Visual Basic and related programming issues." <dba-vb at databaseadvisors.com>
Sent: Thursday, 29 January, 2015 2:20:18 AM
Subject: [dba-VB] Connecting to a IIS 8 web site programmatically using C#

 Hi All --

When using IIS 8 Manager program I can connect to a remote site (IIS: FIle -> Connect to a Site...) specifying:

- Server Name (say 134.211.115.7) and   
- Site Name      (say MyTestSite.hosting.web.biz)

in the first dialog window "Connect to SIte: Specify Site Connection Details".  Then clicking [Next] button and
providing credentials 

- User name and 
- Password 

in the second dialog window.

Question: How to implement a similar IIS 7/8 site connection procedure by using C#/VB.NET code?

FYI: while googling for the subject I have found a lot of C# samples on how to Automate IIS management but none of them provided a working code for managing remote web sites.

Thank you.

-- 
Салахетдинов Шамиль
_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list