Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
這幾天離開 Visaul Studio 的執行環境後,實際佈署 Silverlight 2 Beta 1 的程式到 Windows Vista 的 IIS 7 後,才發現所有網頁變成一片空白,也沒有錯誤訊息。經 Moli 的指點,才得知忘了對 II7 設定 MIME 類型,以致於 Web Server 無法處理 Silverlight 2 的 .xap 型態檔案,微軟開發工具暨平台推廣處主管 Tim Sneath 在2008年3月18日在他的 blog 已介紹如何設定的問題。步驟並不複雜,只需要加入兩種 MIME 類型
.xaml | application/xaml+xml |
.xap | application/x-silverlight-app |
各家 Web Server 設定 MIME 類型的方法也可在此 Blog 中找到連接。
Comments
- Anonymous
July 23, 2008
The comment has been removed