Free ASP.NET MVC eBook Tutorial

bookcover[1] There has been a lot of excitement in the community about the new ASP.NET MVC framework that is about to ship (literally any day now – announcement coming soon).  As with anything new, people are also asking for more tutorials/samples/documentation that cover how to get started and build applications with it.

Over the last few months I’ve been helping to contribute to an ASP.NET MVC book that Scott Hanselman, Rob Conery, and Phil Haack have been writing for Wrox.  The book is now in production, and will be available to buy in stores soon (you can pre-order it on Amazon today).

I wrote the first chapter of the book – which is a 185 page end-to-end tutorial that walks-through building a small, but complete, ASP.NET MVC application from scratch.  The agreement I made with Wrox was that I’d write it for free in return for them also making it available as a free PDF download.

I’m excited to announce that you can now download this free end-to-end tutorial chapter (it is a 14mb PDF file). It’s licensed under a “Creative Commons Attribution No Derivatives” license – which means you can share, distribute, print, or hand it out to anyone.

NerdDinner ASP.NET MVC Tutorial

The tutorial starts by using the File->New Project command in Visual Studio to create a brand new ASP.NET MVC project, and then incrementally adds functionality and features.  Along the way it covers how to:

  • Create a database
  • Build a model with validation and business rules
  • Implement data listing/details UI on a site using Controllers and Views
  • Enable CRUD (Create, Update, Delete) data form entry
  • Use the ViewModel pattern to pass information from a Controller to a View
  • Re-use UI across a site using partials and master pages
  • Implement efficient data paging
  • Secure an application using authentication and authorization
  • Use AJAX to deliver dynamic updates
  • Use AJAX to add interactive map support
  • Perform automated unit testing (including dependency injection and mocking)

The application the tutorial builds is called “NerdDinner”. It provides an easy way for people to organize, host and search for new topic-based dinners online:

nerddinner_small[1]

Scott Hanselman has been hosting NerdDinners for years, and came up with the idea of building the tutorial around an application that facilitates this.  He is also now hosting a live custom-skinned version of the application at www.nerddinner.com)

Download Links

Hope this helps,

Scott

P.S. The book is entering production now and so is officially in un-edited status (meaning professional editors haven’t gone through it yet).  We’ll update the PDF with any important edits once the text is final.

P.P.S. And yes – this is one of the reasons my blog has been more quiet than normal the last few months.  Expect more regular blog posting again soon once I recover from this. :-)

Published Tuesday, March 10, 2009 2:54 PM by ScottGu

Comments

# Free ASP.NET MVC eBook - NerdDinner.com Walkthrough

Tuesday, March 10, 2009 5:57 PM by Scott Hanselman's Computer Zen

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 6:05 PM by André Medeiros

Great! Your blog has always been a source of valuable information re. ASP.NET MVC.

*clicks download*

Thanks for all the helpful insight. Have a great (but hopefully quick) recovery.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 6:09 PM by Chris Hardy

Fantastic stuff Scott!

See you at Mix 09, I owe you dinner. :)

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 6:12 PM by Efosa O.

Happy to have you back Scott, it has been a while! :)

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 6:29 PM by Robsta

Excellent, Muchas gracias.

looking forward to reading 'Implement efficient data paging'.

# Learn About ASP.NET MVC Via NerdDinner

Tuesday, March 10, 2009 6:40 PM by you've been HAACKED

Learn About ASP.NET MVC Via NerdDinner

# Posts about Ebooks as of March 10, 2009 | Sixways - Ebooks

Pingback from  Posts about Ebooks as of March 10, 2009 | Sixways - Ebooks

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 6:44 PM by Carlos Figueroa

Thank you Scott! I'll be doing the tutorial this weekend and let you know. By the way I downloaded the book right after I read the new from a ScottHa's tweet but I was the 40th person requesting the download. I think tweeter is delaying my messages.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 6:49 PM by yaip

Great! As if blogging and running a big team wasn't enough. Now you write a book!

:)

# eBook sur ASP.NET MVC gratuit!

Tuesday, March 10, 2009 7:00 PM by Bidou's Blog

Scott Guthrie vient de publier un article intéressant sur son blog : Il a rédigé le premier chapitre

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:02 PM by Bill

A simple "Thank You very much" is overdue from me.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:13 PM by Red Feet

Thanks Scott!

It's been a while, so I guess Microsoft will be releasing a lot of good stuff soon!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:14 PM by pure.krome

Awesome work Gents! Please please please understand that all your (and Rob, Scott and Phil's) work with this is _greatly_ appreciated! The best thing that's happened to developers since .NET was released!

I'm wearing a helmet because this is gonna blow my mind.....

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:30 PM by Bob Thomson

Awesome work, this is a really useful starter for team members who haven't worked with ASP.NET MVC yet, sending it round the troops now.

Loving working with MVC / jQuery combo (when I'm not Silverlighting!) we've recently released a large used car search site which is all built using MVC and jQuery and I think the end result is working well:

http://www.roadrecord.co.uk/

The site feels quicker and lighter to use than an equivalent WebForms implementation, the code is more testable (and tested), we have complete control of the HTML and for me I prefer the development experience. Go MVC!

Looking forward to MIX09 next week, coming over from Scotland for it, just submitted my ShowOff entry today:

blog.stormideas.com/.../mix09-show-off-entry-deepzoom-visual-site-search.aspx

Can't wait to hear the latest on Silverlight 3...

Thanks,

Bob

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:36 PM by Denny Ferrassoli

Excellent! Much appreciated, I have also pre-ordered the book. Can't wait.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:41 PM by schuttsm

wow!  Thanks for all you do

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 7:47 PM by Andrew

Let me echo the comment of @pure.krome - you guys are doing a sterling job!

Keep up the fantastic work gents!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 8:02 PM by Sergey P.

Thanks! Nice tutorial!!

# Free ASP.NET MVC eBook Tutorial - ScottGu

Tuesday, March 10, 2009 8:06 PM by DotNetKicks.com

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 8:11 PM by David

Hey Scott,

I can't believe how detailed this tutorial is. Awesome. And: If this is the First Chapter, how long is the whole book going to be?

David

# Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 8:16 PM by What's New

There has been a lot of excitement in the community about the new ASP.NET MVC framework that is about

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 8:18 PM by John

This is awesome! Thanks Scott.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 8:42 PM by Stephen

Great to have you back in the mix....  can't wait for MVC to hit "gold"

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 9:00 PM by Adam A

The timing of this could not be better!

Thank you so much Scott and the rest of the ASP.NET MVC team!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 9:02 PM by bhen

Gracias Scott, it's really great.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 9:06 PM by Steve Gentile

And your next book will be how to code this same exact functionality in Silverlight right  :)

Silverlight for Nerds...Dinner

Nice work Scott

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 9:10 PM by pierslawson

As many tutorials as possible are appreciated... some time back yousaid you were working on some more walkthroughs... will they be coming with 1.0?

Piers

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 9:15 PM by pure.krome

Hi again GuruGu,

i don't want to sound rude, but i think i found to typos on (book) page 181.

Current:

// Arrange

var controller = CreateControllerAs("SomeUser");

Should be:

// Arrange

var controller = = CreateDinnersControllerAs("SomeUser");

this is repeated twice (for both unit tests) on this page. Page 183 has it listed correctly in those unit tests.

(i've not checked the codeplex source code, btw).

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 9:23 PM by Ben Amada

Hi Scott.  It's very generous and noble of you to not accept payment from Wrox in return for making the PDF free.  I guess this means Scott, Rob and Phil took the money and ran?? :)

Thank you for the PDF!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 10:26 PM by Joe Chung

Great to hear that the Gu will be blogging more regularly again!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 10:52 PM by Minhajuddin

That is totally AWESOME! Man I love Microsoft, Scott, Thanks for making all this happen.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 11:10 PM by Danny

Scott,

In a word - Thanks

# ASP.NET MVC Archived Blog Posts, Page 1

Tuesday, March 10, 2009 11:11 PM by ASP.NET MVC Archived Blog Posts, Page 1

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

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 10, 2009 11:24 PM by HeartattacK

Great stuff. Any reason you chose the "retired" Linq to SQL as oppsed to EF? Not that it's important given the context...

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 12:19 AM by Tristan

excellent work!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 12:39 AM by C.T.

How can i get the lastest code of the website NerdDinner.com ?

Thanks,

cttoy@hotmail.com

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 12:42 AM by shiju

Hi Scott,

Your commitment to the .Net community is AWESOME.  

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 12:46 AM by Elijah Manor

That is great! I look forward to reading it and browsing through the code!

I love how you all and Steven Walthers are making some of your books available to the public before they are released... for free too!

http://zi.ma/webdev

http://twitter.com/elijahmanor

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 12:59 AM by albertpascual

Congratulations on the book, a must buy!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 1:08 AM by Jack

Wow, another MVC material. Hope the RTM will release soon.

# NerdDinner.com and Two Views of ASP.NET MVC Views

Wednesday, March 11, 2009 1:36 AM by K. Scott Allen

Phil and Scott (and the other Scott) announced the open source Nerddinner.com project and their...

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 2:36 AM by Oh Sung Min

Thank You!!

# Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 3:01 AM by progg.ru

Thank you for submitting this cool story - Trackback from progg.ru

# Kostenloses ASP.NET MVC Tutorial Kapitel & Sample Application "NerdDinner" | Code-Inside Blog

Pingback from  Kostenloses ASP.NET MVC Tutorial Kapitel & Sample Application "NerdDinner" | Code-Inside Blog

# Een MVC voorbeeld tutorial door Scott Guthrie at Superdopey’s Techblog

Pingback from  Een MVC voorbeeld tutorial door Scott Guthrie at  Superdopey’s Techblog

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:03 AM by RichB

NerdDinner - impressive HTML (especially out of MS!). Semantic, SEO, clean. Fantastic.

My minor comments are:

1) IE7 compat mode. Yuck.

2) Massive JavaScript global namespace pollution

