Your SlideShare is downloading. ×
0
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

461

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
461
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • * Source – Pro Silverlight 3 in C#, Matthew MacDonald, APress 2009** Source – RIAStats.com*** 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: http://www.betanews.com/article/Actual-Analysis-Is-HTML-5-already-outmoded/1273009131===========================================================================================Ian 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: http://en.wikipedia.org/wiki/HTML5===========================================================================================
  • 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. ASP.net DomainDataSource - This control will enable you to create an ASP.net 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
  • MENTION NEW ENGLAND GIVECAMP
  • Class Library AssembliesBrushesShapesAnimationsList BindingData TemplatesPhone?
  • Transcript

    • 1. An Introduction to Silverlight Development
      John GarlandSenior ConsultantBurntsand Consulting
      http://blog.dotnetgator.com
      1
    • 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
      http://blog.dotnetgator.com
      2
    • 16.
      • A Little Context
      • 17. Basics of Silverlight Development
      Getting Started
      XAML
      Multimedia
      Basic Data Access
      Out-of-browser Silverlight
      Interaction with the Browser
      • Where to go to from here…
      3
      What You Can Expect to Take Away
      http://blog.dotnetgator.com
    • 18. Silverlight is a technology for creating cross-platform .Net applications for the browser*
      Pros
      Cons
      • 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?
      4
      http://blog.dotnetgator.com
    • 34. 5
      How Did We Get Here?
      http://blog.dotnetgator.com
    • 35. Tools:
      Visual Studio 2010
      Expression Blend 4 RC
      Silverlight 4 Tools for Visual Studio 2010 (VS Support, SDK, & RIA Services)
      Silverlight Toolkit
      Other:
      WCF RIA Services Toolkit
      All-In-One:
      http://www.silverlight.net/getstarted
      6
      Getting Started with Silverlight
      http://blog.dotnetgator.com
    • 36.
      • A Basic Project
      • 37. Hosting Silverlight Content
      • 38. The Nature of Silverlight
      • 39. XAP = ZIP
      7
      Hello Code Camp
      http://blog.dotnetgator.com
      =
      DEMO
    • 40. 8
      Introducing XAML
      http://blog.dotnetgator.com
      private TextBlocktextBlock;
      public void DoSomething()
      {
      Grid grid = new Grid();
      textBlock = new TextBlock { Text = "Hello World" };
      grid.Children.Add(textBlock);
      this.Content = grid;
      }
      <Grid>
      <Grid.Children>
      <TextBlock x:Name ="textBlock" Text="Hello World"/>
      </Grid.Children>
      </Grid>
      DEMO
      • Namespaces
      • 41. Containers
      • 42. Binding , Data Context, & Value Converters
      • 43. Controls & Events
      • 44. Modal Dialogs
    • 9
      Multimedia
      http://blog.dotnetgator.com
      DEMO
    • 48. Silverlight is more than a web plugin
      • Out-of-browser
      • 49. HTML Bridge
      • 50. Windows Phone 7
      10
      Beyond the Plugin
      http://blog.dotnetgator.com
    • 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
      11
      Data Access
      http://blog.dotnetgator.com
    • 55. 12
      Going Further
      http://blog.dotnetgator.com
      Silverlight.Net
      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
      ONLINE
      Silverlight TV
      Silverlight Training Course
      MIX Videos
      MSDev
      Perspectives on Flash & Silverlight
      VIDEOS
      Pro Silverlight 3 in C# (Matthew MacDonald)
      Silverlight Recipes (Rob Cameron)
      WPF Control Development (Podila)
      BOOKS
      http://dotnet.uservoice.com/ - Suggestions
      http://www.microsoft.com/design/toolbox - Free Online Training
      OTHER
    • 56. 13
      Other Sessions
      http://blog.dotnetgator.com
    • 57. 14
      Please Complete Your Evaluation Forms
      http://blog.dotnetgator.com
    • 58. 15
      Questions?
      http://blog.dotnetgator.com
    • 59. 16
      Graphics & Animations
      http://blog.dotnetgator.com
      A Silverlight Animation is a way to change the value of a dependency property over time.
      Animations
      • 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
      Storyboard
      DEMO

    ×