Junctions or Virtual Directories for Web Applications?

前端 未结 2 874
再見小時候
再見小時候 2021-01-24 01:49

I see that junctions are a common way of referencing shared code in many projects. However, I have not seen them used in web applications before.

Our team is exploring

2条回答
  •  礼貌的吻别
    2021-01-24 02:34

    In case with virtual folders you need IIS installed on each environment. However with both approaches you need to manually maintain all references after each change (For example situation when someone added one more reference), which is not convinient.

    Consider using VCS with referncing system. For example SVN with externals. In that case you will have:

    1. Automatic update of references on each environment.
    2. Ability to have references in different versions of external code. This will avoid situations when it is needed to change all dependent applications after each external code change.

提交回复
热议问题