3) Could do with a @media print section in production.css to put back the H1 logo for printing (have a look at print preview).

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:22 AM by Tommy Holm Jakobsen

Thank you very much Scott. Very nice work and it is much appreciated!

Looking forward to read the book.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:29 AM by Marko

scott, you're the man!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:33 AM by gerald_jk

Thank you very much for that book.

It's fantastic that you give it away for free.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:47 AM by Имя

Да, неплохой туториал.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:07 AM by Anael

Haven't had time to look at it in details but i already appreciate the "philosophy" of sharing it with the community!!!

Thanks a lot!

# Technology news for 2009-03-10 | Technology News

Wednesday, March 11, 2009 5:18 AM by Technology news for 2009-03-10 | Technology News

Pingback from  Technology news for 2009-03-10 | Technology News

# popurls.com // popular today

Wednesday, March 11, 2009 5:20 AM by popurls.com // popular today

Pingback from  popurls.com // popular today

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:24 AM by ponnu

Thanks Scott, nice of you to make your chapter available free and before even the book is published.

I am sure you will be releasing MVC next week in MIX 2009.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:27 AM by Scott Hanselman

RichB - Email me scottha at microsoft.com. I'd like to get your suggestions on how to make the HTML better on the site. I haven't looked at Print Preview at all. The production part, particularly, was done in just a day to make the site look nice. I'd love to make both it AND the default theme best practices. Same with the JS.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:30 AM by Chosen Breed

Hi Scott! Thanks for the eBook Tutorial. I've not read it yet but I just want to say a big thank for what you are doing for the community. Keep it up!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:46 AM by JamesT

Great Work, how do you have time to do your "Exec" duties? while writing quality tech material , my only wrinkle is why you chose LINQ to SQL as your Data Access pattern, I expect all ASP\SL\WPF  communication from now on is to use LINQ to Entities for Data Access. ADO.NET  informed us last October that Entity framework is the tool of choice. This leaves me a bit confused as to why the "Chief Evangelist" is still using technology MS states we should move away from.

# codegeeks » Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:51 AM by codegeeks » Free ASP.NET MVC eBook Tutorial

Pingback from  codegeeks »  Free ASP.NET MVC eBook Tutorial

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 6:28 AM by anas

Thanks for your effort and time.

# Adventures with ASP.NET MVC

Wednesday, March 11, 2009 6:34 AM by Mike Ormond's Blog

There I was considering whether a series of introductory blog posts on ASP.NET MVC was called for (yes,

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 6:46 AM by Amgad Suliman

This is a very generous way to make deal with a book publisher. Thank you.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 7:21 AM by WildStrawberry

Finally! Great work!

# Free ASP.NET MVC eBook Tutorial | NinethSense

Wednesday, March 11, 2009 7:42 AM by Free ASP.NET MVC eBook Tutorial | NinethSense

Pingback from  Free ASP.NET MVC eBook Tutorial | NinethSense

# Free chapter from upcoming book about ASP.NET MVC « Patrick’s Weblog

Pingback from  Free chapter from upcoming book about ASP.NET MVC « Patrick’s Weblog

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 8:12 AM by Andres Urena

Thank you very much...!!!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 8:41 AM by MOhanRao

Its a WOnderfull Book. Thanks Giving freely

Regards

MohanRao.D

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:08 AM by Arnaud

David, reste bien bien tranquille

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:13 AM by Jordan Marr

Alriiiiiiight!  You are now officially "The Man!"

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:13 AM by David Garcia

Thank you Scott! You are truly the King of Nerds :)  (and I mean that in the best way possible!)

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:17 AM by Andy

I'd suggest that the NotFound view should return an HTTP 404 status code, along with response body of the friendly error page. Whilst a more advanced issue, could demonstrate proper HTTP handling in this initial chapter.

Complements to the team for a set of well synchronised resources, tutorials and samples as the RTW release approaches.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:24 AM by Rick Liddle

Thank you, Scott. As always, I'm impressed with your drive and efforts to get knowledge into our hands.

# Dew Drop - March 11, 2009 | Alvin Ashcraft's Morning Dew

Wednesday, March 11, 2009 9:27 AM by Dew Drop - March 11, 2009 | Alvin Ashcraft's Morning Dew

Pingback from  Dew Drop - March 11, 2009 | Alvin Ashcraft's Morning Dew

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:29 AM by Muhammad Adnan

Why on book title page, everyone is showing teeth :D seems doing ad of some tooth paste or tooth brush or may be :D

Anyhow jokes apart... Thanks for such a great stuff man... God bless you

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:30 AM by Falak Shah

Thank you  very much for free book

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:32 AM by Doug

Great - thank you very much

# decoder의 생각

Wednesday, March 11, 2009 9:47 AM by decoder's me2DAY

Free ASP.NET MVC eBook Tutorial . Scott Guthrie가 공개한 185 페이지에 달하는 ASP.NET MVC 튜토리얼.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:54 AM by John Dunagan

This is awesome, Scott. Can't wait for MVC to go release.

My Group site needs serious design help - this came out just in time.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 10:00 AM by codetoglory

I never understand the need for putting pictures of authors on the books, specially when it gets crowded.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 10:01 AM by bfedotoff@hotmail.com

Hi Scott,

Many thanks for the tutorial. But I get an error when I try to open it (corrupted file, can't be repared). I tried to download it several times, but always the same error. FYI, I opened it on a french OS (don't know if that could help), with a french pdf reader.

Thanks,

Bernard (available on RD alias, too :-))

# Ebook: Professional ASP.NET MVC 1.0 | sgoliver.net blog

Wednesday, March 11, 2009 10:24 AM by Ebook: Professional ASP.NET MVC 1.0 | sgoliver.net blog

Pingback from  Ebook: Professional ASP.NET MVC 1.0 | sgoliver.net blog

# Free e-book chapter on ASP.NET MVC Framework | In usability we trust

Pingback from  Free e-book chapter on ASP.NET MVC Framework | In usability we trust

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 10:53 AM by Peter.O

Thanks, Scott. Thanks very much.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 10:54 AM by michael

Scott,

if you were starting a new project tomorrow, would you go with WebForms or MVC? If you had an existing WebForms application, would you start to migrate it to MVC?

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 10:58 AM by vinod

Thanks Scott for your excellent work.

# Libro Gratis: ASP.NET MVC 1.0

Wednesday, March 11, 2009 11:01 AM by Oberdata

Libro Gratis: ASP.NET MVC 1.0

# Quieres aprender ASP.NET MVC?

Wednesday, March 11, 2009 11:11 AM by DotNetMania@GT

Si la respuesta es afirmativa, te tengo muy buenas noticias !!! Que mejor que tener una lección de uno

# Quieres aprender ASP.NET MVC? « Blog de Carlos Lone

Wednesday, March 11, 2009 11:21 AM by Quieres aprender ASP.NET MVC? « Blog de Carlos Lone

Pingback from  Quieres aprender ASP.NET MVC? « Blog de Carlos Lone

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 11:34 AM by Roland S

I don't normally get on board with new tech because it tends to blow around like the wind and be gone but this one makes sense. I have been working with MVC for the past three months and I'm liking it. Thanks to you and the other guys for filling in the gaps.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 11:47 AM by aswad32

hey scott thank's a lot for this free ebook, it will a really good resource for me for starting up my MVC adventures....

# Kostenloses ASP.NET MVC eBook Tutorial « ICommentable Blog

Wednesday, March 11, 2009 11:48 AM by Kostenloses ASP.NET MVC eBook Tutorial « ICommentable Blog

Pingback from  Kostenloses ASP.NET MVC eBook Tutorial « ICommentable Blog

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 11:53 AM by pcazella

Scott,

