Configure IIS using C#

Discussion in 'ASP .Net Web Services' started by hosi, Dec 3, 2004.

  1. hosi

    hosi Guest

    Hello,

    I want to configuire the IIS settings using a C# script , like giving
    virtual path, port, authentication etc.....

    How do I go about it.

    Thanx in advance.

    Hosi
     
    hosi, Dec 3, 2004
    #1
    1. Advertising

  2. hosi

    Dan Rogers Guest

    There are a few caveats, but IIS does have an automation API (via COM) that
    lets you do many administrative operations.

    Caveats include the need to have a C# based scripting language; and not
    being able to do this from a partially trusted caller (e.g. code running in
    a web service or web site).

    I hope this helps

    Dan Rogers
    Microsoft Corporation
    --------------------
    >From: "hosi" <>
    >Subject: Configure IIS using C#
    >Date: Fri, 3 Dec 2004 17:41:58 +0530
    >Lines: 12
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
    >NNTP-Posting-Host: 203.124.166.130
    >Path:

    cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
    phx.gbl
    >Xref: cpmsftngxa10.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webservices:27018
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
    >
    >Hello,
    >
    >I want to configuire the IIS settings using a C# script , like giving
    >virtual path, port, authentication etc.....
    >
    >How do I go about it.
    >
    >Thanx in advance.
    >
    >Hosi
    >
    >
    >
     
    Dan Rogers, Dec 3, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. deko
    Replies:
    1
    Views:
    489
  2. =?Utf-8?B?T3BhbFBldGVy?=

    How do I configure ASP.NET 2.0 on IIS 6.0?

    =?Utf-8?B?T3BhbFBldGVy?=, Nov 2, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    27,983
    =?Utf-8?B?T3BhbFBldGVy?=
    Nov 2, 2005
  3. Nalaka

    configure IIS for .asmx

    Nalaka, Nov 23, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    9,326
    misternaveed
    Oct 22, 2008
  4. HS1
    Replies:
    0
    Views:
    466
  5. Mika Myllyvirta
    Replies:
    3
    Views:
    2,988
    anastasiaaourik
    Sep 27, 2008
Loading...

Share This Page