Reputation: 4277
We are currently trying to integrate deploying our new ASP.NET projects with Octopus and I was wondering if anyone has tried to use Octopus to deploy a classic ASP site?
I know it is possible and I know how to do it in theory, but our problem arises from the fact that the ASP site is HUGE. After the total size of all the videos, images, and pdf's are summed up the site weighs in at just under 3 gigs. So when a change is checked into TeamCity and a NuGet package is created, Octopus will be pushing a 3 gig nuget package to 2 individual load balanced servers.
We can't create a shared directory or cdn for the media files (at least not yet) so can anyone tell me a good way to attack this? Or is Octopus just not a good solution for a large ASP site and Web Deploy would be better? If that is the case, how can a backup solution be implemented for Web Deploy so that any errors can be rolled back?
Thanks for the help on this in advance. We are converting these ASP sites to MVC but that is going to take a while and until that is done we have to find a way to work with them.
Upvotes: 3
Views: 974
Reputation: 1029
You should package the ASP site and the Media Files as 2 separate NuGet packages. This will allow you to update the ASP code and deploy it without having to deploy all the media files (assuming the code changes more often than the media).
Implementation Details
Tips
Upvotes: 3
Reputation: 2503
Do you really need to push all the content every time - cant you just push the changes?
Upvotes: 0