Mobile Applications Development Boot Camp
Course Length: Five Days
Description
In this course, you’ll learn to use Visual Studio 2010 to
explore the Visual Basic language. The course starts with a
quick overview of the .NET platform, examining assemblies,
Microsoft Intermediate Language, Visual Studio profiles, XML
comments, IntelliSense, and debugging. From there, you’ll learn
all the language features that you must internalize in order to
create full-featured Web or Windows applications that make best
use of the .NET platform. You’ll learn about data types,
variables, and operators, along with all the important flow
control structures. You’ll work through several examples
demonstrating the power of the .NET Framework, and dig into
creating and consuming your own classes and objects. The course
moves on to working with data structures, such as arrays and
collection classes, before finishing up with discussions of
generics, handling exceptions and working with delegates and
events. The course concludes by introducing the new LINQ-oriented
features including anonymous types, lambda expressions, and
more. By the end of this course, you will understand the
important basic concepts that will allow you to start creating
the applications you need.
Objectives
In this course, you will learn how to…
Create Console Application projects in Visual Studio .NET 2010.
Convert a variable from one data type to another.
Work with dates and times.
Repeat blocks of code using looping statements.
Generate and test your own classes using the Class Designer and
Object Test Bench tools.
Use methods in your classes.
Control how derived classes inherit from base classes.
Create classes containing arrays, adding support for indexers
and enumerators.
Use delegate types to provide flexibility and type safety.
Create generic classes and methods.
Use Exception objects to determine what error has occurred.
Create your own custom collection classes.
Use anonymous types, lambda expressions, extension methods,
object initializers, and implicit type declarations.
After completing this course, students will be able to:
•Describe XAML-based applications and the tools they can use to
build them.
•Create vector graphics with both Expression Blend 4 and
Expression Design 4.
•Create a Silverlight application and a user interface by using
various layout controls and other controls from the toolbox.
•Work with key parts and logic of a Silverlight application,
such as hosting controls, App events, and InitParams.
•Create XAML objects programmatically.
•Work with Resources, Styles, Control Templates, and Behaviors.
•Implement Transforms, Animations, and Visual States in XAML-based
applications.
•Prototype applications by using SketchFlow.
Audience
The target audience for this training course is professional
developers who have experience creating Windows Forms and
ASP.NET Web application with Visual Studio 2010, and who are
interested in learning the core and essential XAML programming
tasks that are required for professional Silverlight 4 and WPF
programming in both Visual Studio 2010 and Expression Blend 4
environments.
This course is intended for developers who have programming
experience using either Visual Basic .NET or C# and who
understand the concepts of object-oriented programming. This
course is designed for developers who need to become comfortable
using Expression Blend 4 and Visual Studio 2010.
This course is not designed for entry-level programmers.
Prerequisites
This course assumes that students have some programming
background. No specific experience with Visual Studio 2010 or
the .NET Framework is required. As with any such course, the
more experience you bring to the course, the more you’ll get out
of it. This course moves quickly through a broad range of
programming topics, but it does not require any prior .NET
skills.
In addition to the professional experience, this course
requires that student meet the following prerequisites:1-3
months of professional programming experience with Visual Studio
2010.In addition to the technical knowledge, students who attend
this training should have hands-on experience in the following
areas: Some professional experience in developing either ASP.NET
Web applications or Windows Forms desktop applications.
Course Outline
Getting Started
Learn the advantages and architecture of the .NET Framework
Setup a development profile in Visual Studio .NET
View the code that Visual Studio generates and understand what
it does
Data Types and Variables
Understand how to create variables and assign values
Explore operators and see how they can be used to change values
and compare expressions
Using the .NET Framework
Using .NET Framework classes
Explore basic file IO operations
Learn how to work with strings
Branching and Flow Control
Making choices using conditional statements
Manage flow control using branching statements
Break out of loops when necessary
Classes and Objects
Investigate .NET Framework classes to see how you can consume
classes in your code
Learn about properties, methods, and fields
Create instances of classes using class constructors
Investigate class details, including reference vs. value types,
and more
Properties and Methods
Explore how to use properties in your classes
Learn to control how property values are set and retrieved
Understand how to pass arguments to methods
Learn how to return both simple and complex data types from
methods
Object-Oriented Techniques
Understand how derived classes inherit from base classes
Explore how to add and modify members in derived classes
Understand how to create and use interfaces
Explore techniques for organizing your classes
Working with Arrays
Create and initialize arrays
Work with array methods and properties
Investigate arrays in the .NET Framework
Learn techniques for sorting arrays
Delegates and Events
Learn different ways to work with delegates
Introduce anonymous delegates
Learn how delegates and events are related
Investigate events and event handlers
Generics
Understand the advantages and benefits of generics
Explore the use of generics to sort and search in arrays
See how to use generic interfaces and constraints
Explore the generic List class
Handling Exceptions
Learn to use try/catch blocks to handle runtime errors
Throw exceptions back to procedure callers
Use the finally block to run code unconditionally
Create and handle user-defined exceptions
Collection Classes
Investigate the collection interfaces in the
System.Collections.Generic namespace
Create dynamically sized arrays using the List class
Investigate the generic SortedDictionary, SortedList, Stack, and
Queue classes
LINQ
Motivate the need for LINQ
Learn about the various LINQ providers
Investigate simple LINQ to Objects, LINQ to SQL, and LINQ to XML
samples
Module 1: Binding in XAML
This module familiarizes the students with various binding
techniques.
Lessons
•Introduction to XAML-Based Applications
•Tools for Designing and Developing XAML-Based Applications
•Anatomy of a XAML-Based Application
Lab : Getting Started with XAML-Based Application Development
•Exercise 1: Creating a 'Hello World' WPF Application
•Exercise 2: Creating a 'Hello World' Silverlight Application
•Exercise 3: Using the Expression Blend 4 and Visual Studio 2010
Development Environments
•Exercise 4: Exploring the Expression Blend 4 Development
Environment
After completing this module, students will be able to:
•Describe the benefits of XAML-based applications.
•Explain the tools that can be used to create XAML-based
applications.
•Describe the structure of a XAML-based application.
Module 2: Creating Vector Graphics with Expression Studio 4
This module describes how to create vector graphics by using
both Expression Blend 4 and Expression Design 4
Lessons
•Creating Vector Graphics with Expression Blend 4
•Creating Vector Graphics with Expression Design 4
•Importing Vector Graphics into Expression Blend 4
Lab : Creating Vector Graphics with Expression Studio 4
•Exercise 1: Creating a Silverlight Application and Website by
using Microsoft Expression Blend 4
•Exercise 2: Creating an Expression Design 4 Background
•Exercise 3: Distorting Text on a Path
•Exercise 4: Using Expression Design 4 Files in Expression Blend
4
After completing this module, students will be able to:
•Create Vector Graphics with Expression Blend 4.
•Create Vector Graphics with Expression Design 4.
•Import Vector Graphics into Expression Blend 4.
Module 3: Laying out a XAML-Based Application
This module describes how to create a simple XAML-based
application and how to create a user interface by using various
layout controls and other controls from the toolbox.
Lessons
•Organizing Controls in the User Interface
•Adding and Manipulating Controls
Lab : Laying out a XAML-Based Application
•Exercise 1: Adding TextBlocks and Buttons to MainPage.xaml
•Exercise 2: Using the Grid
•Exercise 3: Adding a Hyperlink to the Grid
•Exercise 4: Adding a Button to the Grid
•Exercise 5: Testing the Application
•Exercise 6: Adding Backgrounds to MainPage.xaml and
DesignMode.xaml (as time permits)
After completing this module, students will be able to:
•Organize the controls used in the user interface of a XAML-based
application.
•Add and manipulate the controls used in XAML-based
applications.
Module 4: Developing and Debugging XAML-Based Applications
This module describes how to work with key parts and logic of
XAML-based applications, such as startup parameters, hosting
controls, App events, and InitParams.
Lessons
•Developing WPF Applications
•Developing Silverlight Applications
•Hosting Silverlight Applications
•Debugging XAML-Based Applications
Lab : Developing and Debugging XAML-Based Applications
•Exercise 1: Creating HTML Hosting Pages
•Exercise 2: Customizing the App.Xaml Code-Behind File in Visual
Studio 2010
•Exercise 3: Debugging a Silverlight Application
•Exercise 4: Retrieving URL Parameters in the App.xaml
Code-Behind File
•Exercise 5: Using URL Parameters in the Application
•Exercise 6: Rewrite as: Exercise 6: Designing the Greeting Card
Page (optional)
•Exercise 7: Adding Code to Display Values From the URL
After completing this module, students will be able to:
•Develop WPF applications.
•Develop Silverlight applications.
•Host a Silverlight application in an HTML web page.
•Debug a XAML-based application.
Module 5: Creating Controls Programmatically and Working with
Media Files
This module describes how to work with XAML objects
programmatically and play audio and video files
Lessons
•Creating and Using Controls Programmatically
•Working with Media Files
Lab : Creating Controls Programmatically and Working with Media
Files
•Exercise 1: Creating Controls Programmatically
•Exercise 2: Building a Video Player
After completing this module, students will be able to:
•Create and use controls programmatically.
•Work with media files.
Module 6: Working with Resources, Styles, Control Templates, and
Behaviors
This module describes how to manage development efforts by using
a variety of reusable/modular concepts in XAML-based
applications
Lessons
•Working with Resources
•Working with Styles and Control Templates
•Working with Actions, Triggers, and Behaviors
Lab : Working with Resources, Styles, Control Templates, and
Behaviors
•Exercise 1: Using Resources in Expression Blend 4
•Exercise 2: Changing a Property Using a Conditional Behavior
•Exercise 3: Calling Methods from a Conditional Behavior
•Exercise 4: Using XAML Styles
•Exercise 5: Using XAML Control Templates
After completing this module, students will be able to:
•Use Resources in a XAML-based application.
•Work with Styles and ControlTemplates.
•Add and configure behaviors by using Expression Blend 4.
Module 7: Implementing Transforms, Animations, and Visual States
This module describes how to use animation techniques in XAML-based
applications
Lessons
•Transforms in XAML-Based Applications
•Animations in XAML-Based Applications
•Implementing and Working with Visual States
Lab : Implementing Transforms, Animations, and Visual States
•Exercise 1: Preparing Objects for Animation
•Exercise 2: Creating and Playing a StoryBoard
•Exercise 3: Using Visual States for the Video Page
•Exercise 4: Adding a Visual State for the Video Controls
•Exercise 5: Controlling States Programmatically
After completing this module, students will be able to:
•Apply transforms in your XAML-based applications.
•Create different types of animations in your XAML-based
applications.
•Provide visual feedback to users based on the state of a
control or a group of controls.
Module 8: Binding in XAML
This module familiarizes the students with various binding
techniques.
Lessons
•Property Binding in XAML-Based Applications
•Data Binding in XAML-Based Applications
Lab : Binding in XAML
•Exercise 1: Binding Controls
•Exercise 2: Creating a Master/Detail View in WPF
After completing this module, students will be able to:
•Implement property binding in XAML-based applications.
•Implement binding to external data objects in XAML-based
applications.
Module 9: Prototyping Applications by Using SketchFlow in
Expression Blend 4
This module describes how to use SketchFlow to prototype complex
user interfaces and to gather feedback from clients.
Lessons
•Prototyping Applications with SketchFlow
•Packaging and Reviewing Prototypes Developed with SketchFlow
Lab : Prototyping Applications by Using SketchFlow in Expression
Blend 4
•Exercise 1: Creating an Expression SketchFlow Application
•Exercise 2: Creating SketchFlow Screens
•Exercise 3: Configuring the Login Screen
•Exercise 4: Configuring the Card Gallery Screen
•Exercise 5: Packaging the SketchFlow Solution
•Exercise 6: Performing the Client Role
•Exercise 7: Performing the Developer Role
After completing this module, students will be able to:
•Create application prototypes by using SketchFlow.
•Package prototypes for distribution to your customers.
•Review feedback on your prototypes from your customers.
Additional Reading
To help you prepare for this class, review the following
resources:
•Read the About This Course section at the beginning of the
Course Handbook for the product.
•Walk through the Introduction slide deck for the course.
•Walk through each module presentation slide deck and read the
corresponding Instructor Notes (located in the notes view of the
presentation slide deck) for the module. Note that additional
hidden slides are used in each slide deck to accommodate the
Instructor Notes for a given topic.
•Familiarize yourself with the Course Handbook. More information
pertaining to the course components is present in the
Introduction slide deck.
|