$30 off During Our Annual Pro Sale. View Details »

Windows Store Apps mit C#

Windows Store Apps mit C#

Vom Desktop zu Windows Store Apps – alles mit C# und XAML. Vom .NET Framework steht bei Windows Store Apps zwar nur ein Subset zur Verfügung, es gibt aber auch die Windows Runtime. Die Windows Runtime ist zwar eine native API, fühlt sich aber wie .NET an. Diese Session zeigt die Entwicklung von Windows Store Apps mit C# und dabei Features und Eigenschaften der Windows Runtime inklusive Unterschiede zu .NET, asynchrone Aufrufe und mehr bis hin zum Einsatz von Contracts um Windows Store apps im Zusammenspiel noch wertvoller zu machen.

Christian Nagel

February 26, 2013
Tweet

More Decks by Christian Nagel

Other Decks in Programming

Transcript

  1. Christian Nagel | thinktecture
    Windows Store Apps
    mit C#
    think mobile!

    View Slide

  2. Christian Nagel
    • Training
    • Consulting
    • WPF
    • Windows Store Apps
    • Windows Azure
    • Entity Framework
    • HTML5

    View Slide

  3. Silverlight is dead…
    Windows Forms is
    dead…
    What about WPF?
    HTML5 & JavaScript:
    the future of App
    Development
    In the News…

    View Slide

  4. Should we all
    move to
    HTML
    and
    JavaScript???

    View Slide

  5. Goals
    Introduce
    C# Developers
    to
    Windows Store Apps

    View Slide

  6. Agenda
    • Windows Store Apps mit XAML + C#
    – .NET
    – Windows Runtime
    – Contracts

    View Slide

  7. Windows Store
    Grid App

    View Slide

  8. What we’ve seen
    • Windows Store App
    • XAML & C#
    • Build & Run

    View Slide

  9. .NET & Windows Runtime
    Windows Core OS Services
    WinRT APIs .NET
    C#
    Application Model
    UI
    Storage
    Devices
    Media
    Networking
    IO
    Windows. System.
    Collections
    Linq
    WCF

    View Slide

  10. Using .NET

    View Slide

  11. View Slide

  12. .NET and WinRT
    What we’ve seen
    • .NET in Windows Store Apps
    • C# Async
    • HttpClient
    • Linq to XML
    • App Bar

    View Slide

  13. View Slide

  14. CONTRACTS
    Kommunikation mit dem System
    Kommunikation mit Apps

    View Slide

  15. Contracts & Extensions
    • Search
    • Settings
    • Share
    • Play To
    • …
    • Protocol activation
    • Contact picker
    • Account picture
    provider
    • Background task
    • …

    View Slide

  16. Search

    View Slide

  17. Search
    • Search Declaration
    • Integration mit der Charms Bar
    • SearchPane Events
    • Aktivieren der App mit Search

    View Slide

  18. Share Source & Target
    User selektiert “Share”,
    Aktive App bekommt
    Event
    App aktiviert
    Registert sich im
    DataTransfer Manager
    Target Apps gefiltert
    User wählt App aus
    Empfängt
    DataPackage
    Reports Complete
    Benachrichtigung
    “Completed”
    DataRequested Event,
    befüllt DataPackage
    Target App wird als
    Share Target aktiviert

    View Slide

  19. Share

    View Slide

  20. Share – What we’ve seen
    • DataTransferManager
    • DataPackage

    View Slide

  21. View Slide

  22. C# has a bright future 

    View Slide

  23. Danke!
    • http://blog.cninnovation.com
    • http://weblogs.thinktecture.com
    • http://www.thinktecture.com
    Fragen?

    View Slide

  24. © Images
    • http://www.dreamstime.com/konstantynov_info
    • http://www.dreamstime.com/pariwatlp_info
    • http://www.dreamstime.com/36clicks_info
    • http://www.dreamstime.com/patrickma_info

    View Slide