Coding4Fun Blog

Dev-Inspiration, Cortana and codeSHOW

Description

There's a new blog in town, Dev-Inspiration, where Jeremy Foster is "..... finding, curating, and creating the stories and resources that matter most to Microsoft Developers."

Since that's kind of what we do here, that it's hosted on Channel 9 and since it's Windows Wednesday and he's got an interesting sample app with a cool name, well...

codeShow()

codeShow in the Windows 8 Store

Go to http://aka.ms/codeshowapp to install codeShow from the Windows 8 Store

Project Description

This is a Windows 8 HTML/JS project with the express goal of demonstrating simple development concepts for the Windows 8 platform. You may learn some stuff about end-to-end app architecture by looking at the source code of codeShow, but the primary goal of the project is to help you learn discrete programming tasks such as accessing the camera, implementing an asymmetric ListView, or handling errors look to codeShow.

To see what's new with codeShow, visit the news page.

How to download the codeShow source code

First of all, don't go to the downloads tab! That's for installing software releases and codeShow doesn't have a release. It's just source code right now.
There are two paths you can take for getting the source code: you can download it as a zip file or you can clone it using Git. If you download it as a zip file, you will always have the version you downloaded. If you clone it using Git, then you can easily pull changes down into your project, so I recommend the latter. Regardless, I'll explain how to do both...

OPTION 1: Download a zip file
...
OPTION 2: Clone or fork it?
Well, should I clone or fork it? The question is, are you going to contribute to the project (which you're encouraged to do by the way)? If not, then you only need to clone it. You'll still be able to easily get the latest changes. If you want to be a good citizen and make contributions to codeShow then you need to fork it. Forking a git project means that you are creating your own online repository that is linked to the original. This allows the project owner (us) to pull in changes when you change something and submit a pull request.

To fork it in CodePlex ...
To clone it from Visual Studio 2013 ...
To clone it from the command line ...

.then()
Regardless of which method you use to get the code down to your system, you'll want to do this afterward...
  • open the codeshow\packages folder
  • install all of the SDKs included there
  • now open the .sln file in Visual Studio and have fun!

One more note about the SDKs. You install the SDKs to fulfill the References that you'll find in the project. In the Solution Explorer, you'll see the References folder and the references in there are based on these SDKs. If you don't install an SDK, then you'll have to remove the reference. If there is code that depends on a reference then your project won't build and the Errors Pane will start screaming bloody murder.

By the way, these SDKs are updated from time to time. If you get a new version of the code (by either downloading it or by pulling changes) and you start running into errors, then you may need to update one of the SDKs by simply running the installation from the packages folder again

...

codeSHOW

codeSHOW is a Windows 8 HTML/JS project with the express goal of demonstrating simple development concepts for the Windows 8 platform. This is not a project to learn about end-to-end app architecture, but when you're looking for how to do things like access the camera, implement an asymmetric ListView, or handle errors look to codeSHOW.

Features

  • Learn Windows 8.1

  • Learn HTML/CSS/JS

image

Follow along as the app is updated to add Cortana support and more...

The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.