How do I compress a Json result from ASP.NET MVC with IIS 7.5

前端 未结 5 741
春和景丽
春和景丽 2021-01-30 00:22

I\'m having difficulty making IIS 7 correctly compress a Json result from ASP.NET MVC. I\'ve enabled static and dynamic compression in IIS. I can verify with Fiddler that normal

5条回答
  •  孤城傲影
    2021-01-30 00:47

    I recommend this approach
    Create CompressAttribute class, and set target action.

提交回复
热议问题