Adding Silverlight MimeType using adsutil

Posted by Rich on Stack Overflow See other posts from Stack Overflow or by Rich
Published on 2009-11-30T21:26:07Z Indexed on 2010/06/16 17:02 UTC
Read the original article Hit count: 253

Filed under:
|
|
|

I have a script that creates an app pool, web site - and then I want to use adsutil to add the .xap MimeType.

I see this:

cscript adsutil.vbs set W3SVC//Root/MimeMap “.extension,mimetype”

However, since I am creating the web site in the same script I will not know the ID.

Would anyone know how to do this with adsutil?

Thanks,

  • Rich

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about iis6