Thank you very much for this end-to-end example, it has given me a few things to think about in my own MVC spike projects.

I do have one question regarding the ModelState error messages.  In your example you have the following code snippent in the controller.

foreach (var issue in dinner.GetRuleViolations()) {

  ModelState.AddModelError(issue.PropertyName, issue.ErrorMessage);

}

I've a VB guy so maybe this question has to do with it being language specific, but I have to call the ModelState.SetModelValue() method as well for each .AddModelError when using MVC RC1.  It was not required in previous versions, but I've read a few articles about the differnce and why it's now required.

I expected to see your code look like this:

foreach (var issue in dinner.GetRuleViolations()) {

  ModelState.AddModelError(issue.PropertyName, issue.ErrorMessage);

  ModelState.SetModelValue(issue.PropertyName, ValueProvider(issue.PropertyName));

}

So my question is, how come you don't have the call the SetModelValue method...but I do?

Phil

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 12:45 PM by Dave Hayden

Phil,

I believe SetModelValue has to do with databinding and in your case re-displaying the form values back on the form along with the errors. You don't need to call SetModelValue to display the errors on the form as the call to AddModelError will do that for you.

In the eBook you will see that the dinner is passed as the Model to the View as:

return View(dinner)

and in the Edit View the textboxes are displayed with the Model values:

Html.TextBox("Title", Model.Title)

which is doing the databinding. Hence, no need for SetModelValue.

There is no need for SetModelValue if you stick with the standard actions, forms, and defaultmodelbinder as presented in the eBook.

Hope this helps,

Dave

# Another ASP.NET MVC Sample Application with eBook Tutorial - Nerddinner

Wednesday, March 11, 2009 1:10 PM by David Hayden - Florida .NET Developer - C# and SQL Server

Another sample application, but this one comes with an ebook that walks you through the steps!

# Ramblings on ASP.NET MVC - A new start!

Wednesday, March 11, 2009 1:29 PM by Roberto Hernández-Pou's - .NET Blog

The following is a link to a free book (PDF) about ASP.NET MVC. It is no secret that I am big fan...

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 1:39 PM by FarDeeN

I need this eBook Tutorial, it may help me as i'm junior web developer.

Thnx

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 1:39 PM by Conor McCarthy

I've run into 2 problems on page 90.

I get an error because the GET and POST Create methods both have the same signature.

And another error because there is no AddRuleViolations method in my ModelState.

Am I using an old version of MVC or something?

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 2:02 PM by pcazella

@Dave

Thank you very much for the reply.  The view I'm returning the data to is not strongly typed as it contains a mixed bag of information.  So, while I am using the HTML helpers for the validation summary and text boxes, the lack of a specific "type" of page to bind to makes sense as to why it didn't work for me.

I feel better now. :)

-Phil

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 2:37 PM by Ray

I have a question on the section "Understanding IQuerable<T>", where I see the cool thing about IQuerable<T> that it won't execute the query against the DB till we iterate or ToList() on it, so we have a chance to chain/filter in the Controller's Index() method on the IQueryable<Dinner> returned from DinnerRepository.FindUpcomingDinners() method.

My question is who is taking care of the DB connection in this case?  Normally in my DAL I'd have code like this,

using (NerdDinnerDataContext db = new NerdDinnerDataContext())

{

  // access DB and get back stuff, then after using statement the connection is release back to pool or closed etc.

}

But here apparently the whole point is to defer execution, so if I do put using here then later up the tier in Index() when I do filtering like Skip() I see an exception telling me the DB connection is closed already.  So, I'm just wondering in the code presented in this section, is the DB connection released automatically for me after Index() method in the Controller by the DataContext?  Since there is no using or close() written out explicitly, I'd like to know when and how the DB connection is managed for me?

Thanks a lot guys!!

Ray.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 2:39 PM by rickj1

Where can I find XUnit extensions for mvc so I can use VS2008 standard edition

# eBook gratuito sobre ASP.NET MVC!

Wednesday, March 11, 2009 3:04 PM by Yo sólo pasaba por aquí pero ya que estoy....

Post corto, pero &uacute;til para los que est&eacute;is interesados en esta tecnolog&iacute;a. Pod&eacute;is

# eBook gratuito sobre ASP.NET MVC!

Wednesday, March 11, 2009 3:04 PM by Yo sólo pasaba por aquí pero ya que estoy...

Post corto, pero &uacute;til para los que est&eacute;is interesados en esta tecnolog&iacute;a. Pod&eacute;is

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:40 PM by Peter

Thank you!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 4:55 PM by Rodrigo Lobo

Hi Scott,

The recommended data access model is Linq to Sql or Entity Framework?

I got a bug when i was using Entity Framework on ASP .NET MVC Project...

How can i contact its team?

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 5:50 PM by Andrew

What a valuable resource.  Thank you so much for putting the time in to release something as detailed and comprehensive as this.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 6:10 PM by steve ciske

Excellent!  Thanks so much!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 6:58 PM by John

Hi Scott, quick question. Why was the "yield return" feature of C# used for the GetRuleViolations() method? Is there a particular reason this was chosen?

Thanks, John

# New and Notable 304

ASP.NET MVC Scott Hanselman, among other authors of their upcoming ASP.NET MVC book, announce the inclusion of ScottGu as an author on the book, the first 185 pages of the book as a free PDF download licensed as Creative Commons Attribution No Derivatives

# Free ASP.NET MVC eBook Tutorial from MVC Team! &laquo; {Programming} &amp; Life

Pingback from  Free ASP.NET MVC eBook Tutorial from MVC Team! &laquo; {Programming} &amp; Life

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:14 PM by Chris Pietschmann

I am curious to find out why the book is being published by Wrox and not Microsoft Press; especially since I would imagine that Microsoft would want to promote ASP.NET MVC as much as possible.

Anyway, Thanks for giving this chapter out for Free. I look forward to the books release.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 9:37 PM by yousaid

This offers NOTHING, to a VB developer interested in learning MVC. It seems an assumption was made that only C# developers will buy this book which seems like a safe assumption, but then, as a chief evangelist for VB and C#, where is the VB version?

Is this book written for C# developers only?

Great tutorial for C#shapers, but not much for VB coders not interested in learning C#.

yousaid

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 10:41 PM by ColinW

Read through all 185 pages of the ebook tonight, excellent work!

I found a few (minor) issues while going through it:

• <title> tags are included in the top placeholder on page 92, they are redundant ( the placeholder is already in title tags )

• Countries is misspelled ‘counties’ on page 101

• ~Views should be ~/Views on page 111

• ‘LogonStatus’ partial view name should be ‘LogOnUserControl’ ( at least in RC2 ) on page 115

• We’ll BE using…., not We’ll by using…. on page 126

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 11, 2009 11:53 PM by Cody Skidmore

Scott,

Will the final book be sold as an eBook as well as a dead-tree edition?  I switched to all ebooks for their advantage and haven't turned back.

I'll buy a copy right now if I can get it in an eBook form.

Cody

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 12:11 AM by marafacs

Thanks alot Scott and specially for C# version of the tutorial :)

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 12:22 AM by vik20000in

wow greate news, First a chapter in book by you and then the news that you will be comming back to normal blogging very soon. Can wait to see more post from you ......

# Ingyen ASP.NET MVC e-book

Thursday, March 12, 2009 1:28 AM by Hírcsatorna

Hiába no, nem véletlenül szeretjük Scott Guthrie -t :) Részeletekért erre tessék: http://weblogs.asp

# Scott Guthrie&#8217;s ASP.NET MVC E-book Tutorial, NerdDinner | JoshJordan.com

Pingback from  Scott Guthrie&#8217;s ASP.NET MVC E-book Tutorial, NerdDinner | JoshJordan.com

# Free ASP.NET MVC eBook Tutorial - ScottGu&#39;s Blog | Drew | Sharing For All sites

Pingback from  Free ASP.NET MVC eBook Tutorial - ScottGu&#39;s Blog | Drew | Sharing For All sites

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 4:49 AM by Arjun

Thanks Scott!!!

As always hats off to you!!!:-)

# Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 6:12 AM by Web Development Community

You are voted (great) - Trackback from Web Development Community

# Microsoft Student Partners &raquo; Blog Archive &raquo; Free ASP .NET MVC eBook Tutorial

Pingback from  Microsoft Student Partners  &raquo; Blog Archive   &raquo; Free ASP .NET MVC eBook Tutorial

# Applying Dependency Injection in ASP.NET MVC NerdDinner.com Application

Thursday, March 12, 2009 7:18 AM by Shiju Varghese's Blog

ScottGu , Scott , Phil and Rob have announced a free ASP.NET MVC eBook and an open source ASP.NET MVC

# Applying Dependency Injection in ASP.NET MVC NerdDinner.com Application

Thursday, March 12, 2009 7:33 AM by Shiju Varghese's Blog

