Sample Browser App for the All-In-One Code Framework
As I’m taking a break to wind down a bit before tonight’s adventures, I figured I should tell you guys about the Sample Browser app in the Windows Store. (Sorry, guys – no Windows Phone app yet.)
This was the app you mentioned briefly at the end of your last post, right?
Yep! Once you install the “Sample Browser” app from the Windows Store to your Windows 8 device, you can access the All-In-One Code repository browser data. Here’s the opening screen:
Ooh! Shiny! Wait… that looks similar to the app from the last post.
Very observant! Sometimes, the Microsofties understand this concept called consistency. It’ll work wonders here.
Okay…. let’s go on an adventure. Let’s say I want to see some ASP.NET stuff.
See that ASP.NET tile under Web Samples? Click that tile, and you should see something like this:
There are plenty of ASP.NET code samples to peek at. I’m going to click on the web chat program that the All-In-One Code Framework team wrote. This will take us into the project view:
All the data… what do I see?
This details page shows a lot of details, including:
- Name of the project
- Link to the project
- The ability to browse the project document
- The ability to download the code
- Relevant technologies
- Visual Studio support
- Author/last updated/ratings/download count metadata
Okay… so I clicked the Download button, as I want to have the C# sample on hand.
Did you notice that the button changed to browse? Now, you have this helpful code browser at your finger tips. Navigate through the C# code and check out the syntax highlighting.
You can also select code and copy it to the clipboard, much like copy and paste in a lot of
Metro Windows Store apps.
What if I don’t want to download the code but want to bookmark this code for later?
Come on, now! This is a Microsoft product, which means “bookmarks” are out and “favorites” are in! Right click in the code area to bring up the context menu bar at the bottom. Then, click the Add Favorite button.
Okay… I downloaded this code. I favorited this code. I like the syntax highlighting. But how can I easily find my downloaded code or even my favorited samples?
If you go to the search screen, you’ll notice some categories at the top, including Downloaded Samples and Favorite Samples.
You’ve shown us what happens when there are results. What if there aren’t any results?
These guys have a very helpful “not found” message. Here you go:
So… how did you hear about this again?
The benefits of being an MVP and finding out cool things that we’re actually allowed to talk about!
Now, if you’re on Windows 8 – go get the Sample Browser app!
If you’re on Windows 7, see my last post on how to get their app!