Your SlideShare is downloading. ×

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

W8/WP8 App Dev for SAP, Part 3A: Developing Apps for Windows 8

173
views

Published on

Agenda: …

Agenda:
The Windows 8 Platform
.NET Framework 4.5
Multiple Ways to Windows 8

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
173
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
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
  • @ 40:55-
  • Now that you have seen what the new Windows looks like, let’s talk about the platform.
  • Every language is a first class citizen.. This is the official slide, Direct X is missing from this slide.. But you can show it.. WinRT APIs are nativeXAML used from C++ Portable C++ Code
  • Create a Camera Capture UI demo. Seamless integration with devices and OS resources.
  • Show it in VS and rawIf not declared can’t use at runtime. Protect system integrity. Privacy implications of devices. System prompts the user – make sure when you use you handle this possiblity, expect they may be blocked at runtime from lack of user consent. Some have no privacy implications (e.g. sensors) don’t need to be declared.VS provides a nice graphical container.Slide condensed from slides APP-389T (slides 9-13)
  • Let’s just see it in action.. --- Demonstrate mostly the Windows Start Screen Show the desktop.. Mention nothing changed. Make sure you use touch … Highlight the following points Windows 8 Experience  Full screen apps Live tiles  Alive and in motion  Action: Drag & rearrange tiles  Semantic  Zoom in Start Menu Search  Personalize Windows  Swap across process Pin an app  Charms  Talking points to summarize Apps are full screen (when not snapped).. Responsive.   
  • Let’s just see it in action.. --- Demonstrate mostly the Windows Start Screen Show the desktop.. Mention nothing changed. Make sure you use touch … Highlight the following points Windows 8 Experience  Full screen apps Live tiles  Alive and in motion  Action: Drag & rearrange tiles  Semantic  Zoom in Start Menu Search  Personalize Windows  Swap across process Pin an app  Charms  Talking points to summarize Apps are full screen (when not snapped).. Responsive.   
  • S
  • Talking about appdata specifically, will talk about user data later when we look at skydrive, etc.Slide 8 from PLAT-475T
  • Key, app does not have to do much – whole infrastructure built for you.Writes local and system takes care of the rest – some limitations, we will cover later.Slide 8 from PLAT-475T
  • Let’s just see it in action.. --- Demonstrate mostly the Windows Start Screen Show the desktop.. Mention nothing changed. Make sure you use touch … Highlight the following points Windows 8 Experience  Full screen apps Live tiles  Alive and in motion  Action: Drag & rearrange tiles  Semantic  Zoom in Start Menu Search  Personalize Windows  Swap across process Pin an app  Charms  Talking points to summarize Apps are full screen (when not snapped).. Responsive.   
  • APP-406T: Search: integrating into the Windows 8 search experiencehttp://channel9.msdn.com/Events/BUILD/BUILD2011/APP-406T
  • Note: It is possible to change which App willget the Searchquery (not only the current active App)  anotherkind of activation for the App
  • A « recommendation » is a strongresult todirectly jump to instead of seemanyresults in the App
  • Add suggestionsRequestedresultsuggestionsRequestedUseappendResultSuggestions
  • @ 36:53Manifest: register for search, file access capabilitySettings: history, suggestions, placeholder text3 events. Explained next.File Access Capability only needed if you do local searchThree events on the right are explained in the next three slides.
  • @ 38:16Active app on search. Activation event happensTalk about PLM and search activation
  • @ 39:15- Your app is the Main app. Search pane query submitted. Query submitted event happens
  • @ 40:00- Happens when user types in the search app. Suggestions requested event happens. Can be async or not
  • Let’s just see it in action.. --- Demonstrate mostly the Windows Start Screen Show the desktop.. Mention nothing changed. Make sure you use touch … Highlight the following points Windows 8 Experience  Full screen apps Live tiles  Alive and in motion  Action: Drag & rearrange tiles  Semantic  Zoom in Start Menu Search  Personalize Windows  Swap across process Pin an app  Charms  Talking points to summarize Apps are full screen (when not snapped).. Responsive.   
  • @ 40:55-
  • APP-406T: Search: integrating into the Windows 8 search experiencehttp://channel9.msdn.com/Events/BUILD/BUILD2011/APP-406T
  • Share target view should resemble the app, but is tailored to the goal of sharing. Completion is for long running copies
  • Share target app is shown in a small viewPLM keeps target app alive till it has all the data.
  • Let’s just see it in action.. --- Demonstrate mostly the Windows Start Screen Show the desktop.. Mention nothing changed. Make sure you use touch … Highlight the following points Windows 8 Experience  Full screen apps Live tiles  Alive and in motion  Action: Drag & rearrange tiles  Semantic  Zoom in Start Menu Search  Personalize Windows  Swap across process Pin an app  Charms  Talking points to summarize Apps are full screen (when not snapped).. Responsive.   
  • WinRT is Windows 8 only
  • http://channel9.msdn.com/events/BUILD/BUILD2011/TOOL-834tFasterGC: Shorter pauses when doing Gen2 Collections, Better use of free space on Large Object HeapASP.NET: 35% faster cold startDataEF 4.5, Code FirstDeveloper ProductivityEnumsMigrationsBatch Sproc SupportDesigner highlighting and coloringSupport for new SQL Server 2012 and Azure FeaturesSpatial DatatypesStored Procedures with Multiple Result SetsTable-valued functionsHigh AvailabilityIncreased Enterprise ReadinessMultiple diagrams per ModelTPT query optimizationsAutomatic compiled LINQ queriesImproveWCFInteroperable UDP multi-cast channelTCP support for high-density scnearios (partial trust))Improved streaming supportConfiguration SimplicityBetter managebility via rich ETW & e2e tracingWPFRibbon MVVM improvementsMEFGenericsPOCOExplicit WiringWFC# ExpressionsState machinesVersioningContract First ServicesRuntime PerformanceDesigner Improvements (Performance, Usability, Integration with VS)BCLWeak ReferencesArraySegmentStreamsReadOnlyDictionaryCompressionBigger than 2GB Objects
  • Challenge: Callbacks turn your code inside outAllow composition using regular programming constructsFeel just like good old synchronous code!asyncmakes your method asynchronousawait makes the rest of your method a callbackTask lets you coordinate activities
  • Desktop Apps-> Port Windows 7 Desktop Apps to Windows 8 Desktop AppsMetro Apps-> Port Windows 7 Desktop Apps to Windows 8 Metro AppsWeb Application-> Port Web Applications to Windows 8 Metro AppsPortable Libraries-> Develop apps for different Plattforms (Silverlight, Windows Phone, Metro, …) with maximum reusability
  • Channel9: http://channel9.msdn.com/events/BUILD/BUILD2011/APP-116TWhitepaper: http://www.microsoft.com/en-us/download/confirmation.aspx?id=27414Certification Requirements: http://msdn.microsoft.com/library/windows/desktop/hh749939Compatibility Checkbook: http://www.microsoft.com/en-us/download/details.aspx?id=27416
  • http://msdn.microsoft.com/en-us/magazine/hh852593.aspxhttp://msdn.microsoft.com/en-us/library/hh563947(v=vs.110).aspx
  • Porting existing C# and VB code to the profile should be easyRemove dangerous, obsolete, and legacy APIs-e.g. Console, ASP.NETRemove APIs not applicable to Metro style appsRemove duplication (within .NET APIs and with WRT APIs)- e.g. ArrayList (with List<T>) and XML DOM (with WR XML API)Remove APIs that are OS API wrappers- e.g. EventLog, Performance CountersRemove badly designed APIshttp://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-790Chttp://channel9.msdn.com/events/BUILD/BUILD2011/TOOL-930Chttp://msdn.microsoft.com/en-us/library/windows/apps/br230302%28v%3DVS.85%29.aspx
  • Let’s just see it in action.. --- Demonstrate mostly the Windows Start Screen Show the desktop.. Mention nothing changed. Make sure you use touch … Highlight the following points Windows 8 Experience  Full screen apps Live tiles  Alive and in motion  Action: Drag & rearrange tiles  Semantic  Zoom in Start Menu Search  Personalize Windows  Swap across process Pin an app  Charms  Talking points to summarize Apps are full screen (when not snapped).. Responsive.   
  • Platform Adapter
  • Transcript

    • 1. • Windows 8 • .NET Framework 4.5  Overview  Async Await • Multiple Ways to Windows 8
    • 2. demo
    • 3. demo
    • 4. App gets 5s to handle suspend App is not notified before termination Apps are notified when they have been resumed User Launche s App Splash screen
    • 5. demo
    • 6. 3 Steps to implementing the Search Contract
    • 7. demo
    • 8. • Register for search  You can do this easily using Visual Studio templates • Register and respond to these 3 events:  Search activation  Query submitted  Suggestions requested • Provide search suggestions
    • 9. DataRequest.FailWithDisplayText DataTransferManager.showShareUI();
    • 10. Share Target
    • 11. demo
    • 12. Source • News • Magazine • Media • Games Target • Social networking • Communication • Entertainment • Print service • File sharing
    • 13. Clear ButtonSpell Checking Reveal Button
    • 14. var var
    • 15. public async Task<XElement> GetXmlAsync(string url) { var client = new HttpClient(); var response = await client.GetAsync(url); var text = response.Content.ReadAsString(); return XElement.Parse(text); } public Task<XElement> GetXmlAsync(string url) { var tcs = new TaskCompletionSource<XElement>(); var client = new HttpClient(); client.GetAsync(url).ContinueWith(task => { var response = task.Result; var text = response.Content.ReadAsString(); tcs.SetResult(XElement.Parse(text)); }); return tcs.Task; }
    • 16. Presentation
    • 17. demo
    • 18. REST / SOAP / Web Sockets
    • 19. Presentation

    ×