ScottGu , Scott , Phil and Rob have announced a free ASP.NET MVC eBook and an open source ASP.NET MVC

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 7:33 AM by Dave F

Holy crap, you're a legend!

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 7:56 AM by mcp111

I downloaded the source code and ran it but that only runs the tests. How do I see the website like the screenshots you have shown?

# ASP.NET MVC Tutorial

Thursday, March 12, 2009 7:59 AM by Pietro Brambati Blog

Dopo la RC2 di ASP.NET MVC ecco un fantastico tutorial di ben 185 pagine sull’argomento. Download tutorial

# ASP.NET MVC Tutorial

Thursday, March 12, 2009 8:07 AM by Il blog del team MSDN Italia

Dopo la RC2 di ASP.NET MVC ecco un fantastico tutorial di ben 185 pagine sull’argomento. Download tutorial

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 8:30 AM by Sam

Hello Scott,

I would like to ask a question regarding the DinnerRepository class. I like the fact that methods are separated from the rest of the Diner class' properties. However in the DinnerRepository class you create a new NerdDinnerDataContext object.

Would that not be a problem if there were objects to persist to the database, i.e I would you make sure that when you call the Save() method on DinnerRepository, it executes it the same transaction as the Save() method of another entity type.

Would it not be better to pass the DataContext object to the DinnerRepository class, and do so with all other entities, to make sure they all execute within the same transaction ?

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 8:31 AM by Marcel

Thanks for the book. I've downloaded ASP.Net MVC RC and I'll start playing with it :)

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 8:59 AM by Dileep

Great thanks for sharing

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 9:12 AM by raimond - DotNetShoutout User

Just found your article at DotNetShoutout (http://dotnetshoutout.com).

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 9:24 AM by cskidmore

Scott,

Will the final book sell as a PDF or only as a dead-tree edition?  If I can buy it as a eBook, I'll purchase it right now.

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 9:32 AM by mohamad ahmad

I may not be able to describe you as you deserve , but I can say that you are really a kind

and generous man ... I hope to see others dictate you in providing such Tutorial contributions for free.

Thanks very much.

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 9:46 AM by Guido van Santen

Thanks for offering this!

I'm currently using this for my graduation project at SyncForce.

Very interesting stuff!

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 9:52 AM by SergeyS

2004-2009: out-of-bound callbacks => Ajax => MVC  

www.theserverside.net/.../interview.tss

Great job, but, still ...

# Free ASP.NET MVC eBook Tutorial - ScottGu&#39;s Blog | Pandemoniun

Pingback from  Free ASP.NET MVC eBook Tutorial - ScottGu&#39;s Blog | Pandemoniun

# Free ASP.NET MVC eBook Tutorial Released: DotNet Code Snips

Pingback from  Free ASP.NET MVC eBook Tutorial Released: DotNet Code Snips

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 11:53 AM by Arvind Venugopal

Thanks for the great+free eBook Scott. I had the privilege of attending one of your Whidbey presentations at Milwaukee back in 2005, and you were awesome :) - Thanks again...

# Free ASP.NET MVC eBook Tutorial &laquo; my Debug

Thursday, March 12, 2009 1:11 PM by Free ASP.NET MVC eBook Tutorial « my Debug

Pingback from  Free ASP.NET MVC eBook Tutorial &laquo; my Debug

# ASP.NET MVC Free eBook Chapter

Thursday, March 12, 2009 1:57 PM by David McCollough

Scott Guthrie wrote the 1st chapter of this soon to be released book about ASP.NET MVC. You can read

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 5:25 PM by Ricardo Martins

Great!!!!

More articles and books, best future developers!

Congratulations!

[]'s

Ricardo Martins

Brazil

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 6:22 PM by Quoo

Awesome that you will be back in the land of the living! Looking forward to your posts and wish you much success with your book.

Adios

# ASP.NET MVC RC released &laquo; Teme on .NET

Thursday, March 12, 2009 7:39 PM by ASP.NET MVC RC released « Teme on .NET

Pingback from  ASP.NET MVC RC released  &laquo; Teme on .NET

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 12, 2009 8:29 PM by QFord

It's so kind of U!

A developer from CN

# E-book ASP.NET MVC &laquo; Andaime da Arquitetura

Thursday, March 12, 2009 8:34 PM by E-book ASP.NET MVC « Andaime da Arquitetura

Pingback from  E-book ASP.NET MVC &laquo; Andaime da Arquitetura

# Interesting Finds: 2009 03.10~03.13

Thursday, March 12, 2009 9:33 PM by Community Blogs

.NET NP .NET Profiler – a tool is designed to assist in troubleshooting issues such as slow performance

# Free Book chapter on MVC for ASP.Net

Thursday, March 12, 2009 10:35 PM by Phil Wheat

I feel like Stanley S. (I can’t spell) on UHF screaming “Free toy inside! Free toy inside!” but Rob Vettor

# Click &amp; Solve &raquo; Free Book chapter on MVC for ASP.Net

Thursday, March 12, 2009 11:18 PM by Click & Solve » Free Book chapter on MVC for ASP.Net

Pingback from  Click &amp; Solve &raquo;  Free Book chapter on MVC for ASP.Net

# Links

Friday, March 13, 2009 4:50 AM by Links

Pingback from  Links

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 5:09 AM by rohanf4ever

This is great.. excellent.

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 7:02 AM by JeroenH

Scott, I just skimmed through the free book chapter and it's very useful stuff!

I came across one small issue: I just happened to implement paging for an app I'm working on, and so I read the part about paging support. I think there's a small bug in the code on page 119:

  upcomingDinners.Skip((page ?? 0) * pageSize).Take(pageSize)

When the page argument is anything but null or 0, you will get (page + 1). I think the code should read something like

  var pagesToSkip = (page ?? 1) - 1;

  upcomingDinners.Skip(pagesToSkip * pageSize).Take(pageSize)

# When Scott Guthrie writes a book

Friday, March 13, 2009 9:47 AM by Morteza Sahragard

When Scott Guthrie writes a book It's amazing. you can download free part of the book (free end-to-end

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 10:30 AM by Peter.O

Hi Scott,

I just finished walking-through the book, end-to-end (except for the MAP API which I just skipped).

I think it's a unique 'chapter 1'. If you ask me, it's actually a Section 1. I am wondering if any of the other chapters discussed MVC localization ... or is there something you can point us to for how MVC handles localization?

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 11:38 AM by Chris Kinsman

So that is what you were working on at the Bellevue Starbucks so feverishly a couple of Saturdays ago...

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 12:12 PM by Mark Gordon

Hi There Scott!

I read your chapter and I was amazed by the backward progression of "modern" development tools and programming techniques. Was this debacle, known as MVC, created outside the sweep of history? I'm confused, why can't you glean wisdom from yesterday's technologies?  Yes, the old fashioned 6.0 musty things - can be our salvation - if only you would install them and realize how productive these "legacy" technologies are in comparison to VS/.BLOAT.

Instead of learning from experience, thereby building on the "legacy" knowledge base in order to guide future development tools, you/MSFT  - in a clear lapse of thought - insist on reinventing the wheel or better stated copy ruby (Microsoft is not exactly known for innovation). Do you realize Microsoft's MVC exercise in stupidity comes at great cost to developer productivity. Why not just have one technology WEBFORMS and get the implementation right, isn't that is a novel idea. This way we don't have two ways (well three in you throw silverlight into the mix) with varying degress of suck to build a website - let me know if I need to spell out the vast of array of benefit this seemingly obvious thought pattern provides as somehow I think you equate this BLOAT with progress!

I'm curious where do you find so many incompent/ignorant VS developers that praise  "new" technology/development tools that mandates hand-coding a user interface and utilize coding techniques the  predating FoxPro 2.0 - which on a productivity level equate closer to Mainframe COBOL then any 3rd gl development tools even. Most developers have grown so accustom to horrific software abortions by Microsoft, that lack of Visual Designers, debuggers and the need of nonsensical glue gain praise. Personally I find it appalling. I suppose if this trend continues in Visual Studio 2012 should we expect to write code in assembler? To show just how stupid VS devlopers are, post on your blog that NOTEPAD is the "NEXT" WPF VISUAL STUDIO IDE as a test and the Visual Studio community will buy your spin. Heck code magazine will even write an article how freaking great and lightweight NOTEPAD is.

Truthfully you seem a bit too sharp not to realize what I say is 100% accurate. If I was in your shoes I would be jumping up and down on a desk screaming in the halls just how bad this shit technology really is.

Have a great day Scott. Talk Soon!

.Mark

By the way let's be friends on facebook, accept my add request. I have a much bigger audience there then on Sivaramakichenane Somasegar blog to preach my love for Visual Studio.

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 1:22 PM by Volkan Uzun

Hi Scott,

thanx a lot for the book, great tutorial.

