开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