
Pro CSharp And The .NET 2.0 Platform (2005) [eng]
.pdf

■I N D E X 975
Remove( ) method |
separation of concerns, objects, 72 |
ASP.NET, 908 |
Serializable attribute, 409 |
ASP.NET HttpApplicationState members, 898 |
serialization |
ControlCollection, 702 |
BinaryFormatter object graph contents, 557 |
System.MulticastDelegate/System Delegate, |
collections, 555–56 |
263 |
customizing using attributes, 560–61 |
RemoveAll( ) method |
customizing using ISerializable, 558–60 |
ASP.NET, 908 |
definition, 545 |
ASP.NET HttpApplicationState members, 898 |
GetObjectData( ) method, 558–60 |
System.MulticastDelegate/System Delegate, |
IFormatter interface, 549 |
263 |
ISerializable interface, 557 |
RemoveAt( ) method |
object graph, 546 |
ASP.NET HttpApplicationState members, 898 |
ObjectIDGenerator, 557 |
ControlCollection, 702 |
OnDeserializedAttribute, 557 |
removing controls, ASP.NET, 869–70 |
OnDeserializingAttribute, 557 |
Renew( ) method, ILease interface remoting, |
OnSerializedAttribute, 557 |
593 |
OnSerializingAttribute, 557 |
RenewOnCallTime, ILease interface remoting, |
OptionalField attribute, 561–63 |
593 |
OptionalFieldAttribute, 557 |
Request, ASP.NET HttpApplication members, |
overview, 545 |
897 |
persisting user preferences example, |
Request, Page Type properties, ASP.NET, 856 |
545–46 |
request/response cycle, HTTP, 829 |
public and private fields, public properties, |
RequiredFieldValidator control, ASP.NET, |
548 |
884–85 |
Serializable attribute, 547–48 |
resource writers in .NET, 694 |
SerializationInfo, 557 |
ResourceResolve event, System.AppDomain, 436 |
System.Runtime.Serialization.Formatters.Bin |
resources in .NET, 691–93 |
ary namespace, 548 |
resources using Visual Studio 2005, 694–95, 697 |
type fidelity, 550 |
Responding, System.Diagnostics.Process, 429 |
versioning, 561–63 |
Response |
SerializationInfo, serialization, 557 |
ASP.NET HttpApplication members, 897 |
Serialized attribute, 409 |
Page Type properties, ASP.NET, 856 |
Server |
Resume( ) method, Thread type, 460 |
ASP.NET HttpApplication members, 897 |
.resx files, 691–93 |
Page Type properties, ASP.NET, 857 |
ResXResourceWriter, 694 |
server controls in ASP.NET, 865–66 |
return value, interface used as, 228 |
Server property, WebService base class, 929 |
role of XML web services, 919–20 |
server-side configuration files, remoting, |
root, application, 182 |
584–85 |
Root property, DirectoryInfo class, 520 |
service element, WSDL document elements, |
round-trip engineering, 481–85 |
939–40 |
RowState, ADO.NET DataRow object, 798 |
Session, ASP.NET HttpApplication members, |
RPC protocol, 940 |
897 |
runat attribute, ASP.NET, 847 |
session cookies, ASP.NET, 909–10 |
runtimes, MFC, VB 6, Java and .NET, 20 |
session data, ASP.NET, 906–8 |
■S |
Session, Page Type properties, ASP.NET, 857 |
Session property, WebService base class, 929 |
|
SaveAs( ) method, ASP.NET HTTP Request, 858 |
session state and web.config, XML web services, |
saving CIL code using ildasm.exe, 481–83 |
935 |
script block, ASP.NET, 847 |
Session_End( ), Global.asax event handlers in |
ScrollBars property, Textbox, 705 |
ASP.NET, 896 |
sealed classes, 159, 164 |
Session_Start( ), Global.asax event handlers in |
Seek( ) method |
ASP.NET, 896 |
BinaryWriter class, 538 |
SessionID, ASP.NET, 908 |
Stream class, System.IO, 532 |
sessionState element, Web.config, ASP.NET, 913, |
SelectedIndex property, DomainUpDown, 728 |
915–16 |
SelectedItem property, DomainUpDown, 728 |
SetLength( ) method, Stream class, System.IO, |
Semaphore type, System.Threading |
532 |
Namespace, 459 |
shallow copy, cloneable objects (ICloneable), |
|
238–41 |