small thing: at page 89, the create should have formcollection parameter, eitherwise it is trying to override Create() get

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 1:39 PM by Peroth

Thank you very much!.....

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 1:44 PM by Peroth

Not able to download it because it is saying the file is damaged!.....

# ASP.NET MVC eBook Tutorial Available for Free

Friday, March 13, 2009 2:01 PM by US ISV Developer Evangelism Team

Scott Guthrie has announced on his blog that an end-to-end tutorial is available now as a free eBook.

# Kostenloses eBook Tutorial

Friday, March 13, 2009 3:02 PM by jenswinter.com

Kostenloses eBook Tutorial

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 13, 2009 6:28 PM by Tom Lianza

Thanks for this fantastic chapter!  Just seeing how the Repository pattern cleaned up the model layer was worth the whole chapter for me.

A few comments:

- Let me guess... some sort of validation framework in the works for a future edition of MVC? :)  That pattern (the one you coded as the "RuleViolation" class) is generic and something everyone could use.

- In a future edition of LINQ to SQL I would *love* better support for disconnected entities.  Having to query an object before updating/deleting it is a waste, IMO.  We're all used to having our DB handle concurrency issues... it seems like this extra hoop is necessary in order to solve a problem we don't really have (or, at least, we're ok with having).

# NerdDinner.com

Friday, March 13, 2009 9:00 PM by What's New

NerdDinner.com is an event management site so computer folks can meet and talk technology over a meal

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 1:52 AM by marco

Thanks :)

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 4:02 AM by Muhammad Zafar Alam

Thanks Scott!

you done excellent work.

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 6:21 AM by Evan

Great, great, great stuf!!!. Thanks.!!!

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 7:58 AM by Mario Abela

Great, Thanks for the free book

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 9:24 AM by DENYS ALVES

Tutorial practical and complete. Exclusiveness for MVC.

# Free ASP.NET MVC eBook Tutorial | twit88.com

Saturday, March 14, 2009 12:10 PM by Free ASP.NET MVC eBook Tutorial | twit88.com

Pingback from  Free ASP.NET MVC eBook Tutorial | twit88.com

# Gr??tis: primeiro cap??tulo do livro ASP.NET MVC 1.0 : Marcos Dell Antonio

Pingback from  Gr??tis: primeiro cap??tulo do livro ASP.NET MVC 1.0 : Marcos Dell Antonio

# Tutorial eBook sobre ASP.NET MVC Grátis

Saturday, March 14, 2009 5:39 PM by ScottGu's Blog em Português

Houve uma grande agitação na comunidade com relação ao novo framework ASP.NET MVC que está prestes a

# Libro electr??nico de ASP.NET MVC grautito &laquo; Thinking in .NET

Pingback from  Libro electr??nico de ASP.NET MVC grautito &laquo; Thinking in .NET

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 9:07 PM by Wu Zhou

thanks a lot! the chapter is very easy to follow, so far i'm half way through the sample project. since i use vb.net, i need to convert code from C#, but met with some problems, first is:

partial void OnValidate(ChangeAction action) {...} under Models>Dinner.cs. When i convert it to vb.net, firstly, it cannot recongnise ChangeAction type, where is it defined? secondly, an error reports: Partial methods must have empty method bodies. What to do with that?

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 14, 2009 10:19 PM by thanh

Another wonderful product. Thank you.

# Bruno Campagnolo de Paula weblog &raquo; Resumo do dia para 2009-03-14

Pingback from  Bruno Campagnolo de Paula weblog &raquo; Resumo do dia para 2009-03-14

# Free ASP.NET MVC eBook Tutorial

Sunday, March 15, 2009 12:40 AM by Blogs

ASP.NET MVC written by Scott Gu, Scott Hanselman, Rob Conery, and Phil Haack is now in production and should be available soon. The first chapter of the book written by Scott Gu is available as a free PDF download.

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 15, 2009 2:49 AM by Sanjay Singh

Excellent material. Thanks Scott for the great eBook - I am just amazed at how MVC can help to build great application and your book helped to get it in just few hours. It sets a trend on how to write books that can really help developers to understand the new technology quicker and get their hands dirty on the code. I am going to push MVC in my team and will look forward for the book release. Hope every chapter in the book covers detail step to master most of the aspect of MVC.

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 15, 2009 12:32 PM by baconeater789@gmail.com

1.) Will the RTM have API documentation available in VS?

2.) Does RC2 actually contain the Release Notes, or only the table of contents?

# NerdDinner.com :: Nilkanth .NET Solutions

Sunday, March 15, 2009 1:10 PM by NerdDinner.com :: Nilkanth .NET Solutions

Pingback from  NerdDinner.com :: Nilkanth .NET Solutions

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 15, 2009 4:46 PM by Ranjit

Great tutorial...

Like your coding Style...going to follow that from now on!!

Thanks Scott.

Like your coding Style...

One small typo:

if (String.IsNullOrEmpty(Country))

yield return new RuleViolation("Country required", "Address");

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 15, 2009 5:55 PM by Yash

Great tutorial Scott!!!!

I have one question for you,

any particular reason why the MapRoute is an extensionMethod and not a static method in RouteCollection class..

Just wondering what is the thought behind doing this ...

If anyone can explain that will be good.

Thanks,

YP

# NerdDinner.com | IT Questions

Sunday, March 15, 2009 6:00 PM by NerdDinner.com | IT Questions

Pingback from  NerdDinner.com | IT Questions

# Links of the week #75

Sunday, March 15, 2009 6:11 PM by Bite my bytes

Links of the week #75

# Links of the week #75

Sunday, March 15, 2009 7:03 PM by Zunanji viri

