I'm sure you can't get legal copy ebooks. Browse
www.apress.com/[
^]
Here more than couple of ways to learn anything in Internet
Education Needed[
^]
In most of the sites(Including Codeproject), there is option for download/print the page of articles, so go ahead