Reputation: 6042
First, I'm not sure if I should break this question into smaller, individual questions. They're related, but I'm not sure if I'm doing it wrong. Apologies if I am.
I'm a bit new to the idea of source/version control. I have installed TortoiseSVN on my development laptop, but haven't really gotten into the habit of using it. That said, I have a live (and embarrassingly small, at the moment) ASP.NET MVC 2 site that will be in need of upgrading soon, and I'm curious as to what the best way to go would be. As an added wrinkle, the site does not currently use a database, but it will relatively soon. I've already installed SQL Server 2008 R2 on the server.
So, is there a way for me to use Subversion to push an updated iteration of my site to the server? Or to have the server pull it?
Would it be better to use the version control that comes with VS 2010?
What about the db? When I set up the db and its data in my solution, how would I port that over to the server? Would I have to manually write to the db?
The obvious option is to simply overwrite the existing .dll with the new build and upload new static content, but that seems a bit archaic to me.
Upvotes: 0
Views: 187
Reputation: 1581
@Kevin:
Take a look at MSDeploy, which is part of VS2010. I'm not familiar with its handling database updates, but as far as handling the deployment of ASP.Net websites, and any websites for that matter, it's supposed to be on the money.
What's great with something like that is you can use it to roll out on a fresh website, test it in the production environment, and then make your URL references use the new site, instead of updating the live site and finding at the very end something breaks somewhere.
Upvotes: 1
Reputation:
You would do better to split this up into multiple questions.
I hope that helps a bit.
Upvotes: 3