Hi,
I have a UDF assembly deployed on a Sharepoint Site. Whenever I need to update the UDF assembly I get errors as the ASPNET process has locked the dll. I usually stop the app pool configured on the site,update the dll and then start the site.
Is there a better approach without stopping the app-pool
Though this is a more of ASPNET question, it still needs to be here.
In ASPNET applications mebbe we cud have enabled shadow copy on the AppDomain. Will that approach work here

Update deployed UDF assemblies without restarting AppPool or IIS?
fiNAL.Y
Aleniko29139
Unfortunately the only way to update it is to recycle the app pool.
Here's a link to your three options, but recycling the app pool is the least disruptive that will still allow you to update the assembly:
http://blogs.msdn.com/cumgranosalis/archive/2006/07/11/UpdateUdfAssemblies.aspx
Another option would be deploying the UDF as a different name and disabling the old one (through Central Admin)... though I believe there are some issues doing this when the function signatures still match. We are looking into that right now so this step may not work out for you either until we figure out what's going on.