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:
- ListViews/GridViews and Data Binding
- Orientation, Snapping, and Semantic Zoom
- Searching and Sharing
- Appbars and Media Capture
- Lifetime Management
- Settings and Preferences
- Tiles and Notifications
- Windows Store
Enjoy!
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
@Vinod – yes, we are working on getting them updated and released. We are hoping to have them available on June 15.
That is good news as I am just looking for this now (and it is June 15th! – at least it is in the UK!)
I'm trying to convert it ,and now I'm on Lab 4 with bug search haha. I'm counting on you !
It's June 18th….any news on the update?
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!
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!
sorry to ask, but … nothing new behind the link
Any news on the updated version of this great lab for RP?
I have an email out to the content owners for a status update; stay tuned…
Any updates?
Thanks!
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).
Perfect, thank you very much for the help.
The labs on the MSDN virtual lab Windows 8 use the updated cookbook samples. Nice.
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.
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.
Thank you @jennmar !!
FYI – the final RTM version of the content is now available at the same link.
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
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.
I am unable to download contoso cook book y visiting above link it says page u requested is ot available