Development All the jQuery resources yo’ll ever need Spark view engine - Open source Spark view (as in

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 16, 2009 12:53 AM by Anish Devasia

Amzing Work!!!

Thanks very much...

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 16, 2009 2:55 AM by Peter.O

Scott,

(am almost sure I've submitted this question before).

I'd like to know if you can point us to anything definitive on MVC Localization (seeing that your chapters does not touch on it. Or will it be in the second part of the book? Thanks.

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 16, 2009 8:46 AM by Farid

Thank you for the kind gift, Scott!

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 16, 2009 10:11 AM by Sanjay Singh

A great book. Thanks to Scott for providing the best material to start with on ASP.NET MVC. Looking forward to the release of the book.

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 16, 2009 11:26 AM by Varin

Facinated. What types of applications that MVC is mostly suitable for?

# Sách về ASP.net MVC 1.0

MVC framework đã được manh nha từ khi .NET 3.5 mới ra lò. Đây là câu trả lời của Microsoft cho cộng đồng

# Warp Speed Weekly #3

Monday, March 16, 2009 3:22 PM by Janko At Warp Speed

Warp Speed Weekly #3

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 16, 2009 10:45 PM by Rick

Awesome chapter, you really cover a lot of ground and answered a lot of my wonderings about .NET MVC. Thanks for your generosity.

There may be a bug on page 150:

"You’ve probably heard of “focus” events that fire when a user clicks or tabs into a

textbox. The opposite is a “blur” event that fires when a user exits a textbox."

If the user clicks the "Save" button, while still in the address field, "blur" never gets called.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 17, 2009 4:15 AM by Marc Schlechter

Thanks for the book, I have a couple of questions though:

1. How should we deal with concurrency? Your NerdDinner sample has a 'last wins' scenario. Also, the whole GetDinner call before the SaveChanges completely defeats the purpose of having optimistic concurrency built into Linq2sql and EF.

2. What is the lifespan of a controller like the DinnerController? Is it per session, per application, per request? Maybe I missed it reading the book, but I would like to know more about the inner workings in order to use the MVC framework correctly.

Thanks!

# ASP.NET MVC &ndash; Download de Livro Gratuito (Tutorial) | Isto Mesmo

Pingback from  ASP.NET MVC &ndash; Download de Livro Gratuito (Tutorial) | Isto Mesmo

# ASP.NET MVC Beginner&#8217;s Guide | devermind.com

Tuesday, March 17, 2009 8:19 AM by ASP.NET MVC Beginner’s Guide | devermind.com

Pingback from  ASP.NET MVC Beginner&#8217;s Guide  | devermind.com

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 17, 2009 8:37 AM by skhan

THANKS !

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 17, 2009 2:00 PM by vikrant

Hi Scott,

Wooooooooooow! got the free PDF version and it's really easy to follow. This Ebook is also an eye-opener  to LINQ programming. I really like the STEP-BY-STEP approach in this EBook

Thanks to Rob Conery, Scott Hanselman, Phil Haack,Scott Guthrie.

Hoping for more free EBooks from you Guys.

Regards,

Vikrant.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 17, 2009 6:54 PM by ramjee

Thanks you Scott

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 1:22 AM by Hemanth

Thanks you for always keeping us upto date

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 2:22 AM by Aamer Sadiq

Good stuff

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 5:04 AM by vahid taslimi

thanks for the greate tutorial.

# Un webcast autour du pattern M V VM appliqué à WPF et Silverlight (et autres patterns à la sauce MVC/MVP)

Wednesday, March 18, 2009 5:54 AM by Elise's blog

J'en parlais l'an dernier , le pattern M V VM semble le moyen le plus propre, le plus réutilisable, et

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 10:21 AM by Eduardo Menoncello

Great, fantastic!

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 10:31 AM by Simon

Scott,

I've been working through your tutorial and wanted to thank you for taking the time to write it with such great effort and detail. The few questions I've had along the way were mostly answered in context as I went along in the tutorial. It's terrific to see someone, who's progressed so well at Microsoft still have such a developer-oriented mind.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 10:53 AM by Ian warwick

That is a very generous offering, cheers Scott, I might have to organise a nerd dinner :)

# Raf4 .NET - Novos conceitos em tecnologia &raquo; Blog Archive &raquo; Finalmente, ASP.NET MVC LAN??ADO

Pingback from  Raf4 .NET - Novos conceitos em tecnologia  &raquo; Blog Archive   &raquo; Finalmente, ASP.NET MVC LAN??ADO

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 11:03 AM by Jonathan

Scott,

Thanks for the tutorial and everything.

I have VS 2005, I guess I need VS 2008, for this. Will the free version of VS 2008 work?

Can I run the free version of VS 2008 on the same computer that has the full version of VS 2005?

Thanks,

Jonathan

# ASP.NET MVC 1.0 RTMed

Wednesday, March 18, 2009 11:07 AM by Keith Rull

I saw this on the ASP.NET MVC download page and it seems like it was released yesterday. I haven&#39;t

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 4:55 PM by Eric

Awesome! Finally I am getting into MVC

"clicks download"

# ASP.NET MVC 1.0 Released &laquo; Pure Blue

Wednesday, March 18, 2009 5:29 PM by ASP.NET MVC 1.0 Released « Pure Blue

Pingback from  ASP.NET MVC 1.0 Released &laquo; Pure Blue

# Big news day from Mix 09 &laquo; Onishimura&#8217;s Blog

Wednesday, March 18, 2009 6:17 PM by Big news day from Mix 09 « Onishimura’s Blog

Pingback from  Big news day from Mix 09 &laquo; Onishimura&#8217;s Blog

# Hot Panties: ASP.NET MVC Released! | Thushan Fernando Uncut

Pingback from  Hot Panties: ASP.NET MVC Released! | Thushan Fernando Uncut

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 18, 2009 9:13 PM by Brian Boatright

all of these pingbacks make the comments section useless. Can you please delete them or do something to prevent them?

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 19, 2009 1:29 AM by Anthony Zang

Great.

Thanks for your sharing of the e-book.

Learned much about ASP.NET from your blog.

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 19, 2009 6:28 AM by web tasarım

thanks scott..

# MOQ and the

Thursday, March 19, 2009 8:54 AM by Marcus Hammarberg

MOQ and the

# DevTechBlog &raquo; Microsoft MVC-Framework:

Thursday, March 19, 2009 12:17 PM by DevTechBlog » Microsoft MVC-Framework:

Pingback from  DevTechBlog &raquo; Microsoft MVC-Framework:

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 19, 2009 1:36 PM by Vish

Thanks Scott, this is very helpful.

I noticed one strange thing

routes.MapRoute(

"Default", // Route name

"{controller}/{action}/{id}", // URL w/ params

new { controller="Home", action="Index", id="" }

In my method I specified an argument other than id (eg: dinnerID) and I got an error:

The parameters dictionary contains a null entry for parameter 'dinnerID' of non-nullable type 'System.Int32' for method 'Void Details(Int32)' in 'NerdDinner.Controllers.DinnerController'. To make a parameter optional its type should be either a reference type or a Nullable type.

Parameter name: parameters

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 19, 2009 1:40 PM by Bestlinux

WOW!

EXCellent Book~

webhost4life.org

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 19, 2009 1:58 PM by MarkoPoikkimaki

Where's your post about asp.net mvc? You manage to post to pre-release asp.net mvc but not the actual release? I'm fed up with all this betashit... It's like when the product finnaly releases it's yeasterday's news.

# Build a web site using ASP.Net MVC - Part 1 &laquo; dotnet etc.

Pingback from  Build a web site using ASP.Net MVC - Part 1 &laquo; dotnet etc.

# re: Free ASP.NET MVC eBook Tutorial

Thursday, March 19, 2009 3:54 PM by Rupak Ganguly

Hi Scott Gu,

  Great work again. One thing I noticed is that you mention that two controller tests Home and Account are created by default after the project is created. But, I see only the HomeController tests was created. Am I missing somethin? Anyone else notice that?

Keep up the good work guys. By the way, Scott Gu, great video on C9 regarding SL 3. Loved it.

# ASP.NET MVC 1.0 Release to Web

Thursday, March 19, 2009 4:12 PM by Are you thinking what I'm thinking?

Yesterday, ASP.NET MVC 1.0 went live! You can download from here . There was announcement at MIX 09 in

# links for 2009-03-19

Thursday, March 19, 2009 5:01 PM by SKOROZSI.NET

links for 2009-03-19

# Dev Dot Net &raquo; Livro: Cap??tulo gratuito sobre ASP.NET MVC

Pingback from  Dev Dot Net &raquo; Livro: Cap??tulo gratuito sobre ASP.NET MVC

# ASP.NET MVC Versi 1 Final Telah Dirilis | Berita Teknologi Terbaru, Berita Komputer Terbaru,Berita Teknologi Informasi &amp; Berita IT

Pingback from  ASP.NET MVC Versi 1 Final Telah Dirilis | Berita Teknologi Terbaru, Berita Komputer Terbaru,Berita Teknologi Informasi &amp; Berita IT

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 20, 2009 12:48 AM by Helen

ASP.MVC is excellent

Http://www.webhost4life.org

# ASP.NET MVC 1.0 now Live! | Web programming blog

Friday, March 20, 2009 6:08 AM by ASP.NET MVC 1.0 now Live! | Web programming blog

Pingback from  ASP.NET MVC 1.0 now Live! | Web programming blog

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 20, 2009 8:10 AM by Ashish

Wow its very helpful. Awesome!!!

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 20, 2009 8:18 AM by Mike

We've really got to get away from the excessive use of the 'var' keyword...

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 20, 2009 1:15 PM by Andrew

Hi Scott,

Not sure the correct place to report errors in the NerdDinner document.  So I'll just mention the small oversight I have noticed here.

On Page 6 ...

CRUD (Create, Update, Delete) should read CRUD (Create, Read, Update, Delete).

Hope this is of use.

Andrew

# ASP.NET MVC : NerdDinner ASP.NET MVC Tutorial

Saturday, March 21, 2009 3:08 PM by Asirul Blogs

Over the last few months Scott Hanselman, Rob Conery, and Phil Haack have been writing an ASP.NET MVC

# ASP.NET MVC 1.0 Highlights

Sunday, March 22, 2009 12:24 PM by ObservableDeveloper - Leonid Sorokin's Blog

ASP.NET MVC 1.0 Highlights

# ASP.NET MVC 1.0 Highlights

Sunday, March 22, 2009 1:36 PM by ObservableDeveloper - Leonid Sorokin's Blog

ASP.NET MVC 1.0 Highlights

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 23, 2009 1:30 AM by fahad

is the link corrupt ? is not opening on firefox and IE ....can this link be reshared ...thanks .

# ASP.NET MVC Released

Monday, March 23, 2009 4:19 AM by General

Last week ASP.NET MVC was released. While the MVC pattern is nothing new in the programming world it

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 23, 2009 11:59 AM by Punit

Thanks Scott. Valuable knowledge for free is every 'basement' developers dream! :)

# Free ASP.NET MVC Material

Monday, March 23, 2009 4:42 PM by Chris Anderson

Free ASP.NET MVC Material

# MIX 09 &laquo; Oblakoder

Monday, March 23, 2009 7:03 PM by MIX 09 « Oblakoder

Pingback from  MIX 09 &laquo; Oblakoder

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 23, 2009 9:08 PM by Ming Zhu

Thank you Scott. I will order this book when it is out.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 24, 2009 7:38 AM by arunmanglick

Thanks Scott. Very excited to see the complete book as even the first chapter covers a lot of depth.

# Mobile Electronic Books &rsaquo; Fresh From Twitter

Tuesday, March 24, 2009 11:39 AM by Mobile Electronic Books › Fresh From Twitter

Pingback from  Mobile Electronic Books &rsaquo; Fresh From Twitter

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 24, 2009 4:32 PM by Joe

Woot, MVC and a free simple walk thru. Good choice going with WROX. Now that you and the other smart ones are done with MVC can you go help the Entity framework team... I need a better DAL and so far nhibernate is the best.

# Download novo Internet Explorer 8 (IE 8) vers&atilde;o final | Isto Mesmo

Pingback from  Download novo Internet Explorer 8 (IE 8) vers&atilde;o final | Isto Mesmo

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 25, 2009 12:24 PM by Alex Cao

Thanks Scott. The book is useful to study ASP.NET MVC.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 25, 2009 1:42 PM by gustavo

Im trying to downloading but it seems its not complete , it says when it seems to be downloaded the whole thing ::the file is damaged, i tried three browsers so far

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, March 25, 2009 6:05 PM by Mitoman

thanks scott,

Question, will c# 4.0 or later version of Asp.net get Viewdata form of temporary data like MVC does?  Viewdata seems to be a great way of getting rid of querystring and still be able to pass on data without session.

# MonoRail vs ASP.NET MVC Take #1 HTTP verbs &laquo; Chorn Sokun&#8217;s Weblog

Pingback from  MonoRail vs ASP.NET MVC Take #1 HTTP verbs &laquo; Chorn Sokun&#8217;s Weblog

# ASP.NET MVC 1.0 Released! &laquo; Dinesh Gouttam

Thursday, March 26, 2009 8:34 AM by ASP.NET MVC 1.0 Released! « Dinesh Gouttam

Pingback from  ASP.NET MVC 1.0 Released! &laquo; Dinesh Gouttam

# V&iacute;deos das Sess&otilde;es do MIX09 | Isto Mesmo

Thursday, March 26, 2009 11:37 AM by Vídeos das Sessões do MIX09 | Isto Mesmo

Pingback from  V&iacute;deos das Sess&otilde;es do MIX09 | Isto Mesmo

# Late Notice – MVC has been released.

Thursday, March 26, 2009 3:39 PM by Keith Barrows

New machine, new OS, new this and new that I forgot to post a blip on the hottest release from Microsoft

# re: Free ASP.NET MVC eBook Tutorial

Friday, March 27, 2009 1:12 PM by Nico Nel

Thanks for your contribution by writing this chapter for free, resulting in us getting hold of it for free (I'm definitely buying the book as soon it comes out)

However I noticed several errors in the book.  Do you have a place where readers can report such errors?

Being a MVC noob, I spend some time figuring out what the heck "I" did wrong, just to find that the working sample code is a have the errors corrected.

Thanks again mate!  I've been "away" from .net for 2 years (doing PHP) and so far most of my "catching up" was done using your blog.  Fantastic job, really.

# Daily Blog Post 03/27/2009 &laquo; Murratore&#8217;s Weblog

Friday, March 27, 2009 6:47 PM by Daily Blog Post 03/27/2009 « Murratore’s Weblog

Pingback from  Daily Blog Post 03/27/2009 &laquo; Murratore&#8217;s Weblog

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 28, 2009 5:01 AM by Jatinder Singh

Your blog is excellent with upto date information.

# re: Free ASP.NET MVC eBook Tutorial

Saturday, March 28, 2009 2:25 PM by Josh Gough

Scott,

This is a great, awesome to see this is out. Thanks for all the hard work you have all put into this and for responding to the professional community that sorely needs this kind of leadership from MS. It helps us "sell" better design principles and proper testability to clients / managers when the vendor has their own official story and recommendation.

I'm going to use the eBook to learn this myself, but also to pair-learn/tutor my younger brother who is 18 and learning about technology. I am thankful that this book has so much about clean design and factoring, including unit testing.

One glitch I have had so far is that creating my new project in Visual Studio 2008 Professional did not create the LocalTestRun.testrunconfig and NerdDinner.vsmdi files, which left my run / debug tests menu grayed out. I solved this by adding a new test project manually, then deleting the new test project after it added those two Solution Items files.

Steps:

1. I started with Visual Web Developer Express 2008.

2. Decided I didn't want to be slowed down trying to configure extensions and etc, so:

3. Installed Visual Studio 2008 Professional edition

4. Followed the steps in the book

5. Went to run the tests and the menu was grayed out.

6. Added a new test project, those two files got added

7. Ran the generated tests just fine

I did not find any googlings referring to this problem, so hopefully it's an isolated issue, but I wanted to note this somewhere for future reference if others have problems.

take care,

Josh

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 29, 2009 1:20 AM by Costas

It would be nice if someone from MS could write a book regarding the Oxite project

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 29, 2009 2:05 PM by lost

Thanks for your great book.

I follow you step by step but can't register new user .

sql2000 return the error code 29 .

Can't use sql 2000 ?

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 29, 2009 3:26 PM by Yizhe

Awesome!

# re: Free ASP.NET MVC eBook Tutorial

Sunday, March 29, 2009 10:53 PM by nirmshah_in

Thanks Scott....

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 4:52 AM by EntLib.com

Thanks Scott...

I'm translating this great chapter into Chinese. Please go to here if you are interested in Chinse version.

blog.entlib.com/entlibforum

一步一步学习ASP.NET MVC 1.0创建NerdDinner 范例程序

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 6:55 AM by Joe Gecko

Guys, Don't you think that ASP.NET MVC rescuing Microsoft's web platform?  

read what Tim Anderson says about it on ITJOBLOG:

www.itjoblog.co.uk/.../aspnet-mvc-rescues-microsofts.html

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 9:35 AM by Terek Awan - Florida Asp.Net developer

Will this book be published in color?

Thanks,

Terek

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 10:40 AM by Rajeev

Scott,

Great stuff!

You have taken the simple approach to developing the website and enhanced it step by step which makes it a nice read. 10 out 10 from me.

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 8:24 PM by Long Giang

Great, I am so looking forward to know more ASP.NET MVC

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 9:58 PM by bob

I'd like to know is the mvc 1.0 release or in the preview? And who are using the asp.net MVC ?Thanks!

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 10:04 PM by Monique

Thanks man.

# re: Free ASP.NET MVC eBook Tutorial

Monday, March 30, 2009 11:28 PM by entlib

Thanks Scott.

We're translating this free chapter into Chinese. Please go to there if you're interested.

blog.entlib.com/.../asp.net-mvc-1.0nerddinner-part-1.aspx

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 31, 2009 12:06 AM by Eric Swann

Thanks Scott, this tutorial has been a huge help to me!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 31, 2009 3:56 AM by stgaup

Thanks Scott. Nice walkthrough.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 31, 2009 10:11 AM by eralper

Thanks Scott,

That's very nice. A complete chapter that is guiding a full ASP.NET MVC application.

# Download Free ASP.NET MVC 1.0 e-Book Tutorial

Tuesday, March 31, 2009 10:24 AM by Eralper's Blog on Software Development

Hello everybody, If you are keeping an eye on ScottGu's Blog you probably knew that he has contributed...

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 31, 2009 2:32 PM by SChouinard

Hi Scott,

thanks for the tutorial. The pagination section helped me a lot in my little home application. One improvement you could do to it is extending the IQueryable<T> to include a method AsPaginated(int pageNo, int pageSize) that would return the paginated list.

bravo for your nice work doing this tutorial

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 31, 2009 7:15 PM by peony

thanks a lot

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, March 31, 2009 7:27 PM by peony

great info! thanks.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 01, 2009 12:42 AM by Sunil

Thanks for sharing, its really good :-)

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 01, 2009 1:46 AM by codemeit

Thanks for your great articles and the well-done contribution to the community.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 01, 2009 5:26 AM by elevator

Thanks Scott,That's very nice.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 01, 2009 3:10 PM by Cordara Maddalena

Fantastic! Thanks

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 01, 2009 6:40 PM by Elena Malnati

Thank you from Italy!

# Tauranga .NET UG April 09 | drift.net.nz

Wednesday, April 01, 2009 10:03 PM by Tauranga .NET UG April 09 | drift.net.nz

Pingback from  Tauranga .NET UG April 09 | drift.net.nz

# ASP.NET MVC är öppen källkod

Thursday, April 02, 2009 3:52 AM by Robert Folkesson

Idag annonserades att ASP.NET MVC-ramverket släpps under Microsoft Public License (MS-PL), det vill säga

# ASP.NET MVC 1.0 Source Code disponibili

Thursday, April 02, 2009 5:58 AM by Il blog del team MSDN Italia

Dopo il rilascio di ASP.NET MVC 1.0 avvenuto durante il Mix09 sono ora disponibili anche i codici sorgenti

# ASP .NET MVC 1.0 Source Code Released | AzureJournal - Cloud Computing Blog

Pingback from  ASP .NET MVC 1.0 Source Code Released | AzureJournal - Cloud Computing Blog

# re: Free ASP.NET MVC eBook Tutorial

Thursday, April 02, 2009 3:50 PM by BENITO NAVARRO MARTINEZ

Excelent tutorial! We need more of this.

# re: Free ASP.NET MVC eBook Tutorial

Friday, April 03, 2009 7:37 AM by suman.biswas

Great article, this helps us. And your African safari is also very nice. :)

