15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

security – shapes (WPf)<br />

security, 545–568. See also ACLs; authentication/<br />

authorization; code access security<br />

ASP.<strong>NET</strong> <strong>and</strong>, 1201–1206<br />

ClickOnce applications <strong>and</strong>, 421–422<br />

encryption <strong>and</strong>, 552–558, 568<br />

files <strong>and</strong>, 771, 802, 814<br />

in PCSDemoSite, 1204–1206<br />

processes <strong>and</strong>, 12<br />

SQL programming <strong>and</strong>, 956<br />

Security Setup Wizard, 1201–1203<br />

security transparency level 2, 561, 562<br />

security-critical code, 561<br />

SecurityException, 548, 564, 565<br />

SecurityPermission, 563<br />

‹see›, 54<br />

‹seealso›, 54<br />

seed server, 1344<br />

SELECT, 819, 828, 833, 850, 860<br />

Select(), 273, 275, 277, 279, 281, 289, 290, 291, 879,<br />

918, 920, 1172, 1391<br />

SelectAncestors(), 918<br />

SelectChildren(), 918<br />

SelectDescendants(), 918, 920<br />

‹SelectedItemTemplate›, 1177<br />

SelectMany(), 275, 278, 279<br />

SelectSingleNode(), 915, 918, 974<br />

SelectValue(), 879<br />

SelfPlacingWindow sample, 811, 812, 813, 814<br />

Semaphore, 524–525<br />

Semaphore/Program.cs, 524<br />

SemaphoreSlim, 524–525<br />

semicolons (;)<br />

<strong>C#</strong> <strong>and</strong>, 25<br />

Lambda expressions <strong>and</strong>, 198<br />

preprocessor directives <strong>and</strong>, 56<br />

Send activity, 1327<br />

sending messages, 1366–1368<br />

‹SeparatorTemplate›, 1177<br />

Serial.cs (code snippet), 935, 937, 938, 939, 940, 941<br />

Serializable (isolation level), 625, 825<br />

serialization<br />

defined, 771, 934<br />

runtime, 1291, 1368<br />

XML <strong>and</strong>, 934–942, 1291, 1368<br />

Serialize(), 934, 935, 942<br />

server console application (Socket class), 662–663<br />

server control event-booking example, 1164–1169<br />

updating, 1169–1175<br />

server controls. See ASP.<strong>NET</strong> server controls<br />

Server Explorer, 476, 484, 486, 683, 684<br />

Server Explorer window, 393–394, 1170<br />

server-side controls, 18<br />

service behavior, 1294–1295<br />

service configuration program, 668, 670<br />

service contracts, 1291, 1292–1293<br />

Service Control Manager (SCM), 669<br />

ServiceBase class <strong>and</strong>, 676<br />

service control programs, 668, 670<br />

service implementation (WCF), 1294–1299<br />

service programs, 668–669<br />

Service Trace Viewer tool, 474, 1290<br />

ServiceBase class, 670, 676<br />

ServiceBehavior properties, 1294–1295<br />

ServiceComm<strong>and</strong>Callback(), 676<br />

ServiceContract attribute, 886, 1292–1293<br />

ServiceControl/app.manifest, 691<br />

ServiceController class, 670, 693<br />

custom service controller <strong>and</strong>, 684–692<br />

methods, 690<br />

properties, 685<br />

ServiceControllerInfo, 685, 686, 687, 688, 689, 690<br />

ServiceControllerPermission, 563<br />

ServiceControl/ServiceControllerInfo.cs, 686<br />

ServiceControl/ServiceControlWindow.xaml, 689<br />

ServiceControl/ServiceControlWindow.xaml.cs,<br />

688, 691<br />

ServiceHost, 889, 895, 1287, 1301, 1303, 1328, 1381<br />

ServiceInstaller class, 670, 679, 680, 682, 693<br />

properties, 682<br />

ServiceInstallerDialog, 682<br />

service-main function, 669<br />

ServiceMainCallback(), 676, 677<br />

ServiceModel Metadata Utility tool, 1304, 1305,<br />

1329<br />

ServiceName, 675, 682, 685<br />

ServiceProcessInstaller class, 670, 679, 680, 681,<br />

682, 693<br />

services. See Windows Services<br />

Services MMC snap-in, 616, 669, 683<br />

ServicesDependentOn, 682, 685<br />

Services.exe, 677<br />

ServicesToRun, 676, 677<br />

ServiceType, 685<br />

session, 1181<br />

Set(), 258, 259<br />

set accessor, 732, 733<br />

set operators (query operator category), 276, 283–284<br />

Set Service Login dialog box, 682<br />

SetAccessControl(), 560, 805, 810<br />

SetAll(), 258, 259<br />

SetLastError, 724<br />

sets, 255–256<br />

SetSample/Program.cs, 255<br />

Setup Projects, 412<br />

Setup Wizard, 412<br />

SetValue(), 134, 135, 628, 629, 733, 739, 809, 810, 953<br />

SHA algorithms, 554<br />

Shakespeare’s plays, as XML files, 943<br />

shallow comparison, 170<br />

Shape class, 986<br />

ShapeDisplay class, 121<br />

shapes (WPF), 986–987. See also specific shapes<br />

1458<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!