Max Knor Developer Evangelist Microsoft Österreich Embedded Development mit.NET oder „Small Is Beautiful“

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows Embedded “Quebec”: Developing For Devices
Amalga UIS Modules Medical Imaging Research Foundation Quality Measures Other HealthVault Partner Applications Microsoft Partner Solutions.
SQL Server 2005 CLR Integration ADO.NET 2.0 Mike Taulty
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Rob Williams Program Manager Microsoft Corporation.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Using.NET Skills To Build Mobile Applications In Compact Framework Punit Shah Technical Lead | Microsoft |
Session 1.
travel Suru Windows 7 Release NET 4.0 / Surface 2.0 Release Multi-Touch Controls Multi-Touch API Surface Multi-Touch Controls & API Surface.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
NEXT: Overview – Sharing skills & code.
FonePlus Hugh Teegan Architect Mobile Devices Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
Ian Ellison-Taylor General Manager Microsoft Corporation PC27.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Daniel Moth Microsoft
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
Introducing the Microsoft® .NET Framework
ASP.NET Core: Web apps, cloud apps, and containers
6/2/2018 4:08 AM BRK3327 Ten things you didn't know about building .NET UWP apps in Visual Studio 2017 Daniel Jacobson Program Manager – Visual Studio.
The Future of C# The Future of C# and VB 2-577
Mobile Application Development 2005 By Sam Nasr July 25, 2006
Возможности Excel 2010, о которых следует знать
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Building modern web applications with Visual Studio and Web Essentials
11/18/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Title of Presentation 12/2/2018 3:48 PM
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Jason Zander Unplugged
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
Presentation transcript:

Max Knor Developer Evangelist Microsoft Österreich Embedded Development mit.NET oder „Small Is Beautiful“

Windows Mobile Smartphone Functionality Windows Vista Tablet PC Windows Mobile Pocket PC Phone.NET Micro Framework Notebook PC Windows Automotive Portable Media Centre VoIP Phones Mobile Handhelds Gateways Set-top Boxes Medical Devices Windows-based Terminals Thin Clients Entertainment Devices Retail Point-of-Sale Office Automation ATMs / Kiosks Industrial Automation Set-top Box Wearable Devices Auxiliary Displays Remote Controls Sensor Networks Windows XP Embedded Windows CE

Embedded Devices are tiny platforms Remote Controls Data loggers Device Controllers Single Purpose Device The processor is there just to drive the device High volume/ Low cost No need for an operating System

C or C++ with low abstraction level Different tools and device drivers Debugging ?! Emulation / Testing ?! Reusability ?!

„.NET way of dev“ for Embedded Devices Same language: C# Managed environment Familiar APIs Visual Studio IDE Hardware Emulators

.NET on a “TINY Footprint” device <400 KB of RAM No memory management hardware No Operating System Applications run from Flash memory (EEPOM) Subset of the full.NET Framework

.NET Micro Framework Windows CEWindows XP Embedded Windows Vista Device Features Connected, Small, Wearable, Graphical UI Connected, Graphical UI, Server, Browser, RAS DirectX PC Class Performance, PC Class Networking FootprintARM 7, ARM 9, No MMU, KB, Managed Code X86, MIPS, SH4, ARM, with MMU, 12 MB Managed Code X86X86 Dual Core, 64 Bit, Multi Processor PowerVery Low PowerLow PowerMains

C# code compiled to MSIL code MSIL code compressed to.PE file (MetaDataProcessor.exe) MSIL code gets interpreted at runtime (NOT JIT compiled!) For code: normal.NET assembly

No strange bitmasks or control registers.NET MF provides abstraction Object Model with classes, events, …

