我想把 .ashx文件内嵌到dll中,然后用WebResource注册这个文件,但是需要填写.ashx的MIME 类型,如下:
[assembly: WebResource("Handler1.ashx", "MIME Type")]
搜了一圈,没结果,请问.ashx的 MIME 类型是什么?
你好,
这个type和你ashx返回的内容的类型有关的。
具体mime type请参考:http://en.wikipedia.org/wiki/Mime_types
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework