How can you update a .NET web application DLL on the server without
making sure all users are out of the database which the DLL accesses?
Does updating the DLL when users are using it cause any data
corruption if they are in mid-save when the update occurs?

Any changes to the web.config, global.asax, or /bin folder will cause an
application restart. If this will cause a problem with users, you need to
develop a system/producedure to shut down the website to perform the update,
and notify users of the shutdown well in advance.

How can you update a .NET web application DLL on the server without making sure all users are out of the database which the DLL accesses? Does updating the DLL when users are using it cause any data corruption if they are in mid-save when the update occurs?