# re: Free ASP.NET MVC eBook Tutorial

Friday, April 03, 2009 8:50 AM by Rai Wills

And if you get out on safari you may enjoy Wendo Genet, Ethiopia.

But I digress.. thanks for the gift- more than just a marketing idea.

# re: Free ASP.NET MVC eBook Tutorial

Friday, April 03, 2009 10:40 PM by Jeremy

Under "Dependency Injection" on Pg.181 I was surprised not to see Microsoft's own offering (Unity) listed.  

# re: Free ASP.NET MVC eBook Tutorial

Sunday, April 05, 2009 9:37 PM by Caleb Cohoon

This is very cool! Thanks for writing this.

# re: Free ASP.NET MVC eBook Tutorial

Monday, April 06, 2009 12:25 AM by Free ebooks

This is a very useful post. thank you !

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 08, 2009 10:42 AM by César Intriago

Cool!!, I just downloaded the tutorial, no Halo3 this weekend for me.

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 08, 2009 1:52 PM by K.Kanagasubramanian

You are always sharing your knowledge stuff, great. I am really excited by seeing your knowledge. I am also so interested to learn and share my knowledge. I am so far using MVC for the last 2 years without using this framework. But after using it I feel really it is so simple to use, and reduces the entire development time.

Thanks Scott,

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 08, 2009 5:34 PM by Asif Mushtaq

