Read all of ASP.NET MVC 2 in Action now while you wait for the printed book

image First, you should place your advance order for ASP.NET MVC 2 in Action at http://manning.com/palermo2.  That way, you will receive the printed book even before you see it at your local bookstore. 

The entire book is finished, and we are just moving through production right now.  But that doesn’t mean you have to wait to read it and learn about ASP.NET MVC 2.  Since the beginning of the book project, you have been able to see the progression of the book on GitHub, our project site and version control system.  That’s right, version control is for more than just code!

Head over to http://github.com/jeffreypalermo/mvc2inaction and go to the “manuscript” folder to read the entire book in Word document form.  All the content is there.  In fact, the Word documents for the 1st edition is there as well.  You can see just how much we have expanded the 2nd edition to not only cover version 2 but also to incorporate lessons learned using the framework over the last 2 years.

Creative Commons LicenseYou will notice that the raw files in GitHub are released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.  That means you can use the content in blog posts, whitepapers, and you can use the code samples in any way you like.  The only restriction, really, is that you have to give us credit if you republish portions of it (and you can NOT republish the full work, of course), and you can’t resell our work.  Other than that, use it the best way you can.  We hope it is a great learning tool for you, and we hope that releasing the raw files early help you get a jump-start learning about ASP.NET MVC 2.

Credits:

Authors:  Jeffrey Palermo, Ben Scheirman, Jimmy Bogard, Eric Hexter, Matt Hinze 

Technical Editor:  Jeremy Skinner 

Foreword:  Phil Haack

P.S.  I wish I could say that we are pioneers in this, but I have personally benefited from two others I know about who have worked on their books “out in the open”:


Trackbacks

ASP.NET MVC Archived Buzz, Page 1 Posted on 4.27.2010 at 5:21 PM

Pingback from ASP.NET MVC Archived Buzz, Page 1

ASP.NET MVC Archived Blog Posts, Page 1 Posted on 5.03.2010 at 11:45 PM

Pingback from ASP.NET MVC Archived Blog Posts, Page 1

Comments

T said on 4.27.2010 at 12:20 PM

Getting the following error when trying to clone the git repo.

error: Unable to get pack file github.com/.../pack-6d2fb2f76b transfer closed with 51884896 bytes remaining to read

error: Unable to find fd9c91e273399cd352b794c14682960db7afc4e5 under github.com/.../mvc2inaction.gi Cannot obtain needed object fd9c91e273399cd352b794c14682960db7afc4e5

fatal: Fetch failed.

warning: Option "keep" is ignored for github.com/.../mvc2inaction.gi

LukeB said on 4.27.2010 at 12:32 PM

Frankly I'm amazed that Word documents suffice for publishing a book.

BenB said on 4.27.2010 at 1:25 PM

Curious, when can we expect a MEAP update?

Steve Horn said on 4.27.2010 at 2:28 PM

Thanks for making this available!!

Matt Hensley said on 4.27.2010 at 3:18 PM

The first book was an AWESOME intro to MVC and if this is even half as good I'd still be a happy camper.

Mikael Henriksson said on 4.28.2010 at 12:46 AM

Can't thank you enough for sharing. I really enjoyed the first MVC In Action and I'm going to buy the next one! Happy to have some reading until then.

John Bubriski said on 4.28.2010 at 8:33 AM

Ordered! Now I have to sell my first edition copy...

JW said on 4.28.2010 at 9:43 AM

Above you say: "and you can republish the full work, of course" but I think you mean "and you can NOT republish the full work, of course"

Many thanks for the resource.

Eric said on 4.28.2010 at 10:25 AM

