La descarga está en progreso. Por favor, espere

La descarga está en progreso. Por favor, espere

417 129 906 USB3=10xUSB2. 5Gbps. 417 129 906.

Presentaciones similares


Presentación del tema: "417 129 906 USB3=10xUSB2. 5Gbps. 417 129 906."— Transcripción de la presentación:

1

2

3

4 417 129 906

5 USB3=10xUSB2. 5Gbps.

6

7

8 417 129 906

9

10

11

12

13

14

15

16 C#, VB C++ Javascript XAML HTML metro style app XAML

17 Qué es el Windows Runtime?

18 Devices Sensor s Geolocation Portabl e NFC Communications & Data Contracts XML Web SMS Networking Notifications Local & Cloud Storage Streams Background Transfer User Interface HTML5/CSSXAMLDirectXControls InputAccessibilityPrinting Data Binding TilesSVG Fundamentals Application Services AuthenticationCryptography Globalizatio n Memory ManagementThreading/Timers Media Visual Effects Playbac k PlayToCapture

19 Así se captura una imagen hoy en día en C#

20 Traditional Windows API Your Managed Code Manually Generated Interop Code

21

22 Windows Kernel Services JavaScript (Chakra) C/C++C#, VB Metro style Apps Communication & Data Application Model Devices & Printing Windows Runtime APIs Graphics & Media XAML HTML / CSS HTML JavaScrip t C C++ C# VB Desktop Apps Win32.NET SL Internet Explorer System Services View Model Controller Kernel

23

24 Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))

25 Object Windows Metadata C++ App Projectio n CLR C#/VB App Projectio n HTML App Chakra Projectio n

26 Your Managed Code Windows Runtime Windows 8 API

27

28

29 Ustedes ya tienen los conocimientos para construir aplicaciones Metro style con C# y VB

30 Usar Windows Runtime se siente natural y familiar desde C# y Visual Basic

31

32

33

34

35

36

37 FileOpenPicker picker = new FileOpenPicker(); picker.FileTypeFilter.Add("*"); StorageFile file = await picker.PickSingleFileAsync(); Windows.Storage.Streams.IInputStream inputStream = await file.OpenForReadAsync(); System.IO.Stream stream = inputStream.AsStream(); System.IO.StreamReader reader = new StreamReader(stream); string contents = reader.ReadToEnd();

38 Se pueden crear componentes de Windows Runtime en C++, C# or Visual Basic

39 Si quieres que tu código se pueda usar desde JS, C++, C# y VB, necesitas un componente WinRT

40

41 public sealed class MyClassLibrary { public string HelloWorld() { return "Hello, World!"; } }

42 Siguiendo unas pocas reglas, podremos lograr que nuestros componentesWinRT funcionen en C++ y JS!

43 Solo los tipos públicos en los componentes necesitan seguir estas reglas

44

45 public sealed class ManagedLibrary { public List GetNumbers() { List numbers = new List (); numbers.AddRange(new int[] {0,1,1,2,3}); return numbers; }

46 public sealed class ManagedLibrary { public IList GetNumbers() { List numbers = new List (); numbers.AddRange(new int[] {0,1,1,2,3}); return numbers; }

47 private async Task GetTweetTaskAsync() { string url = "http://api.twitter.com/1/statuses/" + "user_timeline.xml?screen_name=bldwin"; var http = new HttpClient(); var resp = await http.GetAsync(url); var xml = XDocument.Load(resp.Content.ContentReadStream); var str = xml.Descendants("text").Select(x => x.Value).First(); return str; }

48 public IAsyncOperation GetTweetAsync() { return AsyncInfoFactory.Create( () => this.GetTweetTaskAsync()); }

49

50 Ustedes ya tienen los conocimientos para construir aplicaciones Metro style con C# y VB

51 Influenciado por C# and VB Es natural y familiar desde C# and Visual Basic Permite construir nuestros propios componentes WinRT y apps impactantes y modernas

52

53 VIP Preview Marzo 6 Technical Training Readiness 16 horas 2 personas 20-23 marzo Asesoria durante el desarrollo 2 eventos – 2 horas Abril Excelence Lab Mayo 7 Windows 8 Launch H2 Qué sigue…….

54 Great use of the template= a few tiny tweaks, but it looks very nice. Good luck in rehearsals today! -hannaha


Descargar ppt "417 129 906 USB3=10xUSB2. 5Gbps. 417 129 906."

Presentaciones similares


Anuncios Google