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 the bin) without deploying the whole dll? Will the single file override the class in the dll if placed in the bin?
preguntado el 08 de enero de 11 a las 18:01
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).