Blog'A'Little

Just another C# guy

Registering XAP MIME type in IIS 6.0

I’m still running Windows 2003 and IIS 6.0 on my server and needed to register XAP as a global MIME type for my server, seeing that I will be publishing a bit of Silverlight bits now and then. I’ve only come across IIS 7.0 guides for this, so I thought I’d share how to do this in IIS 6.0.

Open up IIS Manager (mmc %systemroot%\system32\inetsrv\iis.msc). Right click the computer name an select properties.

image

Click the MIME types:

image

Click new and type in the following:

image

Then you will probably need to reset IIS (run->iisreset or right click computer->All Tasks->Restart IIS).

Now you can deploy your Silverlight 2 XAP application to IIS 6.0.

kick it on DotNetKicks.com kick it on GameDevKicks.com

Comments

ugurkazdal said:

thanks you

thats exactly what I've searched.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 8, 2008 12:41

Mike Irving said:

I've just had the exact same problem with FLV files for a Flash Video Player embedded in a web page. Annoying, but an easy fix. Thanks for your help.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# oktober 15, 2008 6:04

GoogleBot said:

DAESH ONOTOLE V PRAVITELI VSELENNOI!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# november 11, 2008 2:41

YahooBot said:

Nice site, thanks for information!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# november 11, 2008 9:12

Internet Unterhaltung said:

Das stimmt nicht immer, hier folgt eine aktuelle Auswahl von guten Hoster.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# januar 15, 2009 9:36
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Design downloaded from Free Templates - your source for free web templates