Presentation is loading. Please wait.

Presentation is loading. Please wait.

Silverlight 101 Ahead! If you know Silverlight and are looking for more advanced content check out : ‘Microsoft Silverlight “Media” : Moving at 60fps’

Similar presentations


Presentation on theme: "Silverlight 101 Ahead! If you know Silverlight and are looking for more advanced content check out : ‘Microsoft Silverlight “Media” : Moving at 60fps’"— Presentation transcript:

1 Silverlight 101 Ahead! If you know Silverlight and are looking for more advanced content check out : ‘Microsoft Silverlight “Media” : Moving at 60fps’ (Breakers H) Microsoft Silverlight 4 Business Applications (Lagoon F)

2 An Introduction to Developing Applications for Microsoft Silverlight Shawn Oster Program Manager Silverlight shoster@microsoft.com

3 Walk Away Knowing How to create a Silverlight application How to leverage your creativity How to use the tools to make it happen

4 What is Silverlight? Powerful Development Platform Engaging, Interactive User Experiences

5 Silverlight Capabilities Inputs Keyboard Mouse Touch Ink Media Digital media capture & playback VC1, WMA, MP3 Data Language Integrated Query (LINQ) LINQ to XML XML IsolatedStorage Base Class Library (BCL) Generics Collections Cryptography Threading Windows Communication Foundation REST RSS/ATOM SOAP XAML UI Core Vector Animation Text Images

6 CLOUD SCREEN Phone Emulator Sample s Documentatio n GuidesCommunity Packaging and Verification Tools Notifications LocationIdentityFeeds MapsSocial App Deployment Registration Validation Certification Publishing Marketplace MO and CC Billing Business Intelligence Update Management Application Platform High Level Architecture Tools & Support Developer Portal ServicesCloud Services SensorsMediaData Gamer ServicesNotifications.NET Framework managed code sandbox Location Phone Run Time – On “Screen”

7 Performance tuning Input integration H/W media and sensor integration OS application model integration Relaxed sandbox constraints What is Silverlight for WP7? Starts with Silverlight 3 plus…

8 THE FUN STUFF Show Me Some Code!

9 XAML XML Declarative Markup

10 XAML maps to code Anything in XAML can be done in code Code

11 DEMO - XAML + CODE The Basics

12 Vector-Based Importable from Photoshop or Illustrator Shapes

13 Determines how objects are painted and outlined Solid, Gradient, Image, Media Brushes

14 DEMO – SHAPES + BRUSHES Pretty Shapes

15 <Button x:Name="MyButton" Content="Center" Width="150" Height="50" /> Encapsulates functionality Give it a x:Name Same properties as in XAML Controls

16 Can be created in XAML & Code Tools create handler for you public void myButton_Click(object sender, RoutedEventArgs e) { // todo: add code } Events

17 DEMO – CONTROLS + EVENTS Make it Do Something

18 Apply consistent formatting Per-page or per-application <Style TargetType="TextBlock" x:Key="SubHeadingText"> <Setter Property="FontSize" Value="42" /> <Setter Property="Foreground" Value="Blue" /> Styling

19 DEMO – STYLING Make it Consistent

20 Layout Grid | Rows & columns, very flexible Flexible Layout system Canvas | Fixed-position StackPanel | “Stacks” dynamically

21 DEMO – LAYOUT Where Does It Go?

22 Transforms Controls Text Media Rotate Scale Skew Translate Matrix Plane Matrix Apply 3D to a 2D element Alters any elementTransformsProjections

23 Animations Animate a property value over time Basics Expression Blend is the best tool for designing animations StoryboardAnimationKeyframe

24 DEMO –TRANSFORMS, ANIMATIONS Make it Look Great

25 Databinding Powerful Concept Two types Based on change notification Property bindingList binding

26 DEMO – DATABINDING Make it Real

27 Code Reuse Reuse UI User ControlCustom Control Reuse Code Across projects Across platforms (Web, Windows Phone)

28 DEMO – CODE REUSE Don’t Reinvent The Wheel

29 29 Call to action  Download the tools!  http://silverlight.net http://silverlight.net  http://developer.windowsphone.com http://developer.windowsphone.com  Start building great apps and games  Be creative  Go see other presentations  Resources:  Forums, Blogs, Books, Podcasts, Oh My!  My blog http://shawnoster.comhttp://shawnoster.com

30 Where Next? Building Windows Phone Applications with Silverlight, part 1 & 2 Make your application rock on Windows Phone 7! Shake, rattle & roll with accelerometer & vibration Cloud & Push notifications Location services Maximizing Silverlight Performance on Windows Phone 7 Series Make your applications rock!

31 Please fill out the evaluation form!

32 It’s Question Time!

33


Download ppt "Silverlight 101 Ahead! If you know Silverlight and are looking for more advanced content check out : ‘Microsoft Silverlight “Media” : Moving at 60fps’"

Similar presentations


Ads by Google