■I N D E X 977
ExecuteAssembly( ), 436 |
System.Drawing.Brush, 677 |
GetAssemblies( ), 436 |
System.Drawing.Drawing2D |
GetCurrentThreadId( ), 435 |
core classes, 672 |
Load( ), 436, 438 |
GDI+ namespaces, 650 |
ProcessExit event, 436 |
Pen types, 673–74 |
ResourceResolve event, 436 |
Pens, LineCap, 675–76 |
TypeResolve event, 436 |
System.Drawing.Font, GDI+, 665 |
UnhandledException event, 436 |
System.Drawing.Graphics class |
Unload( ), 436, 439–40 |
methods, 653 |
System.ApplicationException, structured |
Paint sessions, 655–56 |
exception handling, 208–10 |
properties, 654 |
System.Array, 130 |
System.Drawing.Image, 682, 684 |
System.Boolean, 120 |
System.Drawing.Imaging, GDI+ namespaces, |
System.Char, 121 |
650 |
SystemCLSCompliant( ), CLS compliance |
System.Drawing.Printing, GDI+ namespaces, |
verification, 20 |
650 |
System.Collection.ArrayList, indexer technique, |
System.Drawing.Text, GDI+ namespaces, 650 |
290–91 |
System.Enum, 109–10 |
System.Collections class types, 249 |
System.Environment class, 68–69 |
ArrayList, 250–51 |
System.EventHandler, Application Exit, 611 |
Hashtable, 250 |
System.Exception |
Queue, 250–52 |
Data property, 200, 206–7 |
SortedList, 250 |
HelpLink property, 200, 206 |
Stack, 250, 252–53 |
InnerException property, 200 |
System.Collections interfaces, 247–49 |
Message property, 200, 210 |
System.Collections.Generic class overview, 321 |
StackTrace property, 200, 205 |
System.Collections.Generic.List<> |
TargetSite property, 200, 204 |
CIL code, 326 |
System.GC, 185–87 |
classes, 327 |
System.Guid, 240–42 |
generics, 325 |
System.MarshalByRefObject |
naming convention, 327 |
CreateObjRef( ), 572 |
nongeneric namespaces, 327 |
Form object inheritance chain, 612 |
nongeneric namespaces mimiced, 326 |
GetLifetimeServices( ), 572 |
System.Collections.Specialized, 253 |
InitializeLifetimeServices( ), 572 |
System.Collections.Specialized.ListDictionary, |
System.MulticastDelegate base class, 262 |
indexer technique, 291–92 |
System.MulticastDelegate/System Delegate |
System.ComponentModel, 746 |
members, 263 |
System.ComponentModel.Component, Form |
System.Nullable<T>, 132 |
object inheritance chain, 612 |
System.Object, 111 |
System.Configuration namespace, 387 |
default behavior, 112–13 |
System.Console class, 73–75 |
Equals( ), 117 |
basic I/O, 73 |
Equals( ), operator overloading, 296–97 |
formatting output, 74–75 |
Form object inheritance chain, 612 |
System.ContextBoundObject, 441 |
GetType( ) method, 397 |
System.Data, ADO.NET, 764–65 |
instance-level members, 111 |
Contraint, 764 |
overriding default behavior, 113 |
DataColumn, 764 |
overriding Equals( ), 114–15 |
DataRelation, 764 |
overriding GetHashCode( ), 115–16 |
DataRow, 764 |
overriding members example, 116 |
System.DateTime, 122 |
overriding ToString( ), 114 |
System.Delegate base class, 262 |
ReferenceEquals( ), 117 |
System.Diagnostics namespace, 428 |
static members, 117 |
System.Diagnostics.Process, 428–29 |
vs. System.ValueType, 97 |
System.Drawing, GDI+ namespaces, 650 |
System.OverflowException, 307–9 |
System.Drawing namespace |
System.Reflection, 396 |
core types, 650–51 |
System.Reflection.Emit namespace |
Point(F) type, 651–52 |
creating dynamic CIL assemblies, 505 |
Rectangle(F) type, 652–53 |
overview, 477 |
Region class, 653 |
System.Reflection.Emit.ILGenerator, 506 |
utility types, 651 |
System.Resources namespace, 691 |




