Do you want the Contoso Cookbook (and other Windows Dev Camp content)?


I promised that I would blog when the official Windows 8 Developer Camp content was available online, and now it is!  You can get the slide decks, samples, resources, and wonderful hands-on labs from the Windows Developer Camps at: http://www.microsoft.com/en-us/download/details.aspx?id=29854

(NOTE: there are two separate downloads available at this link.  Both downloads include the same slide decks and resources; the only difference is the hands-on-labs.  Download Win8CS.Setup.exe if you want to work through the hands-on labs in C# and XAML, and download Win8JS.Setup.exe to get the hands-on labs in HTML5 and JavaScript.) 

In particular, I recommend these excellent hands-on labs that teach the fundamentals of Windows 8 Metro development, available in both XAML/C# or HTML/JavaScript.  (There is also a finished version of the app in C++ available, but not the hands-on lab documents to walk you through it.)  The labs include:

  1. ListViews/GridViews and Data Binding
  2. Orientation, Snapping, and Semantic Zoom
  3. Searching and Sharing
  4. Appbars and Media Capture
  5. Lifetime Management
  6. Settings and Preferences
  7. Tiles and Notifications
  8. Windows Store

ContosoCookbook

Enjoy!

Comments (21)

  1. Vinod says:

    These labs are not working in the Win8 Release Preview & VS12 RC as these were released for the Consumer Preview. Will these be updated and released soon?

    Thanks

  2. jennmar says:

    @Vinod – yes, we are working on getting them updated and released.  We are hoping to have them available on June 15.  

  3. Ian Walker says:

    That is good news as I am just looking for this now (and it is June 15th! – at least it is in the UK!)

  4. FcosAlfa says:

    I'm trying to convert it ,and now I'm on Lab 4 with bug search haha. I'm counting on you !

  5. Simone says:

    It's June 18th….any news on the update?

  6. jennmar says:

    Status update: the release date was pushed back by one week, so they are estimating Friday 6/22 now for the updated content to go live on MSDN.  I'm sorry for the delay!

  7. Ian Walker says:

    No worries.  I managed to get my app working (which was based on this example) with a number of kludges so looking forward to seeing how it should be done!

  8. Hannes Preishuber says:

    sorry to ask, but … nothing new behind the link

  9. Ivan Fioravanti says:

    Any news on the updated version of this great lab for RP?

  10. jennmar says:

    I have an email out to the content owners for a status update; stay tuned…

  11. John says:

    Any updates?

    Thanks!

  12. jennmar says:

    Sorry for the delay on getting back to you…it's been hard to get ahold of anyone because everyone was at TechEd Europe.  🙂  The content is ready and should be available on MSDN on Monday (which is July 2).  

  13. John says:

    Perfect, thank you very much for the help.

  14. pgwu says:

    The labs on the MSDN virtual lab Windows 8 use the updated cookbook samples. Nice.

  15. Noemata says:

    Once again … when will the revised samples be posted.  July 2 has come and gone??  The currently posted samples are painful to waid through because of the changes made to the most current relese of the OS.

    It would be nice to see a completely production grade example from Microsoft.  Posting such a sample would greatly increase the likelyhood of ISPs producing quality apps for an OS entering into a seemingly crowded marketplace.

  16. jennmar says:

    All, I'm sorry for the delay in letting you know (I was on vacation with no internet access last week) but the RP version is live using the link in my blog post above.  

    @Noemata – I am hugely sorry for the delay.  I completely agree that production-grade examples are needed, and myself and others at Microsoft are working on some.  

  17. pjosh says:

    Thank you @jennmar !!

  18. jennmar says:

    FYI – the final RTM version of the content is now available at the same link.  

  19. Rajeev Bhatia says:

    Hi,

    I have been using the RTM version of the labs but i think there is some error with the code…Please help me out here.

    Run the final code of the 6th lab, navigate to any item, suspend and shutdown from visual studio and run the app again…The app does not restore the state but throws an exception.

    I replaced the App.xaml.cs OnLaunched from

    protected override async void OnLaunched(LaunchActivatedEventArgs args)

           {

               Frame rootFrame = Window.Current.Content as Frame;

               // Do not repeat app initialization when the Window already has content,

               // just ensure that the window is active

               if (rootFrame == null)

               {

                   // Create a Frame to act as the navigation context and navigate to the first page

                   rootFrame = new Frame();

                   //Associate the frame with a SuspensionManager key                                

                   SuspensionManager.RegisterFrame(rootFrame, "AppFrame");

                   if (args.PreviousExecutionState == ApplicationExecutionState.Terminated)

                   {

                       // Restore the saved session state only when appropriate

                       try

                       {

                           await SuspensionManager.RestoreAsync();

                       }

                       catch (SuspensionManagerException)

                       {

                           //Something went wrong restoring state.

                           //Assume there is no state and continue

                       }

                   }

                   // Load recipe data

                   await RecipeDataSource.LoadLocalDataAsync();

    to

    protected override async void OnLaunched(LaunchActivatedEventArgs args)

           {

               Frame rootFrame = Window.Current.Content as Frame;

               // Do not repeat app initialization when the Window already has content,

               // just ensure that the window is active

               if (rootFrame == null)

               {

                   // Create a Frame to act as the navigation context and navigate to the first page

                   rootFrame = new Frame();

                   //Associate the frame with a SuspensionManager key                                

                   SuspensionManager.RegisterFrame(rootFrame, "AppFrame");

                   // Place the frame in the current Window

                   await RecipeDataSource.LoadLocalDataAsync();

                   if (args.PreviousExecutionState == ApplicationExecutionState.Terminated)

                   {

                       // Restore the saved session state only when appropriate

                       try

                       {

                           await SuspensionManager.RestoreAsync();

                       }

                       catch (SuspensionManagerException)

                       {

                           //Something went wrong restoring state.

                           //Assume there is no state and continue

                       }

                   }

    and this seems to solve the error….please confirm if this issue exists and my solution is the right way to deal with it

    Thanks,

    Rajeev

  20. Daniel says:

    Guys i know this is not the place but i have the problem with the app….. It gives me an error that ContosoCookBook.Data.RecipeDataGroup doesn't have a method called GetGroups. Help if you can.

  21. amy says:

    I am unable to download contoso cook book y visiting above link it says page u requested is ot available

Skip to main content