特定の要求に対して「application/x-shockwave-flash」のコンテンツタイプを返すASHXハンドラーを持つASP.Netアプリケーションがあります。
ローカルサーバーでアプリケーションをテストしようとすると、IEに何も表示されませんが、Chromeでテストすると完全に機能しました。
ローカルインターネットゾーンのセキュリティ設定がデフォルトの設定であり、詳細設定もデフォルトです。
Adobe Flash Player11ActiveXを使用しています
これは私のコードです:
HttpResponse response = context.Response;
response.Clear();
context.Response.ContentType = "application/x-shockwave-flash";
byte[] buffer = BlobStorageService.DownloadByteArray("MyContainer","8_L001_1.swf");
System.IO.MemoryStream ms = new System.IO.MemoryStream(buffer);
ms.WriteTo(response.OutputStream);
ms.Close();
response.End();
何が問題なのですか?