This project is read-only.

Future plans

May 11, 2010 at 12:02 PM

Hi John,
Nice tutorial overall. I hope you do plan to expand this with more advanced features in the near future. There are quite a few reference apps/open source MVC projects out there that show how to get started and build something simliar to what you have done. I would love to see someone tackle those more complex issues that are pretty common in real world apps, such as:

  • Asynchronous opearations for sending emails, calling web services
  • Extending a default membership service to include custom fields for registration
  • More advanced forms and controls and how to handle input with those - I think showing how you render/post/validate listbox values for instance. Not just simple bind from the DB, but show how you prevent errors when users mock with the urls, how you handle multiple values selected for a given control, etc...

Really not trying to take away from the excellent work you have done, I have been just looking for some guidance on how to handle some of those things properly. I could be wrong, but I am pretty sure I am not the only one...

May 11, 2010 at 4:33 PM

Thanks, Malcolm -

Yes, I'm definitely planning on covering some more advanced features next, although it may be in a separate project as opposed to adding on to this one. Our feeling was that we had a few MVC tutorials which covered the intermediate to high-intermediate range (Nerd Dinner, MVC Storefront) but that we didn't have a good introductory tutorial that was approachable to beginners. But, you're right, we need to cover some of the more advanced "real world" scenarios, especially in light of some of the newer features like async controller actions. Please let me know if you think of any other scenarios you'd like covered.

Sep 6, 2010 at 8:07 PM

I'm looking for unit testing with MVC frameworks. Any chance the next version of the MVC storefront will have unit test samples?

Sep 20, 2010 at 11:52 AM

(bump) Any chance you'll be using MSTest for unit tesitng?

Sep 23, 2010 at 3:59 AM

Allen - We'll probably include unit tests in the download. James has prepared some (using MSTest) for Web Camps. The tutorial isn't being rewritten to be test-first, but we'll most likely have tests.

Oct 3, 2010 at 10:01 PM

I've looked at Web Camps and I can't seem to find any MSTest examples or labs around unit testing. Any chance you could help point me in the right direction and find them?

Jan 14, 2011 at 7:30 PM

I've looked through the latest version of the MVC 3 tutorial and I'm not finding any MSTest Unit Tests in the document and or source. Are they located somewhere else?

Jan 14, 2011 at 8:56 PM

Allen - There is a testing lab using the MVC Music Store in the Web Camps Training Kit: (look in the Intermediate level labs) which have an introduction to MSTest with ASP.NET MVC. Ideally I would like to extend and integrate this, but I haven't been able to get time for that so far. The top goal of this tutorial is to teach developers who are new to ASP.NET MVC how the different features work without completely overwhelming them, and so far testing has been outside that scope, at least for the main tutorial. Can you take a look at the Web Camps Testing tutorial and let me know what you think of it?

Jan 15, 2011 at 6:54 PM

Thanks jon. I downloaded the september release of the web camps training kit from here: and aparently that doesn't have the lab you speak of. I went to your link and found the lab. Is there a new downloadable version of the web camps coming that would include the lab? Its hard to keep track of the differences between the online web camps and the downloadable version. No matter I'll go through the lab and post my feedback. Thanks for the link!

Jan 24, 2011 at 6:45 AM

First of all let me just say thanks tremendously for V1.0, it helped me understand MVC2 very quickly and easily.

In V2.0, I can't understand why you are showcasing EFCodeFirst as THE data access method when it is still only in CTP phase? I noted that there are several references to MVC2 in the text that are clearly supposed to be MVC3. I assumethis means you probably had to rush a little to get this out with the MVC3 release, so are you planning any revisions that may hopefully explain a few alternatives to data access and some best practice recommendations. Or will there be a Patterns & Practices release that addresses this?

Jan 24, 2011 at 8:10 AM

TylerDurden (if that is your real name...) - We decided to use EF Code First since it allows us to focus on the web application rather than data access. This is an introductory tutorial, so simplicity is definitely a priority here. There are piles of tutorials demonstrating data access, including P&P guides and whitepapers, but demonstrating a variety of alternatives isn't the goal here. Are you asking because you're looking for information?

re: EF being in CTP - It's at CTP 5 and due out soon, and this is a tutorial on new software from Microsoft, so it was a bit of judgement call but it seemed to fit pretty well. 

re: references to MVC 2 - It's a long document (almost 20,000 words) so I definitely tried my best to make it error free, but I'm not shocked a few things slipped by. I'd be happy if you can point any specifics out to me.

Feb 22, 2011 at 7:09 PM

Any possibility that this is going to be refreshed for MVC 3.0?

Feb 22, 2011 at 7:52 PM

@AllenFeinberg - The MVC 3 update went out on the day MVC 3 shipped, back in January. It's the latest download.