Save method, 561
in SqlTransaction and OleDbTransaction, 180–181
in XmlDocument, 306
scalability
as design goal, 353
designing components for, 50–51
Scale property, 169
schema definitions, 269–272
SchemaOnly option, 155
Schemas property, 292
SchemaType property, 292
securability as design goal, 353
Secure Sockets Layer (SSL), 76, 447–448, 536, 561
Security class, 412
security concepts, 406
accounts for, 9–10, 561
capabilities for, 407–408
code security models, 428–429
CLR role-based security, 429–435, 433–435
.NET code access security, 435–443, 437, 439–443
.NET role-based security, 444–445, 444
in Component Services, 40
in connection strings, 145
exam essentials, 450–451
key terms, 451
on .NET platform, 409, 409
CLR, 409–413
cryptography, 446–449
.NET remoting objects, 502–503
usernames and passwords, 146–147
Windows, 413–416, 414–415
permissions, 407, 415–419, 559
in code, 421–427, 425
operation of, 419–421, 420–421
policies for, 407, 416, 436–437, 561
review questions, 452–457
for serviced components, 500–502
STRIDE model, 408–409
summary, 450
for Windows services, 499–500
XML Web services, 523
authentication techniques, 524–529, 527–529
authorization techniques, 529–536, 532, 534–536
SOAP encryption, 536–539, 537
SecurityPermission class, 417
SecurityRole attribute, 44
SecurityRoleAttribute attribute, 482
Select method
in DataTable, 207
in XPathNavigator, 321
SelectAncestors method, 321
SelectChildren method, 321
SelectCommand property, 199–201, 244, 561
SelectDescendants method, 321
SelectNodes method, 304, 318, 561
SelectSingleNode method, 304, 318, 561
sending commands to data sources, 149–151
SequentialAccess option, 155
Serializable attribute, 77
Serializable value, 181
serialization, 75, 561
serialized objects, 77
server-activated objects, 561–562
Server class, 76–77
Server Explorer, 4, 166–167, 166, 561
Server property, 184
servers
for .NET remoting objects
activation of, 78–79
configuration files, 91
interface DLLs, 82–84, 82–83
for Windows services, 19–28, 19, 21, 25, 27
Servers node, 167
service accounts, 500
Service Control Manager, 3–5, 4–5, 562
Service1 class, 6–7
ServiceBase class, 6–9, 562
ServiceClass class, 78
ServiceController class, 19–28, 562
ServiceControllerProject, 22–26, 25
ServiceControllerStatus enumeration, 21, 21, 562
serviced components, 38, 562
advantages of, 38–39
calling unmanaged DLL functions, 64–65
clients for, 49–50, 50
COM components visible to CLR, 58–60, 59
command-line tools for, 63–64, 63
creating, 42
code and attributes for, 42–45
configuration for, 46–47, 47
designing for performance and scalability, 50–51
exercise, 47–49, 48
signing and registering assembly, 45–46
transactions, 51–55
deploying, 480
COM+ proxies, 490–491
Component Services tool for, 488–490, 488–489
dynamic registration for, 481–484
Services Registration Utility and RegistrationHelper for, 484–487
exam essentials, 65
key terms, 66
.NET components visible to COM, 55–58
review questions, 68–72
security for, 500–502
services for, 39–42
summary, 65
ServicedComponent class, 42–45, 562
ServiceInstaller class, 9, 473–475, 562
ServiceName property
in ServiceBase, 9
in ServiceController, 20
ServiceProcessInstaller class, 473–475, 562
Services class, 110
Services Registration Utility (regsvcs.exe), 46, 484–487, 560
ServicesDependedOn property, 20
ServiceType property, 21
SetAbort method, 54–55, 562
SetAttribute method, 308
SetAttributeNode method, 308
SetColumnError method, 208
SetComplete method, 54–55, 562
SetParentRow method, 208
SetPermission method, 428
SetSecurityPrincipal method, 429
setup programs, 514–517, 515–517
Setup Project template, 461
setup projects, 460–461, 562
editors for, 464–465, 464
Custom Actions Editor, 467–468, 468
File System Editor, 465–467, 465–466
File Types Editor, 468, 469
Launch Conditions Editor, 469–470, 469–470
Registry Editor, 470, 471
User Interface Editor, 470–472, 471–472
templates and properties for, 461–464, 461–462
Setup Wizard, 462
SHA1 algorithm, 447–448
SHA256 algorithm, 448
signing component assemblies, 45–46
Simple Object Access Protocol (SOAP), 105, 563
in Component Services, 41
encryption for, 536–539, 537
extensions, 127, 537–539, 563
for debugging, 385–395, 392–394
in XML Web services, 131–132
headers, 127–131
Simple Object Access Protocol (SOAP) formatter, 75, 563
SingleCall class, 79, 563
SingleResult option, 155
SingleRow option, 155
Singleton class, 79, 90, 90, 563
Site evidence, 436
SiteIdentityPermission class, 417
size of connection pools, 147
Size property, 169
Skip method, 293
slashes (/) in XML, 267
sn.exe utility, 496
SOAP (Simple Object Access Protocol), 105, 563
in Component Services, 41
encryption for, 536–539, 537
extensions, 127, 537–539, 563
for debugging, 385–395, 392–394
in XML Web services, 131–132
headers, 127–131, 525–529, 527–529
SOAP (Simple Object Access Protocol) formatter, 75, 563
SoapDocumentMethod attribute, 114–115, 563
SoapDocumentService attribute, 114
SoapExtension attribute, 114
SoapExtension class, 131, 537–539, 563
SoapExtensionAttribute class, 386, 538, 563
SoapHeader attribute, 114, 127–128, 563
SoapHeader class, 127–131, 525–529, 527–529, 563
SoapRpcMethod attribute, 114, 563
SoapRpcService attribute, 114
Sort property, 225–227, 563
sorting, 228–231, 228, 230–231
Source property
in OleDbError, 184
in OleDbException, 184
in SqlException and SqlError, 184
SourceColumn property, 169
SourceVersion property, 169
sp_xml_preparedocument stored procedure, 336–337
Specified property, 309
SplitText method, 310
spoofing identity, 408
SQL (Structured Query Language), 565
injection attacks, 146–147
for stored procedures, 165–166
SQL Server 2000, XML data with, 334–335
ExecuteXmlReader method, 337–339, 337, 339
retrieving, 335–336
updating tables, 336–337
SqlClient class, 143–144, 199
SqlClient connection strings, 144–146
SQLClientPermission class, 417
SqlCommand class, 151
SqlConnection class, 143, 564
SqlDataAdapter class, 199, 564
SqlDataReader class, 152–155, 564
SqlDbType property, 169
SqlError class, 184–185, 564
SqlException class, 184–185, 564
SqlParameter class, 168, 564
SQLState property, 184
SqlTransaction class, 180, 564
SqlTypes class, 154
Square class, 111–112, 127–128
SquareRootService project, 111–112, 118
SquareRootService.vsdisco file, 116–117
SSL (Secure Sockets Layer), 76, 447–448, 536, 561
stack walks, 419–421, 420–421, 564
Start Action section, 358
Start method, 22
Start Options section, 358
State property, 184
stateless models, 51
static discovery, 116, 517–518, 564
Status property, 21
status windows, 361
stepping through code, 361
Stop method, 22
stored procedures, 564
debugging, 366
in .NET data providers, 165–179, 166–168, 170–174, 176–177, 179
Stream class, 274
STRIDE model, 408–409, 564
strong names, 45, 496, 565
strongly typed DataSets, 241, 246–255, 247–248, 250–255, 565
StrongName evidence, 436
StrongNameIdentityPermission class, 418
StrongTypingException class, 219
Structured Query Language (SQL), 565
injection attacks, 146–147
for stored procedures, 165–166
stylesheets, 330–331
Substring method, 310
Supported value, 52
Supports method, 304
Switch class, 374
symmetric cryptography, 446, 565
synchronization
in Component Services, 40
XmlDataDocuments and DataSets, 333–334
Synchronization attribute, 43
System.Configuration.Install.Installer class, 474
System.Data namespace, 142–144, 198, 202–203, 565
System.Data.OleDb namespace, 199, 565
System.Data.SqlClient namespace, 199, 565
System.Data.SqlTypes namespace, 154
System.Diagnostics namespace, 367, 565
System.EnterpriseServices namespace, 42, 565
System.EnterpriseServices.ContextUtil class, 53, 445
System.Exception namespace, 218
System folder, 467
System.MarshalByRefObject class, 78, 565
System.Reflection namespace, 485
System.Runtime.InteropServices namespace, 58, 64, 565
System.Runtime.Remoting namespace, 74–76, 565
System.Security.Cryptography namespace, 448–449, 565
System.Security namespace, 412, 565
System.Security.Permissions namespace, 566
System.Security.Principal namespace, 566
System.ServiceProcess.dll file, 7
System.ServiceProcess namespace, 5–7, 566
System.Web.Services.dll file, 105, 566
System.Web.Services namespace, 110
System.Web.Services.Protocols.SoapExtension class, 131, 386
System.Web.Services.Protocols.SoapHeader class, 127–131, 566
System.Web.Services.WebService class, 105, 566
System.XML namespace, 290, 331, 566
System.Xml.XMLTextReader class, 151
System.Xml.XPath namespace, 319, 566
System.Xml.Xsl namespace, 566