Microsoft Press has been providing free ebooks on regular interval and this very handy book has come out as a gift to the developers who are moving to Visual Studio 2010.
Here are the links for the book and related code download
You can download a PDF of the book here.
You can download an XPS of the book here.
And you can download the book’s sample code here.