I've been told it's compatible, but I didn't try it myself. I suggest that you D/L the code first and see if you can compile it. If so, buy the book!
There's a known error you get when you open the solution if you don't have the Web Deployment Project support added to your copy of VS. This can safely be ignored, or you can D/L this from MSDN. In any case, you don't need it unless you want to use it for deployment.