■I N D E X 981
application shutdown, 900 |
Win 32 binaries (*.dll or *.exe), 10 |
applications vs. sessions, 897 |
Win32 file header in assemblies, 349 |
configuration inheritance, 917–18 |
Windows Distributed interNet Applications |
control state, state management, 894 |
Architecture (DNA) deficiencies, 5 |
cookies creation, 909–10 |
Windows forms controls, 699 |
custom view states, state management, |
Windows forms snap-in example, 421–22 |
893–94 |
Windows objects and Graphics objects, GDI+, |
data caching, 901, 903–5 |
657 |
Global.asax file, 894–96 |
Windows service installation, 600–601 |
HttpApplication type overview, 889 |
Windows XP Home Edition and ASP.NET, 832 |
HttpSessionState members, 908 |
Windows.Forms coding |
maintaining session data, 906–8 |
+= operator, 610 |
modifying application data, 899–900 |
Application class, 609 |
overview, 889 |
ApplicationExit event, 609–10 |
per user data stores, 906–8 |
coding the main window, 607–8 |
persistence of cookies, 909–10 |
Form class, 607 |
problems in state management, 889–91 |
Form object inheritance chain, 611 |
reading cookies, 911–12 |
keyboard input, 614, 617 |
session cookies, 909–10 |
mouse events, 615–17 |
session data, 906–8 |
overview, 606 |
site administration utility, 916–17 |
reflecting static attributes, 609 |
state management overview, 889 |
responding to events, 614–17 |
state management techniques, 891 |
separating Main( ) method from main |
view state, state management, 891–93 |
window, 608 |
Web Application Administration utility, |
System.EventHandler, 611 |
916–17 |
winexe compile target, 607 |
Web.config, 912–16 |
wizards, ADO.NET, 822–25 |
web controls in ASP.NET, 865–66 |
WKO activation, remoting, 572–73 |
web page code model, ASP.NET, 842–46 |
worker thread, 426 |
Web Server, .NET platform SDK, 924 |
world coordinates, GDI+ coordinate systems, 659 |
web service client architecture, 920 |
Wrap property, DomainUpDown, 728 |
Web.config, ASP.NET |
Write( ) method |
appSetting element, 912 |
ASP.NET HTTP Response, 860 |
authentication element, 912 |
BinaryWriter class, 538 |
authorization element, 912 |
Stream class, System.IO, 532 |
compilation element, 913 |
TextWriter, System.IO, 534 |
connectionStrings element, 913 |
WriteByte( ) method, Stream class, System.IO, |
customErrors element, 913–15 |
532 |
globalization element, 913 |
WriteFile( ) method, ASP.NET HTTP Response, |
sessionState element, 913, 915–16 |
860 |
trace element, 913–14 |
WriteLine( ) method, TextWriter, System.IO, 534 |
WebControl base class properties, ASP.NET, |
write-only class properties, 153–54 |
870–71 |
WriteXml( ) method, ADO.NET DataSet class, |
WebControl controls, 736–37 |
795 |
WebDev.WebServer.exe, 832 |
WriteXmlSchema( ) method, ADO.NET DataSet |
WebMethod attribute, 409 |
class, 795 |
WebMethod attribute, XML web services, |
writing to a text file, 534–35 |
932–33, 935 |
WSDL (Web Service Description Language), |
WebMethodAttribute, XML |
921, 925, 935 |
System.Web.Services namespace, 923 |
document elements |
WebService base class, 929 |
binding element, 939 |
WebService base class, XML |
message element, 938 |
System.Web.Services namespace, 923 |
portType element, 938–39 |
WebServiceAttribute, XML System.Web.Services |
service element, 939–40 |
namespace, 923, 929–30 |
types element, 937 |
WebServiceBindingAttribute, XML |
XML web services, 936–39, 940 |
System.Web.Services namespace, 923 |
name clashes, XML web services, 933 |
website directory structure, ASP.NET, 851 |
wsdl.exe utility, XML web services |
where keyword, generics, 337 |
/appsettingurlkey flag, 942 |
while, do/while loops, 93 |
creating a client-side proxy, 944 |

