I have an ASP.Net 4.0 web site with a SQL Server 2008 database. I want to deploy dependent changes to both the web site and the database at the same time while keeping the site running. My normal procedure is to first deploy the web site changes, and while the web site compiles, deploy the database changes. This works if I am fast enough to get the database changes out before the first request finishes compiling.
I don't want any down time on the web site.
EDIT: I can't purchase any new hardware or software.
Is there a better way?
EDIT: Note: My web sites do not use persistent information such as session state, so recompiling the application does not cause any problems for me.