Your SlideShare is downloading. ×
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

NH .Net Code Camp 2010 - An Introduction to Silverlight Development


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide
  • * Source – Pro Silverlight 3 in C#, Matthew MacDonald, APress 2009** Source –*** HTML5:"Will HTML 5 make RIA technologies such as Adobe Flash/Flex and Microsoft Silverlight obsolete? For at least the next five years, the answer is a definite 'no,'" reads Hammond's executive summary. "Inconsistent implementations of the draft HTML 5 specification and immature tooling make building HTML 5 apps that work consistently across browsers and operating systems a real challenge." - Forrester author and principal analyst Jeffrey Hammond When W3C itself projects 2022 (no, that's not a typo) as the earliest date that a final HTML 5 specification can be completed and published, some are actually saying that date is optimistic.The next stage for HTML 5 adoption is the first "candidate recommendation," set for 2012...At that time, Hammond foresees a process not unlike network appliance vendors hawking "802.11n" or "pre-11n" wares prior to that standard's final adoption last October.In 2015, we'll see pretty consistent support, even though there won't be a final standard. So I don't think it's dead, but I think you need to differentiate between a 'good enough' implementation and a 'fully compliant' standard.""The folks that benefit most from a new standard are the folks that don't necessarily have a commanding position in the existing standard," Hammond responded. ===========================================================================================SOURCE: Hickson, editor of the HTML5 specification, expects the specification to reach the W3C Candidate Recommendation stage during 2012, and W3C Recommendation in the year 2022 or later.[8] However, many parts of the specification are stable and may be implemented in products:Some sections are already relatively stable and there are implementations that are already quite close to completion, and those features can be used today (e.g. <canvas>).– WHAT Working Group, When will HTML5 be finished?[8], FAQ===========================================================================================SOURCE:
  • Calendar of Silverlight ReleasesCL07 – Video (better layoutthan slides) -> Major areas of content (bullets) in SL1-4 6:50 in11/20/2007 – SL1 SR11/15/2008 – SL1 SR27/23/2008 – SL1 SR32/18/2009 – SL2 GDR17/28/2009 – SL3 GDR19/1/2009 – SL3 GDR21/19/2010 – SL3 GDR34/15/2010 – SL4 RTM
  • Show Get Started PageShow Toolkit Sample Navigator* RIA Services Toolkit – includes:1. LinqToSqlDomainService2. Soap endpoint - This enables you to expose a soap endpoint for your DomainService3. JSON endpoint - This enables you to expose a JSON endpoint for your DomainService4. DomainDataSource - This control will enable you to create an application that can talk to your DomainService5. WCF client proxy auto generation/updating for WCF Core Service – This enables you to get up-to-date WCF proxy and configuration each time you build your solution, when you add Silverlight-enable WCF service in your Silverlight application.
  • DEMO: Creating a Silverlight Project in Visual Studio Go over project types First Dialog & Options What did you get? Projects & PropertiesApp.xaml Class Name & Resources Root Visual in Startup Hello World (gratuitous animation)Hosting the Silverlight Object (Object Tag, MIME entries)xap Source,onError BackgroundminRuntimeVersionautoUpgrade Get the runtime MIME – (Case in point = Windows Home Server).xaml    application/xaml+xml .xap     application/x-silverlight-app .xbap    application/x-ms-xbapGo Over the “Nature” of SilverlightRuns 100% in the client side, within the browser or (SL) in a special shell (picture?)Page refreshes (postbacks!) will reload the application!  Consider AJAX for interactive ASPX pages.“XAP = ZIP”- Pop open the XAP file, show in Reflector
  • XAML  Instantiate & set properties + some shortcuts (all XAML can be done in code behind like WinForms)NamespacesPanels (Grid, StackPanel, Canvas, others (Dock & Wrap Panels)Controls (Content, Item) (Show Toolbar, name, properties)Events (The Great Event Debate) g.cs fileModal DialogsResourcesBindingValue Converters
  • Import from PhotoShopMediaElementDiscuss Adaptive StreamingPhotoSynth3DWebcam support4 kinds of brushes – Solid, Gradient, Image, ***Video***
  • HTML BridgeStandalone SilverlightPhone
  • WCF / Web ServiceIsolated Storage
  • Class Library AssembliesBrushesShapesAnimationsList BindingData TemplatesPhone?
  • Transcript

    • 1. An Introduction to Silverlight Development
      John GarlandSenior ConsultantBurntsand Consulting
    • 2. About Burntsand
      • Custom Development Solutions
      • 3. Smart Client Development
      • 4. Web Development
      • 5. Information Worker Solutions
      • 6. Web & Portal Publishing
      • 7. Document & Records Management
      • 8. Data Management Solutions
      • 9. Business Intelligence & Reporting Solutions
      • 10. Business Process and Integration Solutions
      • 11. CRM – ReMS
      Producing tangible results through disciplined execution
      • Leading systems integration firm founded in January 1996
      • 12. More than 350 blue chip clients
      • 13. 4 North American locations: Boston, San Jose, Houston, Indianapolis
      • 14. Microsoft Gold Certified partner with 4 competencies
      • 15. Additional partnerships with EMC Documentum and BMC Software
    • 16.
      • A Little Context
      • 17. Basics of Silverlight Development
      Getting Started
      Basic Data Access
      Out-of-browser Silverlight
      Interaction with the Browser
      • Where to go to from here…
      What You Can Expect to Take Away
    • 18. Silverlight is a technology for creating cross-platform .Net applications for the browser*
      • Requires installation of a separate runtime
      • 19. Not included with any “classic” .Net runtime, OS, or browser
      • 20. Not as widely adopted as other RIA technologies
      • 21. Currently 59% adoption** vs. 96% for Flash
      • 22. Limited to HTTP binding for WCF Service interactions
      • 23. AJAX, especially with tools like jQuery and the related extensions also offer RIA experiences
      • 24. HTML 5 (***)
      • 25. Linux client support limited to what is available in Moonlight
      • 26. Strongly-typed, compiled development for web applications
      • 27. Large transfer of skillset from .Net-based client applications to web applications (especially WPF)
      • 28. (Some) Code reuse with .Net applications
      • 29. Rich interactive user interfaces
      • 30. Can be used for standalone / occasionally connected applications
      • 31. Access to rich development tools and communities
      • 32. Hosting by multiple server platforms
      • 33. Leverage skills and/or code for upcoming Windows Phone 7 development
      Why Silverlight?
    • 34. 5
      How Did We Get Here?
    • 35. Tools:
      Visual Studio 2010
      Expression Blend 4 RC
      Silverlight 4 Tools for Visual Studio 2010 (VS Support, SDK, & RIA Services)
      Silverlight Toolkit
      WCF RIA Services Toolkit
      Getting Started with Silverlight
    • 36.
      • A Basic Project
      • 37. Hosting Silverlight Content
      • 38. The Nature of Silverlight
      • 39. XAP = ZIP
      Hello Code Camp
    • 40. 8
      Introducing XAML
      private TextBlocktextBlock;
      public void DoSomething()
      Grid grid = new Grid();
      textBlock = new TextBlock { Text = "Hello World" };
      this.Content = grid;
      <TextBlock x:Name ="textBlock" Text="Hello World"/>
      • Namespaces
      • 41. Containers
      • 42. Binding , Data Context, & Value Converters
      • 43. Controls & Events
      • 44. Modal Dialogs
    • 9
    • 48. Silverlight is more than a web plugin
      • Out-of-browser
      • 49. HTML Bridge
      • 50. Windows Phone 7
      Beyond the Plugin
    • 51.
      • Local Data Storage is available in Isolated Storage only
      • 52. Data can be retrieved from the web
      • 53. Web service calls must use Basic HTTP (WS-HTTP is not supported)
      • 54. Network calls are asynchronous
      Data Access
    • 55. 12
      Going Further
      Silverlight Toolkit
      Bing Maps API
      Windows Phone 7 Developer Site
      Blog – Brad Abrams
      Blog – Andy Beaulieu
      Blog – Christian Schormann
      Blog – VS Tip of the Day
      Silverlight TV
      Silverlight Training Course
      MIX Videos
      Perspectives on Flash & Silverlight
      Pro Silverlight 3 in C# (Matthew MacDonald)
      Silverlight Recipes (Rob Cameron)
      WPF Control Development (Podila)
      BOOKS - Suggestions - Free Online Training
    • 56. 13
      Other Sessions
    • 57. 14
      Please Complete Your Evaluation Forms
    • 58. 15
    • 59. 16
      Graphics & Animations
      A Silverlight Animation is a way to change the value of a dependency property over time.
      • Are time-based
      • 60. Act on properties
      • 61. Every data type takes a different animation class
      • 62. (Mostly Double, Color, Point)
      Animation Types
      • Linear Interpolation (easing)
      • 63. Keyframe