// Which pin to connect Cpu.Pin pin = Cpu.Pin.GPIO_Pin3; // Create a port connected to a pin InputPort port = new InputPort( pin,//CPU pin false, //no glitch filter Port.ResistorMode.PullUp //resistor mode is up ); // Read from the pin If (port.Read()) Debug.Print(“signal high”); // Which pin to connect Cpu.Pin pin = Cpu.Pin.GPIO_Pin3; // Create a port connected to a pin InputPort port = new InputPort( pin,//CPU pin false, //no glitch filter Port.ResistorMode.PullUp //resistor mode is up ); // Read from the pin If (port.Read()) Debug.Print(“signal high”);

.NET Micro Framework works without OS Native execution using bootable runtime system

Serialization ~60% smaller than.NET Framework Reflection Remote Procedure Call (RPC) Invoke methods on remote objects (.NET Micro Framework custom implementation ) Security XTEA (symmetric), RSA (asymmetric) Exception handling Delegates / multicast delegates Typed Function pointers Enables events dispatching and event driven programming vs. poll driven Networking Support for wired and wireless Ethernet Sockets from System.Net namespace Managed Drivers C# implementations of GPIO, PWM, VTU32, I2C, SPI bus and USART

Services Description Discovery Protocols Services Description Discovery Protocols UI Controls HTML Web UI Controls HTML Web Runtime Interop Remoting Serialization Runtime Interop Remoting Serialization Design Configuration Cache Session state Security Imaging Drawing 2D Text Printing Design ADO.NET SQL ServerCE SQL Client Xslt/XPath XML Document Reader/writers Serialization Service process Configuration Threading Diagnostics Net IO Resources Reflection Security Collections Globalization Text Component model System.Drawing System.Windows.Forms System.Web System.Data System.XML System

Services Description Discovery Protocols Services Description Discovery Protocols UI Controls HTML Web UI Controls HTML Web Runtime Interop Remoting Serialization Runtime Interop Remoting Serialization Design Configuration Cache Session state Security Imaging Drawing 2D Text Printing Design ADO.NET SQL ServerCE SQL Client Xslt/XPath XML Document Reader/writers Serialization Service process Configuration Threading Diagnostics Net IO Resources Reflection Security Collections Globalization Text Component model System.Drawing System.Windows.Forms System.Web System.Data System.XML System

Services Description Discovery Protocols Services Description Discovery Protocols UI Controls HTML Web UI Controls HTML Web Runtime Interop Remoting Serialization Runtime Interop Remoting Serialization Design Configuration Cache Session state Security Imaging Drawing 2D Text Printing Design ADO.NET SQL ServerCE SQL Client Xslt/XPath XML Document Reader/writers Serialization Service process Configuration Threading Diagnostics Net IO Resources Reflection Security Collections Globalization Text Component model System.Drawing System.Windows.Forms System.Web System.Data System.XML System

Microsoft.SPOT.Hardware.pe Microsoft.SPOT.Emulator.dllEmulatorNative.dll Microsoft.SPOT.Native.pe Microsoft.SPOT.Graphics.pe MFApplication.pe MyEmulator.exe UI MyComponent EmulatorComponents SpiDevice GpioPort SpiDevice GpioPort my.config Configuration Engine x86 HAL / PAL TinyCLR (x86)

Microsoft.SPOT.Hardware.pe Microsoft.SPOT.Native.pe Microsoft.SPOT.Graphics.pe MFApplication.pe HAL / PAL TinyCLR

Two levels of display provision Simple bitmap support Images, shapes, simple text rendering and wrapping Windows Presentation Foundation WPF based display elements No XAML/Just Object Model

No file system for Micro Framework Store information in memory using standard.NET objects and value types Microsoft.SPOT.ExtendedWeakReference Maintain data between sessions Priority levels ID value = “filename”

Power Requirements Only execute code when necessary Reduce Thread.Sleep: use interrupts/events Debugging and Performance Tuning Debug.Print uses approx. 30ms of CPU time Aggregate statistics Subtract Debug.Print time

.NET Platform for Embedded Devices No operating system necessary Customizable Emulator Environment WPF subset for LCD displays

Interesting Blog on.NETMF framework/ Pull-up resistor D-4E0C-9A6D D8791E0/SocketClient_Meet_SocketServer.pdf

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.