Great news! I'll wait for the MEAP update though. I've been a print and ebook customer for both versions of the book. I wonder how Manning is OK with this? Is it a special deal you have with them? I guess the books (unfortunately) end up in the "free PDF" websites anyway down the line... :(

Jeffrey Palermo said on 4.28.2010 at 1:32 PM

I am glad you all find it useful. I discussed this with Michael Stephens, the acquisition editor before the book began. The final ebook will not be Creative Commons as that is the value add of Manning and the publishing process. The raw Word documents are here for those wanting early access. In my opinion, it's not worth $45 of someone's time NOT to purchase the final, polished book, so I don't think it's in competition with profit interests. Rather, I think it's a complimentary approach that gets the book more adoption more quickly because the cost of "trying it out" is zero.

I have corrected this post. I meant to say that Creative Commons does NOT allow republishing the work in full.

Donnie Hale said on 4.28.2010 at 3:59 PM

The MVC2iA_AboutThisBook.doc link in the "manuscript" folder is yielding a (friendly) page not found error. Also, where is the production ready Table of Contents? That's what I'm looking for to help me determine if this book is for me. The one that's in the "manuscript" folder looks like a draft - spelling errors, comments, etc. Thanks!

Jeffrey Palermo said on 4.28.2010 at 4:52 PM

Donnie,

GitHub had a hiccup. It's back up. I will get the final TOC updated. You are right. The one there is a draft.`

Will said on 4.28.2010 at 8:55 PM

Not all projects in the src folder can be built successfully.

Jeffrey Palermo said on 4.28.2010 at 9:07 PM

Will,

You do have to have ASP.NET MVC 2 installed to build them. Please let me know if there is a particular one you are having problems with. I have recently tested them all, but if there is a dependency that's not apparent, I would appreciate the help in narrowing down the problem. Thanks!

Mike said on 4.29.2010 at 8:54 AM

Great! I noticed that the page for the first edition of the book on the Manning site doesn't reference that there is a 'second edition' available as it does with other books. Thanks!

Elias Rangel said on 4.29.2010 at 2:09 PM

Thank you Jeffrey.

Do you know if there's a discount for owners of the first book?

Will said on 4.29.2010 at 2:42 PM

Hi Jeffrey,

I was using CompileAll.ps1 to build everything, but you removed this file today.

In order to compile all the projects. I do modified this CompileAll.ps1 with this line:

foreach($file in get-childitem -filter *.sln -recurse){\Windows\Microsoft.NET\Framework64\v3.5\msbuild.exe /t:build $file.FullName }

become this line:

foreach($file in get-childitem -filter *.sln -recurse){\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe /t:build $file.FullName }

I'm using Win7 x64 with VS2010 RTM installed which mean I have ASP.NET MVC 2 installed.

Most of the solution file can be built. but here is the main problem I found:

mvc2inaction\src\Chapter18\Automapper.sln

The "WithAutomapper\WithAutomapper.csproj" project file not found. I couldn't found any WithAutomapper in Chapter18 folder.

I do see the Git logs. I couldn't found any revision you removed the "WithAutomapper" folder under src\Chapter18. I'm not sure what's going on.

Thank you.

imperialx said on 4.29.2010 at 9:44 PM

Thank you for the downloads but every time I open an uploaded file I either get an invalid file or permission error. I think this is github's issue?

Will said on 5.02.2010 at 12:22 PM

Hi Jeffrey,

Does the mvc2inaction Git repository contains "src/Chapter18/WithAutomapper" folder?

Jeffrey Palermo said on 5.03.2010 at 10:52 AM

@Will,

Yes, this is a problem with the code. I am working to correct it.

Jeffrey Palermo said on 5.08.2010 at 10:15 PM

@Will,

The code is now corrected. The WithAutomapper project is back. It had accidently gotten deleted. If you have time, please verify. It ought to work well for you now.

Erik Jan Meijer said on 5.20.2010 at 6:43 AM

Is it correct to say that it's not necessary to have read the first edition to read the second edition?

Jeffrey Palermo said on 5.20.2010 at 10:07 AM

@Erik,

That's correct. It is a 2nd edition, not a sequel.

Eurosportbet said on 1.04.2011 at 12:03 PM

Thank you Jeffrey !!!