Override mime type with VS Web Dev Server
Posted
by Douglas
on Stack Overflow
See other posts from Stack Overflow
or by Douglas
Published on 2010-05-17T10:05:06Z
Indexed on
2010/05/17
10:10 UTC
Read the original article
Hit count: 349
I would like to serve xbaps from the VS web dev server (cassini) to Firefox, but when served from the dev server, Firefox offers to download this file. As far as I can tell, this is because the dev server is serving the xbap file with a mime type of "application/octet-stream" instead of "application/x-ms-xbap", which works when served from IIS.
Does anyone know how to change the mime type which the dev server uses for *.xbap files?
© Stack Overflow or respective owner