Jeremy
Jeremy

Reputation: 9323

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 the bin) without deploying the whole dll? Will the single file override the class in the dll if placed in the bin?

Upvotes: 0

Views: 360

Answers (1)

Oded
Oded

Reputation: 499112

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).

Upvotes: 3

Related Questions