named colors, 1096–1097
names/naming conventions.
See also strong names
for activities, 1544
casing schemes for, 77
for database tables, 898
DNS names, 1358–1361
generic types, 246–247
keywords and, 79–80
libraries configured with Enterprise Services, 1458
namespaces and, 78
styles, 78
usage conventions, 77–80
namespace alias qualifier operator, 156
namespace keyword, 1622–1623
namespaces
ADO.NET data access, 848–849
AJAX Library OOP extensions, 1326
classes grouped by, 32
compared with assemblies, 478–479
comparing C#, C++/CLI, and Visual Basic, 1622–1623
contiguous, hierarchical, 1587
GDI+, 1075
names and, 78
.NET Framework, 21
System.Xml, 862
Visual Basic, 1622–1623
WPF, 1142–1143
namespaces, C#, 59–62
aliases, 61–62
compared with C++/CLI and Visual Basic, 1622–1623
overview of, 59–60
using statement, 60–61
native code, mixing with managed, 1651–1652
native image generator (Ngen.exe), 497–498
native methods, SafeHandle class, 704
NativeObject property, DirectoryEntry class, 1606
navigation, ASP.NET
overview of, 1273–1274
in PCSDemoSite, 1274–1275
Web server controls, 1231
NavigationCommands, WPF, 1158
nested scopes, with ambient
transactions, 693–695
.NET Framework
application domains, 14–16
ASP.NET applications, 22–23
assemblies, 17–19
attribute use, 17
base classes, 20
C# relationship to, 4, 25–26
classes. See classes, .NET
CLR and, 4–7
CLS and, 12–13
code access security. See code access security
COM components used from
.NET clients, 755
COM Interop and, 705–707, 748
connection points for extending COM components for .NET applications, 764–767, 780–781
creating .NET components, 771–772
error handling with exceptions, 16–17
finalizers, 325
garbage collection, 13–14
generics and, 243
IL features, 7–8
marshalling mechanism for COM/.NET conversion, 755
namespaces, 21
.NET application requirements, 443–444
.NET applications created with C#, 21
.NET consumer vs. .NET extender tools, 495
object orientation and interface support, 8–9
overview of, 3
reflection, 19
role-based security. See role-based security
strong data typing, 9–12, 655–656
summary, 26–28
transaction programming and, 683
value and reference types and, 9
Visual Studio 2005 with .NET Framework 3.0, 433–436
WCF and, 25
Web Forms, 23
Windows Controls, 24
Windows Forms, 24
Windows Services, 24–25
WPF and, 24
XML Web services, 23
.NET Framework Configuration tool
application configuration, 513–515
directory configuration, 519–520
.NET Remoting configuration, 1437–1438
.NET Remoting, 1410–1429
asynchronous, 1441–1442
call contexts, 1450–1452
channels, 1410–1414
ChannelServices, 1415–1416
classes, 1440
CLR Object Remoting, 1401
contexts, 1405–1406
events, 1444–1450
formatters, 1415
functionality of, 1400–1401
hosting servers in ASP.NET, 1439–1440
interfaces, 1440
lifetime management, 1426–1429
message sinks, 1421
messages, 1420
object activation, 1417–1419
overview of, 1401–1404
passing objects in remote methods, 1421–1425
remote objects, 1407–1408
RemotingConfiguration, 1416
security, 1442–1444
server for client-activated objects, 1416–1417
server for well-known objects, 1416
simple clients, 1409–1410
simple servers, 1408–1409
Soapsuds, 1440–1441
.NET Remoting, configuration files, 1429–1438
client-activated objects, 1432–1433
clients, 1449
code using configuration files, 1433–1434
debugging configuration, 1435
delayed loading of client channels, 1434–1435
formatter providers, 1436
lifetime services, 1436
.NET Framework Configuration tool, 1437–1438
overview of, 1429–1431
servers, 1447–1448
well-known objects, 1431–1432
.NET Remoting, servers, 1446
channels, 1412
client-activated objects, 1416–1417
configuration file, 1447–1448
hosting in ASP.NET, 1438–1440
lifetime management for, 1426–1429
overview of, 1408–1409
security, 1442–1444
for well-known objects, 1416
.NET runtime, SQL Server 2005 as .NET runtime host, 956–957.
See also CLR (Common Language Runtime)
net.exe, 732–733
networking layer, AJAX Library, 1308
NetworkStream class, 1362
new keyword, for class instances, 84
new operator
activating remote objects using, 1417
allocating value type in C++/CLI, 1625
array initialization, 134
client code using configuration files, 1434
client-activated objects, 1419
New procedure, constructors in Visual Basic, 1630–1631
NewRow( ) method, adding new row to data tables, 890
Ngen.exe (native image generator), 497–498
Nikhil’s Web Development Helper, 1331
nodes, inserting into current document, 917–920
nonblittabble data types, 755
nondefault constructors, 1434
nonremotable classes, 1422
nonrepeatable reads, transaction isolation and, 695–696
normal messages, 1487
Northwind sample database
adding entity classes, 1469–1472
creating client application, 1477–1478
OrderControl component, 1472–1473
OrderData component, 1473–1475
OrderLineData component, 1476–1477
using Enterprise Services, 1468–1469
NTD (no-touch deployment), 458–459, 473
null coalescing operator (??), 156, 162
null keyword
generic types and, 251
syntax for events in C# and C++/CLI, 1647–1648
nullable types, 161–162
Nullable<T>, 265–267
number formats, cultures, 641–643
NumberFormatInfo, cultures, 642