Introduction .NET Microsoft Mobility
Total Page:16
File Type:pdf, Size:1020Kb
IntroductionIntroduction .NET.NET MicrosoftMicrosoft MobilityMobility MSMS EmbeddedEmbedded PlatformsPlatforms Core WinCE WinCE.NET 3.0 4.X Handheld Pocket Pocket Smartphone WinCE.NET Pocket PC 2000 PC2000 PC 2002 2002 4.2 PC 2003 PA960 PA950 DeveloperDeveloper ToolsTools eMbedded Visual Tools Visual Studio .NET eVC++ 3.0 eVB 3.0 eVC++ 4.0 .NET CF ASP.NET Pocket PC 2000 P l Pocket PC 2002 a Handheld PC t f SP 2002 o Pocket PC 2003 r m WinCE.NET Non-Microsoft eMbedded eMbedded Visual Tools 3.0 Standalone IDE for developmentVisual of applications for ToolsWinCE3.0, built with Platform Builder 3.0 Visual Tools Use to create native applications where direct access to operating system APIs required Processor intensive Device drivers Code that runs natively on the device More like VBScript than Visual Basic 6.0 Only data type is Code is interpreted at runtime Performance not as good as native applications (eMbedded Visual C++) or managed applicationsVariant (.NET Compact Framework) eMbeddedCannot Visual create Basic COM is not objects recommended for future development MS; ”.NET Compact Framework is recommended for most new development” eMbeddedeMbedded VisualVisual C++C++ 4.04.0 New version of eMbedded Visual C++ Visual C++ 4.0 Use to build applications for Windows CE .NET Identical in appearance to eVC++ V3.0 SDK allows access to new features in Windows CE .NET Can be installed alongside eMbedded Visual C++ 3.0 Free download from http://msdn.microsoft.com/vstudio/device/embedded/download.asp VisualVisual StudioStudio .NET.NET Complete development environment for; PC(Laptop) Stand Alone/Client Applications Server Applications Mobile Applications (Not Laptop) SmartPhone PocketPC WinCE.NET Others; now merely browser devices (no .NET plug-ins for Non-Windows) VisualVisual StudioStudio .NET.NET .NET EXE .NET Compact Framework Common Language Runtime Visual C# .NET Native Code Visual VB .NET Microsoft OS Just In Time Intermediate Managed Native Compiler .NET Language Code Code Native Code (JIT) Class (MSIL) (DLL’s) Library’s .NET.NET CompactCompact FrameworkFramework Fact Benefit High performance runtime on the device Developer Tools fully integrated into Code compiled to native code by JIT Visual Studio .NET compiler Same developer tools for desktop and Runtime allocates memory, Garbage mobility devices Collector deletes unreferenced objects Same programming languages – No memory leaks! Runtime guarantees type safety, Class Libraries are a subset of those prevents buffer overruns and other on the deskop common programming errors Where a class or method is supported, Developers work with classes in the usage is identical Base Class Libraries (BCL) Easier than WinCE API, ATL or MFC File handling, I/O, Windows GUI, data access, XML document processing, Remote debugging on emulator/real XML Web Services etc.. device Provides an abstraction from the Simple access to new technologies complexities of the underlying operating such as XML Web Services system More productive developers! .NET Compact Framework implements a compatible subset of the classes in the desktop .NET Framework ASP.NETASP.NET Inter/Intra net Any device with Microsoft Internet Web-browser ASP.NET Information Server ASPX (IIS) (HTML) Adoptive Rendering ASP.NET,ASP.NET, XMLXML WebserviceWebservice .NET EXE .NET Compact Framework Common Language Runtime Inter/Intra SOAP OS net SQL IIS ASP.NET Server ASPX Other Data source Simple Object Access Protocol SQLSQL ServerServer CECE .NET EXE .NET Compact Framework Common Language Runtime ADO.NET Inter/Intra SQL CE CLIENT OS net SQL CE IIS SQL Pocket RDA Server Server Access or (.cdb) Replication Remote Data Access .NET.NET ConnectivityConnectivity ReferencesReferences Microsoft Mobility Information Building .NET http://www.microsoft.com/mobile applications for mobile devices Visual Studio .NET ISBN 0-7356-1532-2 http://msdn.microsoft.com/vstudio Microsoft .NET Compact Framework DotNet .NET Compact Framework ISBN 0-7356-1725-2 http://www.gotdotnet.com/team/netcf eMbedded Visual Tools http://msdn.microsoft.com/vstudio/device/embedded/default.asp SQL Server CE V2.0 http://www.microsoft.com/sql/ce/productinfo Microsoft Mobile Information Server http://www.microsoft.com/miserver.