I've written some code which needs to be exacuted when creating a new site.
The site should look like something between a blank site and a team site. (Very basic) And also uses a custom master page.
I thought of creating a Site Definition starting from the team site and stripping it down,
and adding the code behind through a feature with feature receiver. (Would do it like this for 2007)
Is this a good approach for 2010 or should I create a Web template?
Does anyone has some guidelines/tutorials for creating team site Web Templates in VS2010?