In an ASP.NET website with a codebehind at what point are the .cs files compiled?

前端 未结 3 1511
余生分开走
余生分开走 2020-12-29 08:18

In Brief: In an ASP.net website with a code-behind, at what point are the *.cs files compiled?

Context: A colleague who has since left, deployed a website with a .c

3条回答
  •  無奈伤痛
    2020-12-29 08:23

    For the setup I use, the .cs files are compiled when building the project. This means it is the .dlls in the bin that need to change, not the .cs files directly.

    The .aspx files can change at any time, but I think you need to rebuild the project in order for the code behind to take effect.

    I have replaced singular .dlls before without any problem (though it's not good practice).

提交回复
热议问题