IIS deploy Silverlight

Title design:

  If the application site Silverlight technology, deployed directly to IIS is not working properly,

  analysis:

  Because Silverlight applications corresponding to three MIME type is not registered in IIS, so the file can not be downloaded Silverlight related to the client, while Silverlight is a client application, so the site is not functioning properly.

  solve:

  Silverlight release documents involving three types: .xap, .xaml, .xbap, these extension for IIS6 and IIS7 are new, their corresponding MIME type is not added to the default in IIS, so the need to manually registration, registration of content:

  .xap   application/x-silverlight-app

  .xaml  application/xaml+xml

  .xbap  application/x-ms-xbap

  MIME type registration method, open IIS, right-click on the Web site or the default Web site, choose Properties, click on the 'HTTP Headers tab' to find the "MIME type (M)" button, click to create a new type of MIME. Adding MIME after the completion of the site and the corresponding application pool restarts, re-open the site returned to normal.

  If the application site Silverlight technology, deployed directly to IIS is not working properly,

  analysis:

  Because Silverlight applications corresponding to three MIME type is not registered in IIS, so the file can not be downloaded Silverlight related to the client, while Silverlight is a client application, so the site is not functioning properly.

  solve:

  Silverlight release documents involving three types: .xap, .xaml, .xbap, these extension for IIS6 and IIS7 are new, their corresponding MIME type is not added to the default in IIS, so the need to manually registration, registration of content:

  .xap   application/x-silverlight-app

  .xaml  application/xaml+xml

  .xbap  application/x-ms-xbap

  MIME type registration method, open IIS, right-click on the Web site or the default Web site, choose Properties, click on the 'HTTP Headers tab' to find the "MIME type (M)" button, click to create a new type of MIME. Adding MIME after the completion of the site and the corresponding application pool restarts, re-open the site returned to normal.

Guess you like

Origin www.cnblogs.com/bdqczhl/p/11330599.html