We are in the process of migrating our classic ASP applications to ASP.NET. We are using VS 2010 with TFS. We have 3 servers all running Windows Server 2008 R2 Standard. One server is for Development, one is for UAT and the last one is for Production.
I started creating DLLs to handle common processing among our applications. For example I created a DLL to handle the Encryption/Decryption of our data. With the first ASP.NET application which was not done under TFS, I copied the DLL into the Bin folder of the application in order to reference it. This is an inefficient way of doing things so what I want to do is have my VS projects reference the DLLs on the Production Server so that each project is using the latest version of the DLL. If the DLL changes then it only has to be updated in one place rather than copied to the Bin folder of all projects that reference it.
My question is what is the best way to do this? Our servers are setup to have the websites on the D: drive.
1. Do I put the DLLs in a common folder on the D: drive under the websites folder?
2. Do I put the DLLs in a common folder on the D: drive outside of the websites folder?
3. Do I put them somewhere else completely?
4. How do I reference them in my VS project so that each developer doesn't have to keep a local copy of the DLL on their machine?
Any help with this is greatly appreciated in that we are just setting up these servers now so we have greater flexibility at this point.