What are the advantages and disadvantages of using the GAC?

前端 未结 7 1562
心在旅途
心在旅途 2020-11-27 03:49

And on top of that, are there cases where one has to use the global assembly cache or where one cannot use it?

7条回答
  •  無奈伤痛
    2020-11-27 04:35

    Advantage:

    • Only one place to update your assemblys
    • You use a little less hard drive space

    Disadvantage:

    • If you need to update only one website, you can't. You may end with the other websites in the webserver broken

    Recommendation: Leave the GAC to MS and friends. The gigabyte is very cheap now.

提交回复
热议问题