Creating an HTML Metro style app that references C# and C++ code
Published by on 13.04.2012 at 18:58

Welcome to the Blend team blog.  This post is about creating a WWA (Windows Web Application) hybrid app with C++ and C#.  With this type of Blend project, it is possible to have JavaScript code use functions and libraries from both C++ and C#.  This post will walk you through how to create a basic hybrid app with both C# and C++.

Getting started: Create a New WWA app

The first thing you need to do is launch Blend for Visual Studio 11 Beta and create a new HTML app.
  1. Choose File > New Project and select HTML (Windows Metro Style) in the left pane.
  2. In the right pane, select the default template Blank Application.
  3. To follow along with this post, name your project WwaHybridProject.

Create a new WWA app in Blend

Read the full post






Build HTML Metro style apps with Blend for Visual Studio 11 Beta
Published by on 01.03.2012 at 18:18

Blend for HTML, which is a part of Blend for Visual Studio 11 Beta is optimized to help you build Metro style apps using as HTML, CSS, and JavaScript. If you have existing web assets, you can use those as the foundation for building your new Metro style apps.  

A first look at Blend

The default workspace in Blend will be familiar to Blend users: the artboard, panels, workspace configurations, authoring views, and menus. For new users, although the general layout of the workspace looks the same regardless of what kind of project you are working on, the specific panels that are available will change slightly depending on the type of project that you choose. Blend for HTML workspace
1) Menu area Menus Create new projects and manage settings.
2) Tools panel Tools panel Create and modify objects in your application.
3) Assets panel Assets panel Displays all of the elements and media resources that are available to the project.
4) Artboard Artboard The artboard is where you’ll be doing most of the visual layout tasks. You’ll notice that the application area is framed by a virtual tablet device that accurately represents the display of the device parameters that you specify in the Platform panel.
5) Additional panels Additional panels The specific panels that are available change depending on the type of project you are working on.
The Blend workspace for Metro style apps includes all of the visual interface elements of the default workspace. However, the tools that are available are specific to Metro style apps built using HTML.     Read the full post




Memory Game Tutorial: Create a Game in Blend using JavaScript, HTML5, and CSS
Published by on 20.01.2012 at 23:49

At the //build/ conference, Christian Schormann presented A deep dive into Expression Blend for designing Metro style Apps with HTML that showed step-by-step how you can use Blend to create a UI from scratch in less than an hour. The game he created is the basis for the nine-part end-to-end tutorial just we’ve just published. When you’re ready to try your hand at creating the UI for yourself, check out our step-by-step instructions. You’ll get to practice layout and styling for Windows 8 Metro style apps.     Read the full post




Blend Tutorial Part 9: Build and Run Your App—Memory Game
Published by on 20.01.2012 at 23:47

This tutorial provides a walkthrough for building and running your app. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post




Blend Tutorial Part 8: Add CSS Transitions—Memory Game
Published by on 20.01.2012 at 23:46

This tutorial provides a walkthrough for adding CSS transitions to the game cards for your app. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post




Blend Tutorial Part 7: Style the Cards—Memory Game
Published by on 20.01.2012 at 23:46

This tutorial provides a walkthrough for styling the game cards for your app. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post




Blend Tutorial Part 6: Style the Game Board—Memory Game
Published by on 20.01.2012 at 23:46

This tutorial provides a walkthrough for styling the game board and the items in the game board for your app. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post




Blend Tutorial Part 5: Align Content to The Grid—Memory Game
Published by on 20.01.2012 at 23:45

This tutorial provides a walkthrough for aligning content to the flexible CSS grid for your app. Apps based on a flexible grid can adapt to run on a variety of devices with different display sizes, aspect ratios, and screen resolutions. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post




Blend Tutorial Part 4: Create a Flexible Layout—Memory Game
Published by on 20.01.2012 at 23:44

This tutorial provides a walkthrough for creating a flexible CSS grid for your app. Apps based on a flexible grid can adapt to run on a variety of devices with different display sizes, aspect ratios, and screen resolutions. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post




Blend Tutorial Part 3: Add a Style Sheet—Memory Game
Published by on 20.01.2012 at 23:44

This tutorial provides a walkthrough for creating the basic style sheet you need to start the Memory game project. In addition, this tutorial provides tips for working with existing style sheets, including using tools like the Live DOM, CSS Properties, and Applied Styles panes. About this series: this tutorial series can help you get started with basic design tasks in Blend 5 for Windows Developer Preview. When you complete all the steps of this tutorial series, you will have created a lightweight, dynamic version of the memory game commonly referred to as “Concentration.” In the game, a number of cards are laid face down. The objective of the game is to turn over pairs of matching cards until all of the matching pairs have been revealed.     Read the full post

< older posts