Can ClickOnce deployed application setup be compressed?

前端 未结 3 1251
囚心锁ツ
囚心锁ツ 2020-12-18 04:10

I publish Windows Forms application using ClickOnce. The installation is quite big considering the overall size of this app. It\'s something over 15 MB. If I compress locall

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-18 04:34

    As far as I know, you can't really manually compress your assemblies. However, you absolutely can use IIS compression. From my testing with a bandwidth monitor, it makes a significant difference. And once it's set up, you never have to think about it, it just happens automatically.

    I'm surprised this isn't talked about more often. When I wanted to do this a few years ago I could find very little information about it. However, this article should detail all the changes you need to make if you're running IIS 6.0. I'm not sure how much different those instructions will be for later versions of IIS.

提交回复
热议问题