Net Framework Jim Fawcett CSE 681 Software Modeling
- Slides: 13
. Net Framework Jim Fawcett CSE 681 – Software Modeling & Analysis Fall 2002
System Namespace Provides basic services required by most programs. Important Objects: n App. Domain, Array, Console, Convert, Date. Time, Environment, Event. Args, Exception, Marshal. By. Ref. Object, Math, Multicast. Delegate, Object, Random, String, Type Important Interfaces: n ICloneable, IComparable, Idisposable Example Project: n Random. Events. sln in folder “Random. Events”
System. Collections Provides data structures that are typed to hold objects. Important Objects: n Array. List, Bit. Array, Hashtable, Queue, Sorted. List, Stack Important Interfaces: n ICollection, IComparer, IDictionary. Enumerator, IEnumerable, IEnumerator, Ilist Example Project: n Collections. sln in folder “Collections”
System. Collections. Specialized Provides specialized containers and containers for specific types. Important objects: n Hybrid. Dictionary, List. Dictionary, Keys. Collection, String. Dictionary, String. Enumerator
System. IO Supports use of Directories and Files Important objects: n Binary. Reader, Binary. Writer, Directory. Info, File. Stream, File. System. Info, File. System. Watcher, Path, Text. Reader, Text. Writer Example Projects: n n n Navigate. sln in folder “Navigate” Navigate. With. Delegates. sln in folder “Navigate. With. Delegates” demo. Args. sln in folder “command. Line”
System. Text Supports building strings and converting blocks of characters to and from blocks of bytes. Important Classes: n Decoder, Encoder, String. Builder
System. Net Supports web-related network operations Important Classes: n Dns, Http. Web. Request, Http. Web. Response, IPAddress, Web. Client, Web. Proxy, Web. Request, Web. Response
System. Net. Sockets Supports network programming with sockets. Important Classes: n Socket, Tcp. Client, Tcp. Listener, Udp. Client We will be covering these in detail next week.
System. Runtime. Remoting Supports the abstraction of calls to a remote object. Important Classes: n Remoting. Services, Well. Known. Client. Type. Entry, Well. Known. Service. Type. Entry Important Enumeration: n Well. Known. Object. Mode Remoting will be important for Projects #3 and #4.
System. Windows. Forms Supports Windows GUI programming. Important Objects: n Application, Control, Form. Control. Collection, Menu. Item, Message. Box, Native. Window, Screen, Timer n Dialogs: w Color. Dialog, File. Dialog, Font. Dialog, Open. File. Dialog, Print. Dialog, Save. File. Dialog n Controls: w Button, Check. Box, Combo. Box, Data. Grid, Date. Time. Picker, Group. Box, Label, List. Box, List. View, Month. Calendar, Panel, Picture. Box, Progress. Bar, Radio. Button, Rich. Text. Box, Scroll. Bar, Splitter, Status. Bar, Tab. Control, Tab. Page, Text. Box, Tool. Bar, Tool. Tip, Track. Bar, Tree. View Example Projects: n n n Win. Form. Demo. sln in folder “Win Form Demo/Win. Form Demo” File. Dialog. sln in folder “File. Dialog. Demo” Dir. Mgr. sln in folder “Dir. Mgr”
System. Xml Provides support for reading, parsing, and writing XML. Important Classes: n Xml. Document, Xml. Element, Xml. Node. List, Xml. Node. Reader, Xml. Text. Writer Example Projects: n xml. Node. Reader, xml. Text. Writer
System. Threading Supports the creation and synchronization of threads. Important Classes: n n Thread, Thread. Pool, Timer, Wait. Handle Interlocked, Monitor, Mutex, Reader. Writer. Lock Example Projects: n n Thread. Demo 1. sln in folder “Thread. Demo 1” delegate. Demo. sln in folder “delegate. Demos” w Project thread. Demo. csproj in folder “thread. Demo”
System. Runtime. Interop. Services Provides access to native APIs and COM objects. Important Objects: n Dll. Import. Attribute Example Project: n n Protype. Timer. sln in folder “timing, interop” Unmanaged. sln in folder “unmanaged C++”