Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

how to create a publishing point programmatically on IIS7?

$
0
0

 I am researching remote management IIS7 programmatically.

I know MS have provided Application Host Administration API to config IIS, it's COM api.

I googled lots of resource, these two CreateNewElement and NewElement methods inside interface IAppHostElementCollection

can create a new web site or application pool.

I also follow this introduction.

first, I can successfully query a existing publishing point  in IIS7,

but when I try to call these CreateNewElement and NewElemen and CommitChanges methods in IAppHostElementCollection

to create a new publishing points, I didn't get error in progress, but I didn't found my expected created publishing point on IIS?

 

If you may give me a little suggestes or demo code, thanks very much in advance.

Adam


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>