Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using.NET 3.0 in Embedded Applications Frank Prengel Developer Evangelist Microsoft Germany

Similar presentations


Presentation on theme: "Using.NET 3.0 in Embedded Applications Frank Prengel Developer Evangelist Microsoft Germany"— Presentation transcript:

1 Using.NET 3.0 in Embedded Applications Frank Prengel Developer Evangelist Microsoft Germany http://blogs.msdn.com/frankpr

2 Agenda.NET 3.0 in embedded applications: Why? Scenarios Examples Short intro to Windows XP Embedded.NET 3.0 in embedded applications: How? Setup & config in Windows Embedded Studio Building a device image Other.NET 3.x technologies for embedded applications

3 .NET in the Embedded World

4 You all know.NETFx 3.0 Vector-based Resolution independent Rich media 3D user interfaces Windows Communication Foundation Secure Web services Reliable transacted distributed apps Interoperability with WS-* protocols Any transport and any host Engine & tools for building workflow- enabled composite apps System and human workflow Bringing workflow mainstream Windows Presentation Foundation Windows Workflow Foundation Windows CardSpace Streamlines user registration and one-click login Mitigates common attack vectors (Phishing) Seamless integration with WCF

5 WPF is … Unified approach to UI, Documents, and Media Integration as part of development and experience Integrated, vector-based composition engine Utilizing the power of the PC throughout the graphics stack Declarative programming (XAML) Bringing designers directly into application development Ease of deployment (ClickOnce) Allowing administrators to deploy and manage applications securely

6 WCF is … Broad Support for WS-* specifications Compatible with existing MS distributed application technologies Unifies today’s distributed technologies Attribute-based development Visual Studio 2005 integration Enables development of loosely-coupled services Config-based communication

7 EX: Run Automated Test EX: Operate Machine A Set Of Activities That Coordinates People And / Or Software... Like a flowchart…. Or a state diagram…. WF is … Aspects: Flexible Control Flow Stateful Long Running Visualization Design Extensible Reuse

8 WPF & Embedded? HMI – Machine Control Media Device UI Process Visualization & Control Shopping – Kiosk Systems Gambling machines

9 WCF & Embedded? Services-Oriented Enterprise Devices Consuming external services Offering services – hosted on the device Flexible integration into infrastructure Config-based communications setup

10 WF & Embedded? Well-defined process workflow State machine implementations Guiding human operators Testing frameworks Creation of user-defined workflows Hosting the Workflow designer

11 Example: Crate & Barrel

12 Example: InoSoft

13 Short Intro to XP Embedded

14 Componentized version of Windows XP Professional Over 12,000 components to flexibly build a customized device Rapid Development Windows Embedded Studio: Powerful tools for building custom devices Extensive support for Win32 and low-cost PC hardware Reliable Built on the robust Windows XP Kernel SP2 adds more on security.NET Framework 1.1 Embedded specific capabilities to increase reliability in devices Windows XP Embedded SP2

15 Embedded Enabling Features (EEF) Alternative Non-Volatile Boot Media CD-ROM, uDiskOnChip, Flash Enhanced Write Filter (EWF) Technology Allows the Windows XP Embedded operating system to boot from any read-only media Remote Management Headless Operation Hibernate Once, Resume Many (HORM) System Message Interception Custom Shell

16 XP Embedded Development Application Binaries Application Components OS Image App, OS and EEF Components Hardware Definition

17

18 XPe Feature Pack 2007.NET Framework 2.0 File-Based Write Filter USB 2.0 Boot New Components Command Line Tools Reduced Dependencies Generics ClickOnce …

19 Update Rollup 1.0 for XPe.NET Framework 3.0 Setup Enhancements to USB Boot & FBWF Internet Explorer 7 Windows Media Player 11 UMDF RDP 6.0 WPF WCF WF

20 .NET Framework 3.0 Setup Including this component does not lead to a pre- installed.NET Framework 3.0 This only contains NETFx 3.0 dependencies Need to add the desktop installer for NETFx 3.0 (dotnetfx3.exe) to the image yourself Create a custom component Can run this setup manually (post-FBA) or as part of FBA

