资源描述
Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,*,.Net Compact Framework,A Mostly Straight Path, but with Some Interesting Curves,Richard Kucia,Kucia Associates,440-892-3838,rjkucia,2003.09.09,Agenda,What is the.Net CompactFramework?,Developing in a CompactWorld,Inclusions and Exclusions,Examples,What is the.Net CF?,Target: Mobile Devices,The Same Framework, but,“,“optimized”,Integrated into VS.Net 2003,Formerly: “Smart DeviceExtensions”,.NET CF Design Goals,Portable andsmall.NETCLR for devices,EnableVisual Basic andC#,Leverage Visual Studio.NET,Run managed.EXEsand .DLLs directly,Debugwith VisualStudio.NET,EnablerichclientWeb Services andline of business applicationson devices,Classlibs for forms, drawing,storage, net, data access, XML,Peacefully co-exist withhostOS,Run onnative threads, P/Invoke to call native code,Target: Mobile Devices,Compaq, HP,Dell,Toshiba, ,PocketPC 2000, 2002,Windows Mobile (aka PPC2003),.Net CF in ROM!,Windows CE,SmartPhone,No Palm/Handspring,Target: Mobile Devices,Developer Productivity Implications,Technical,Business,Familiar dev experience same tools and process,Different approach to application design, but core development skills transfer,Technical benefits of platform and tools yield productivity boost,“,Desktop” training on .NET is fully applicable to smart devices,Desktop developers can now target devices with low incremental cost,.NET developer productivity gains apply to smart devices as they do to the desktop and server,The Framework “Optimized”,20mb,1.5mb,True subset, no breaking changes,Same languages, same code, same MSIL,Multiple target CPUs,How Rich isthe WorkingEnvironment?,CLR,JIT,Garbage Collection,Type safety;exceptions,Threading,Windows OS (PInvoke),SQL Server CE includingreplication,ActiveSync,RemoteViewer,Web Services,Sockets/Streams,ADO.Net,Graphics,.NET Framework,System,System.Data,System.Xml,System.Web,Globalization,Text,Security,Collections,Resources,Reflection,Net,IO,Threading,Diagnostics,ServiceProcess,Configuration,Design,ADO.NET,SqlClient,Xslt/XPath,XmlDocument,Runtime,InteropServices,Remoting,Serialization,Serialization,Configuration,SessionState,Caching,Security,Services,Description,Discovery,Protocols,UI,HtmlControls,WebControls,System.Drawing,Imaging,Drawing2D,Text,Printing,System.WinForms,Design,ComponentModel,Reader/Writers,.NET CompactFramework,System,System.Data,System.Xml,System.Web,Globalization,Text,Security,Collections,Resources,Reflection,Net,IO,Threading,Diagnostics,ServiceProcess,Configuration,Design,ADO.NET,SqlServerCe,SqlClient,Xslt/XPath,XmlDocument,Runtime,InteropServices,Remoting,Serialization,Serialization,Configuration,SessionState,Caching,Security,Services,Description,Discovery,Protocols,UI,HtmlControls,WebControls,System.Drawing,Imaging,Drawing2D,Text,Printing,System.WinForms,Design,ComponentModel,Reader/Writers,Agenda,What is the.Net CompactFramework?,Developing in a CompactWorld,Inclusions and Exclusions,Examples,Developing in a CompactWorld,VS.Net2003installationoption,C#, VB.Net,True on-device debugging,If youcan get itconnected,Emulator,Deployment,Developing in a CompactWorld,VS.NETIntegration,Templates for devices inNew Projectdialog,Template sets device andproject type,Template types,PocketPC Application,PocketPC Class Library,PocketPC ControlLibrary,Windows CE .NET Application,MobilePhoneApplication,Default setof references thatare appropriate for your platform,Developing in a CompactWorld,Overview ofControls,Use WindowsFormsDesigner,Drag-and-drop, property-based,Rich subsetof desktop controls,User Interface controls,Data Entry,Display,Formatting &RAD controls,Organizational controls,Helpercontrols,Data Entry,CheckBox,ComboBox,Command Button,DomainUp/Down,List Box,Numeric Up/Down,RadioButton,Text Box,TrackBar,Display,Label,Picture Box,Progress Bar,StatusBar,Helper,Context Menu,ScrollBars,ImageList,Main Menu,Open &SaveFile Dialogs,Timer,Tool Bar,Organizational,List View,Panel,Tab Control,Tree View,Developing in a CompactWorld,Subsetof DesktopControls,Controls,Not,Supported,Checked ListBox,Data Grid,DateTime Picker,GroupBox,MonthCalendar,Splitter,Developing in a CompactWorld,CustomizingEmulator Settings,FullyFunctional PocketPC 2002OS Emulator,Options to changedeviceconfigurations and connectivity,Resolution &ColorDepth,Memory,COM &LPT ports!,Developing in a CompactWorld,Deployment,Same user experience asdesktop,Compiles application fordevice,OutputWindow usedfor deployment messages,VisualStudio deploys the frameworkto device ifneeded,Packaging and Deployment,Windows +Visual Studio .NET,Source Code,(Hello.*),.NET,Compiler,.NET CF,Class Libs,Hello.exeHello.dll(s),Hello.cab,CabWiz.exe,Hello.cab,Device,ActiveSync, SMS, Etc/.,Hello.exeHello.dll(s),WCELoad.exe,.NET CF.cab,Per-Processor/OS and Language/Region,.NET CF.cab,.NET CF,CLR,MoreDeploymentOptions,Windows +Visual Studio .NET,Device,Hello.cab,.NET CF.cab,DesktopExecutables,Windows,Setup.exe,Setup.exe,ActiveSync, Add/RemovePrograms, Etc.,Hello.cab,DesktopExecutables,+,.NET CF.cab,Hello.cab,Hello.exeHello.dll(s),.NET CF.cab,.NET CF,CLR,Agenda,Whatis the .Net CompactFramework?,Developingin aCompact World,InclusionsandExclusions,Examples,.NETCompact Framework,Whats Different?,Specific performanceissues,XML,Formloading,SQL ServerCE,Emphasis on File Size,Emphasis on Memory Footprint,.NETCompact Framework,Whats Different?,Controls unimplemented,Control properties removed,Control properties unimplemented,Method overloads removed,No Consoleor Debugobjects,No SerialPortsupport,.NETCompact Framework,Whats Different?,Form-factor andGUIguidelineissues,No MDI applications,No ActiveXcontrolsin forms,Applications that dont reallyclose,Open/Savedialog for,“,“MyDocuments,”,”,No file system(C:/?),.resxfileformat,.NETCompact Framework,Whats Different?,Cantdeploy tosubdirectories,No Merge modules,“My Company” .cab files,No pre-compiling (NGen),.NETCompact Framework,Whats Different?,No designer forcustom controls,No supportforPocket Access,No supportforPocket Office,Expensivelicensingfor SQL ServerCE,.NETCompact Framework,Whats Different?,Debugging:remarkable yetfrustrating,Single-in,step-thru,Command,Watch,Breakpoint,No Consoleor Debugobjects,No “set next instructionto execute,”,”,.NETCompact Framework,Whats Different?,ReflectionEmit,Remoting,Serialization,CodeDom,Printing,COM Interoperability,Server side functionality,XPath/XSLT,Agenda,Whatis the .Net CompactFramework?,Developingin aCompact World,InclusionsandExclusions,Examples,For More Information,MSDNWeb site at,How-To Resources,Simple, Step-By-StepProcedures,Embedded DevelopmentHow-To Resources,General How-ToResources,integration How-To Resources,JScript .NET How-ToResources,.NETDevelopment How-To Resources,office Development Resources,Security How-ToResources,Visual Basic,.NETHow-To Resources,Visual C#,.NETHow-To Resources,Visual Studio,.NETHow-To Resources,Web DevelopmentHow-To Resources (ASP, IIS, XML),Web Services How-ToResources,Windows DevelopmentHow-To Resources, Live OnlineEvent,MS Press,EssentialResourcesfor Developers,Training,Training Resources for Developers,To locatea trainingproviderfor this course, please access, Microsoftspremier partners for trainingservices,Specifications,TRS SeriesRotary with Planetary Gear,TLS SeriesLinear,
展开阅读全文