Fantastic! Thanks.

# re: Free ASP.NET MVC eBook Tutorial

Thursday, April 09, 2009 2:11 PM by Steve S

The first 130 pages of the tutorial were very good. The section on mapping, beginning on page 147 starts to get shaky. For me the tutorial does not produce a map; it compiles fine.

The download code does work as the tutorial shows. I've gone through line by line can't find any errors. I've swapped out the tutorial code with working download code and still no maps. I do notice that the download code is using 1.26 version of jQuery where my tutorial project is using 1.32, other than that I can see no difference in the two code bases. single stepping through the code is the same for both the download and the tutorial; download produces map, tutorial doesn't.

Hmmm!

# Books I Wish Would Just Come Out Already

Friday, April 10, 2009 4:13 PM by LeeDumond.com

In case you haven't noticed, the .NET world has been inundated with a flood of new technology over the last year or so -- first C# 3.0, followed quickly by the .NET 3.5 Framework, LINQ, ASP.NET Dynamic Data, the Entity Framework, ADO.NET Data Services

# re: Free ASP.NET MVC eBook Tutorial

Wednesday, April 15, 2009 3:28 PM by pankaj11

I am so impressed with the material. All I could say to myself "wow", what a material. I want to write the appliation so clean such as this one, but many times delivery challenges makes us go to old school coding.

Great Stuff!

# ASP.NET MVC : NerdDinner ASP.NET MVC Tutorial

Thursday, April 16, 2009 12:13 AM by Asirul Bari

Over the last few months Scott Hanselman, Rob Conery, and Phil Haack have been writing an ASP.NET MVC...

# DS-76&raquo; ASP.Net MVC Resources

Thursday, April 16, 2009 11:52 AM by DS-76» ASP.Net MVC Resources

Pingback from  DS-76&raquo; ASP.Net MVC Resources

# ASP.NET MVC: Using Custom ViewModels with POST action methods | devermind.com

Pingback from  ASP.NET MVC: Using Custom ViewModels with POST action methods | devermind.com

# Warp Speed Weekly #3 | e-szablony.eu

Saturday, April 18, 2009 10:18 AM by Warp Speed Weekly #3 | e-szablony.eu

Pingback from  Warp Speed Weekly #3 | e-szablony.eu

# Need some more help learning ASP.NET MVC? &laquo; jim blizzard&#8217;s blog

Pingback from  Need some more help learning ASP.NET MVC? &laquo;  jim blizzard&#8217;s blog

# Christopher Patterson &raquo; Using MySQL with Entity Framework and ASP.NET MVC &ndash; Part II

Pingback from  Christopher Patterson &raquo; Using MySQL with Entity Framework and ASP.NET MVC &ndash; Part II

# I see a rosy future ahead for Microsoft and Open Source | Coded Style

Pingback from  I see a rosy future ahead for Microsoft and Open Source | Coded Style

# Topics about Microsoft &raquo; I see a rosy future ahead for Microsoft and Open Source | Coded&#8230;

Pingback from  Topics about Microsoft  &raquo; I see a rosy future ahead for Microsoft and Open Source | Coded&#8230;

# Ebook Asp .Net MVC &laquo; Nexdotnet&#8217;s Blog

Tuesday, April 28, 2009 8:36 AM by Ebook Asp .Net MVC « Nexdotnet’s Blog

Pingback from  Ebook Asp .Net MVC &laquo; Nexdotnet&#8217;s Blog

# ASP.NET MVC FRAMEWORK 1.0 | Webconfig

Tuesday, April 28, 2009 11:51 AM by ASP.NET MVC FRAMEWORK 1.0 | Webconfig

Pingback from  ASP.NET MVC FRAMEWORK 1.0  | Webconfig

# re: Free ASP.NET MVC eBook Tutorial

Thursday, April 30, 2009 10:40 AM by amenyo

greta ework but how do i get the vb version?

# re: Free ASP.NET MVC eBook Tutorial

Friday, May 01, 2009 4:27 AM by Richie Ryan R Reyes

Thanks! I'm having a hard time learning from msdn library, due to some missing component(s). (model)

# re: Free ASP.NET MVC eBook Tutorial

Friday, May 01, 2009 5:22 PM by Kola Owolabi

Scott, you are one of my greatest heroes. Thanks a million. Great job *****

# re: Free ASP.NET MVC eBook Tutorial

Saturday, May 02, 2009 12:02 PM by johnson

i want this book

# re: Free ASP.NET MVC eBook Tutorial

Monday, May 04, 2009 2:15 AM by ace

Well thanks for being open about your product author and allowing us to read it in ebook form. I guarantee many people will buy the actual book after reading some of the ebook. As much as we all hate reading ebooks we also all hate buying a tech book and hating it and wasting 30+ dollars. No one prefers ebooks over hard copy when it comes to reference books although it is nice to have the ebook handy sometimes.

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, May 05, 2009 8:07 AM by Kayes

Thanks man!

# re: Free ASP.NET MVC eBook Tutorial

Tuesday, May 05, 2009 10:03 PM by Duke

i have been leaning alot from your blog for about a year now and it cool to see the cool features microsoft and .net team has been pulling off. I have one more quetion if someone could make a a book that was to use the book to make a similar application like the google friend connect i think that will be a good idea or at least a demo other than that i just started a project like googles' friend connect and i need help

# ASP.Net MVC un nou framework in .Net

Saturday, May 23, 2009 5:43 AM by Microsoft Student Partners

ASP.Net MVC Framework este un framework Model-View-Controller pe care Microsoft l-a adăugat la ASP.Net.

# Warp Speed Weekly #3

Thursday, May 28, 2009 10:47 AM by WebBlogNet

Warp Speed Weekly #3

# Jason Champion&#8217;s Blog &raquo; Blog Archive &raquo; Selecting a Web Framework

Pingback from  Jason Champion&#8217;s Blog  &raquo; Blog Archive   &raquo; Selecting a Web Framework

# MVC 1.1 for VS2010 Beta 1 Released

Friday, June 12, 2009 2:43 PM by Jason Zander's WebLog

The MVC framework for ASP.NET allows you to create applications that follow the model/view/controller

# Simple Repository Pattern

Monday, June 29, 2009 6:12 PM by Simple Repository Pattern

Pingback from  Simple Repository Pattern

# Tutorial ASP.Net MVC NerdDinner

Thursday, July 02, 2009 11:46 AM by Luis.Net VIP

Tutorial ASP.Net MVC NerdDinner

# Unit Testing with the Repository Pattern

Monday, July 06, 2009 5:34 PM by Unit Testing with the Repository Pattern

Pingback from  Unit Testing with the Repository Pattern

# ASP.NET MVC 1.0 Highlights | Cafe Blog

Thursday, July 09, 2009 3:43 AM by ASP.NET MVC 1.0 Highlights | Cafe Blog

Pingback from  ASP.NET MVC 1.0 Highlights | Cafe Blog

# Обеды для гиков

Wednesday, July 29, 2009 7:08 AM by Блог Александра Кондуфорова

Несколько всем известных гиков (nerds, geeks), Scott Guthrie, Scott Hanselman, Rob Conery и Phil Haack,...

# Libro gratis &#8211; Asp.NET MVC1.0 : Marin de la Fuente

Wednesday, July 29, 2009 7:15 AM by Libro gratis – Asp.NET MVC1.0 : Marin de la Fuente

Pingback from  Libro gratis &#8211; Asp.NET MVC1.0 : Marin de la Fuente