21 NETFx 3.0 Dependencies Accessibility Core Active Directory Service Interface (ADSI) Core Base Performance Counters COM+ Services Common Control Libraries Version 5 Common File Dialogs Distributed Transaction Coordinator (MSDTC) Down-level Shell Compat GDI+ XP HTML Help Engine Internet Explorer Local Security Authority Subsystem (LSASS) Message Queuing (MSMQ) Core Microsoft Data Access Components (MDAC) Microsoft Management Console (MMC) Microsoft Visual C++ Run Time Microsoft-Windows-HTTP Ole Automation OLE Dialog Interfaces Performance Counter Configuration Performance Data Helper Primitive: Cabinet Primitive: Crypt32 IIS Web Server Primitive: CryptUI Primitive: Dbgeng Primitive: Dbghelp Primitive: Imagehlp Primitive: Imm32 Primitive: Mpr Primitive: Msi Primitive: Msimg32 Primitive: Mswsock Primitive: Netapi32 Primitive: Ntdll Primitive: Ole32 Primitive: Oleaut32 Primitive: Psapi Primitive: Secur32 Primitive: Security Primitive: Setupapi Primitive: Shell32 Primitive: Shlwapi Primitive: Userenv Primitive: uxtheme Primitive: Version Primitive: Winmm Primitive: Winspool Primitive: Wintrust Primitive: Ws2_32 Primitive: Wsock32 Primitive: Wtsapi32 Registry Editor Remote Registry Service Rich Edit Control Version 3.0 RPC Local Support System Restore Core Urlmon Library Video For Windows Core Windows API – Advanced Windows API – GDI Windows API – Kernel Windows API – User Windows Installer Service Windows Logon Wininet Library WMI Core WMI Tools WMI Win32 Provider DirectX 9.0c

22 Including NETFx 3.0 Setup

23 Configuring NETFx 3.0 Setup

24 Things to note NETFx 3.0 increases OS image footprint by ~ 60 MB + dependencies Good WPF UX may require DirectX 9.0c + corresponding hardware WF: Test performance before using it for time-critical scenarios http://msdn2.microsoft.com/en- us/netframework/aa973808.aspx

25 Building a.NET 3.0 enabled OS Image

26 Btw… Some.NET 3.x technologies are supported on other embedded platforms

27 WCF in the.NET Compact Framework 3.5 Desktop (>10 MB)Device (< 1 MB) Endpoints, Contracts, Config files, etc… Messages, Bindings, Transports

28 WCF in the.NET CF 3.5: Features http://blogs.msdn.com/andrewarnottms/ archive/2007/08/21/ The-WCF-subset-supported-by-NetCF.aspx Transport HTTP TCP Pipes MSMQ Exchange Custom EncodingSecurityReliability Protocol Text Binary Custom MTOM WS-* Custom WS-* Custom WS-* Custom HTTP Text WS-*

29 WPF in the.NET Micro Framework NETMF has a WPF-based object model Input event routing Layout system Content sizing Text flow Nestable controls Bitmap Fonts Images Pens, brushes, colors Vector Primitives Alpha-blending Applicable to all primitives No XAML

30 Summary There are lots of embedded scenarios that greatly benefit from WPF, WCF, and WF. Update Rollup 1.0 for XPe makes using.NET 3.0 in embedded applications easier..NET 3.0 has higher hardware requirements.

31 Resources Technical Communities, Webcasts, Blogs, Chats & User Groups http://www.microsoft.com/communities/default.mspx http://www.microsoft.com/communities/default.mspx Microsoft Learning and Certification http://www.microsoft.com/learning/default.mspx http://www.microsoft.com/learning/default.mspx Microsoft Developer Network (MSDN) & TechNet http://microsoft.com/msdn http://microsoft.com/technet http://microsoft.com/msdn http://microsoft.com/technet Trial Software and Virtual Labs http://www.microsoft.com/technet/downloads/trials/defa ult.mspx http://www.microsoft.com/technet/downloads/trials/defa ult.mspx New, as a pilot for 2007, the Breakout sessions will be available post event, in the TechEd Video Library, via the My Event page of the website Required slide: Please customize this slide with the resources relevant to your session MSDN Library Knowledge Base Forums MSDN Magazine User Groups Newsgroups E-learning Product Evaluations Videos Webcasts V-labs Blogs MVPs Certification Chats learn support connect subscribe Visit MSDN in the ATE Pavilion and get a FREE 180-day trial of MS Visual Studio Team System!

32 Complete your evaluation on the My Event pages of the website at the CommNet or the Feedback Terminals to win!

33 © 2007 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "Using.NET 3.0 in Embedded Applications Frank Prengel Developer Evangelist Microsoft Germany"

Similar presentations


Ads by Google