开发者

Single code-behind to override class in the web project dll?

开发者 https://www.devze.com 2023-02-03 00:16 出处:网络
Is there a way to deploy changes to a single code-behind file when using a \"web project\" (i.e. the web project dll is in th开发者_如何学运维e bin) without deploying the whole dll?Will the single fil

Is there a way to deploy changes to a single code-behind file when using a "web project" (i.e. the web project dll is in th开发者_如何学运维e bin) without deploying the whole dll? Will the single file override the class in the dll if placed in the bin?


No, there isn't. Since it is part of the compiled DLL, you need to recompile and redeploy.

Putting the file in the bin folder will do nothing.

If you have a web farm, you could take some of the servers offline, update the application, put them back online and do the same with the remaining servers, so no downtime occurs (of course, you need to ensure that changes to shared code and systems can work with both versions of your code).

0

精彩评论

暂无评论...
验证码 换一张
取 消