INDEX

Symbols <%$, ASPX expressions, statements, 1240 1247–1248 - (minus sign) !=, comparison operator, 152 <<= >>, assignment operator, 152 arithmetic operator, 152 %=, assignment operator, 152 & (ampersand), logical operator, delegate concatenation &=, assignment operator, 152 152 operator, 152 *=, assignment operator, 152 && (ampersand-double), logical () (parentheses) +=, assignment operator, 152 operator, 152 cast operator, 152 ->, pointer member access * (asterisk) Razor syntax, 1291 operator, 364–365 arithmetic operator, 152 | (pipe sign) -=, assignment operator, 152 regular expressions, 224 bitwise fl ags, 678 /*, multiline comments, 25, 52 @ (at sign) logical operator, 152 /=, assignment operator, 152 Razor syntax, 1290, 1291 || (pipe sign-double), logical <<>>, bit shifting operator, 152 string literals, 37 operator, 56, 152 <>, comparison operator, 152 \ (backslash), meta-characters, + (plus sign) <=, comparison operator, 152 223 arithmetic operator, 152 >=, comparison operator, 152 \\ (backslash-double), string delegate concatenation \\’, char escape sequence, 35 escape sequence, 36 operator, 152 \”, char escape sequence, 35 ^ (caret) regular expressions, 224 ^=, assignment operator, 152 logical operator, 152 string concatenation |=, assignment operator, 152 regular expressions, 224 operator, 152 ??(question mark-double), {} (curly brackets) ++ (plus sign-double), increment null coalescing operator, if, 37–38 operator, 152 152 statements, 25 ? (question mark), regular ?:, conditional operator, strings, 50 expressions, 224 152, 154 $ (dollar sign), regular ?? (question mark-double), null : (colon) expressions, 224 coalescing operator, 152, format strings, 216 = (equals sign), assignment 156–157 labels, 43 operator, 152 “” (quotation marks-double), :: (colon-double), namespace == (equals sign-double) string literals, 36 aliases, 47, 152 COPYRIGHTEDcomparison operator, MATERIAL 152, ‘’ (quotation marks-single), , (comma), format strings, 216 163 char, 35 . (period) logical operator, 56, 147 / (slash), arithmetic operator, member access operator, 152 ! (exclamation mark), logical 152 namespaces, 45 operator, 56, 152 // (slash-double), single-line regular expressions, 224 -- (minus sign-double), comments, 25, 27, 52 ; (semicolon), statements, 25 decrement operator, 152 /// (slash-triple), XML <%=, ASPX, 1246–1247 % (percent sign), arithmetic comments, 52 <#, ASPX data binding, 1247 operator, 152 [] (square brackets) <% %>, ASPX, 1246 indexing operator, 152

1473

bbindex.inddindex.indd 14731473 003/10/123/10/12 111:571:57 AAMM [] (square brackets) – ADO.NET

[] (square brackets) (continued) ActionFilterAttribute, 1312, AddDocumentToPriority indirection and address 1313 Node, 249 operator, 152 Action, 558 Added, 940 keywords, 26 ActionResult, 1288 addEventListener, 897 ~ (tilde) Action, AddHandler, 856 destructors, 354 334 AddInDirectory, 867 logical operator, 152 Action, 190–191, 877 AddLast(), 110, 113 \0, char escape sequence, 35 Action, 555 AddListener, 207 Activate, 1208 AddMenuCardPage, 1187–1188, ActivatedExtensions, 882, 888 1203 A ActivationKind, 1191 /addmodule, 49 active, 1430 AddObject, 1396 \a, char escape sequence, 35 Active Directory Domain Services AddObject(), 974 absoluteExpiration, 1230 Integration, 1442 AddOrIncrementValue, 273 abstract Active Template Library (ATL), AddPackageAsync, 482 classes, 103 654 AddQueryOption, 1394 modifi ers, 100 active transaction phase, 707 AddRange, 234 abstract classes, implementation ActiveDirectory AddRef, 629 inheritance, 94 MembershipProvider, 606, Address fi lter, WCF, 1377 abstract functions, implementation 1234 AddressList, 755 inheritance, 94 ActiveDirectorySecurity, 617 AddressPrefi x fi lter, WCF, 1377 AccelerationRatio, 1089 activeDocumentReader, 1164 AddSupport, 469–470 Accept, 1386 ActiveX Data Objects (ADO), 918 AddToAmount, 87–88 AcceptAllChanges(), 975 ActiveXMessageFormatter, AddToCategories, 1396 AcceptSocket, 786 1449 AddToMenus, 1396 access control entries (ACEs), 617, activities, WF, 1399, 1401–1405 AddToOutput, 386 694 custom, 1405–1408 AddUserToRole, 1237 access control list (ACL) custom composite, 1408–1411 AddValidationError, 1406 directories, 692–693 designers, 1406–1408 administration queues, 1444 fi les, 691–692, 694–695 Else, 1402–1403 ADO. See ActiveX Data Objects security, 617–619 IF, 1402–1403 ADO.NET, 917–961 AccessControlType, 618 validation, 1406 asynchronous data access, AccessDataSource, 1256 XAML, 1407–1408 934–936 accessors, 73–74, 524 Activity, 1401, 1410, 1424 await, 934–936 Account, 789 Activity Designer Library, Visual block statements, 923–924 AccountController, 1313 Studio, 1407 commands, 925–931 Accumulate(), 126 ActivityID, 532, 533 connection strings, 921–922 ACEs. See access control entries Activity, 1401 data reader, 932–934 ACID. See atomicity, consistency, Add database isolation, and durability Fire_Completed, 644 classes, 919–920 acknowledgment message, 1443 Items, 1126 connections, 920–925 acknowledgment queues, 1462– MEF, 865, 878 DataColumn, 937–938 1463 sorted strings, 252 DataRow, 938–940 ACL. See access control list SpeedExport, 880 DataSet, 936–945, 951–956 Action, 558, 1354 vtable, 630 DataTable, 936–937 action, 1285 Add(), 108 namespaces, 918 actions, ASP.NET MVC Add as Link, Solution Explorer, naming conventions, 960–961 fi lters, 1312–1313 516 ObjectContext, 310 methods, 1287 AddAccessRule, 694 primary key, 958–959 ActionBlock, 594–595, 597 AddColorAsync, 275 schema, 936, 940–942 AddDocument, 243 shared classes, 919

1474

bbindex.inddindex.indd 14741474 003/10/123/10/12 11:5711:57 AMAM ADO.NET – ApplyPropertyChanges()

stored procedures, 929–931 aggregate operators, LINQ, AppendFormat(), 214, 215 System.Xml, 1020–1021 302–303 AppendOnly, 979 Task, 934–936 AggregateCatalog, 891 Appication_Start, 1285 tiered development, 957 AggregateException, 343–344 Appl_GlobalResources, 830 transactions, 710–711, AJAX. See Asynchronous Application, 1052, 1222 924–925 JavaScript and XML , 833 try...catch...finally, aliases, 47, 152, 848 applications. See also web 922–923 allowAnonymous, 1232 applications; Windows XML, 946–951, 995, AllowAutoRedirect, 741 Store; Windows Presentation 1018–1025 AllowDBNull, 938 Foundation ADO.NET Entity Framework, AllowGet, 1289 ASP.NET 430, 963–994 AllowMultiple, 378 creating, 17–19 ASP.NET, 1390–1391 AllowPaging, 1259 services, 1281 Data, 1323 AllowPartiallyTrusted Session, 1229 MVC, 1306 Callers, 620 ClickOnce Web Forms, 1257 AllowRecomposition, 864 cache, 475 change information, 985–987 AllowSorting, 1259 installation, 475–476 Code First, 990–994 alone, 1430 publishing, 472–473 conceptual layer, 967–968 AltDirectorySeparatorChar, data-driven, 1306–1311 connection string, 969–970 665 domains delayed loading, 978–979 AlternatingItemTemplate, assemblies, 488, 497–500 eager loading, 978–979 1261 dynamic loading, 499 entities, 970–973 ambient transactions, 718–725, .NET Framework, 11–13 attaching/detaching, 987 736 isolation, assemblies, 488 storing changes, 987–988 AmbientLight, 1098 life cycle Entity SQL, 979–980 an, 226 deployment, 467–468 EntityDataSource, 1264 (an)+, 226 WinRT, 905–909 lazy loading, 978–979 AnalyzeType, 386 manifest, 472 LINQ to Query, 983–984 Ancestors, 310 .NET Framework logical layer, 965–967 AnchoredBlock, 1157, 1161–1162 assemblies, 508–511 mapping, 965–970 And, 264 creating, 17–20 mapping layer, 968–969 animations, WPF, 1087–1093 P2P, 1431–1437 object tracking, 984–985 annotations, ASP.NET MVC, packages, Windows 8 ObjectContext, 973–975 1300–1301 deployment, 480 ObjectQuery, 981–983 anonDel, 197 Application_BeginRequest, POCO, 964, 988–990 anonymous, 1266 122 querying data, 979–984 anonymous methods, 197–198 ApplicationCommands, 1106 relationships, 975–979 anonymous types, 79–80 ApplicationCommands.Close, TreeView, 1137 ApartmentState, 642 1107 WCF Data Services, 1379, APM. See Asynchronous ApplicationData, 901 1380, 1390–1398 Programming Model Application_EndRequest, 122 Advanced Encryption Standard App, 1207 ApplicationException, 395 (AES), 612 app bar, Windows Store, 1176, ApplicationExecutionState, Advanced Query Syntax (AQS), 1189–1190 905–906, 1191 1199 app.config, 319 application/json, 1386 AdvCalculator, 869 App_Data, 1285 applicationName, 606 AES. See Advanced Encryption AppDomain, 497, 498, 500 Application_Start, 1222 Standard App.Domain.CreateDomain, 624 ApplicationViewState, 1193 AesCryptoServiceProvider, AppDomainSetup, 624 App_LocalResources, 830 615–616 Append, 678 ApplyCurrentValues, 987 Aggregate, 302–303 Append(), 215 ApplyPropertyChanges(), 975

1475

bbindex.inddindex.indd 14751475 003/10/123/10/12 11:5711:57 AMAM AppSettings – ASP.NET

AppSettings, 1248 Array.Copy(), 136 Membership API, 1236–1237 App.xaml, 833 ArrayExtension, 861 modules, 1217–1222 App.xaml , 833 ArrayList, 108, 230, 232, 304 MVC, 18, 1213, 1283–1320 AQS. See Advanced Query Syntax ArraySegment, 140 action fi lters, 1312–1313 architecture ArraySegment, 139–140 action methods, 1287 event logging, 537–538 Array.Sort, 815 ADO.NET Entity MEF, 864–873 as, 155 Framework, 1306 Message Queuing, 1443–1444 .asmx, 1276 annotations, 1300–1301 .NET Framework, 3–22 AsOutputStream, 901 authentication, P2P, 1426–1428 AsParallel, 306 1313–1316 Visual Studio, 448–450 ASP.NET, 1211–1237 authorization, 1313–1316 Windows Services, 773–775 ADO.NET Entity client application, ArcSegment, 1056 Framework, 1390–1391 1319–1320 args, 48–49 AJAX, 1267–1281 controllers, 1287–1289, arguments Control Toolkit, 1271 1307–1308, 1317–1318 named, 71 applications data-driven applications, optional, 72 creating, 17–19 1306–1311 ArgumentException, 252 services, 1281 HTML helpers, ArgumentNullException, 458, Atom, 19 1301–1306 521 client application services, jQuery, 1319–1320 ArgumentOutOfRangeException, 606 login view, 1315 234, 1432 confi guration, 1214–1216 parameters, 1287–1288 ArgumentToExpression Confi guration Tool, 1266 partial views, 1296–1298 Converter, 1408 cookies, 1225–1226 routes, 1285–1286, 1317 arithmetic operators, 152 CSS, 1213–1214 SubmitData, 1298–1301 Array, 134, 136, 139, 148 Dynamic Data, 19, templates, 1284 arrays, 129–140 1321–1334 validation, 1300–1301 accessing elements, 131 ADO.NET Entity views, 1290–1298, bit, 263–268 Framework, 1323 1309–1311 classes, 134–139 customizing websites, Web API, 1316–1320 constructors, 134 1326–1333 passwords, 1236 copy, 136, 233 HTML, 1322 profi les, 1230–1234 covariance, 139 metadata, 1326 regular expressions, 222–224 declarations, 130 routes, 1332–1333 REST, 19 dimensions, 132–133 scaffolding, 1322, 1323, roles, 1234–1237 foreach, 141 1326–1327 role-based security, 603 indexers, 131, 132–133 templates, 1327–1332 Roles API, 1237 initialization, 130–131, 133 web applications, runtime, WCF, 1338 jagged, 133–134 1322–1326 Session, 1226–1229 List, 233 global application class, 1222 applications, 1229 multidimensional, 132–133 handlers, 1217–1222 Cache, 1229–1230 parameters, 139–140 hosting, 1214–1216, callbacks, 1230 reference types, 131–132 1390–1391 identifi ers, 1227–1228 sort, 136–139 HTML, 1213 storage, 1228–1229 stacks, 370–373 HttpRequest, 1223–1224 state management, ToString(), 131 HttpResponse, 1224 1224–1234 tuples, 147–149 JavaScript, 1214 Template Editor, 1262 WinRT, 899 jQuery, 1214 ViewState, 1225 XAML, 850 MVC, 1319–1320 Visual Studio, 417 yield, 141–143 JSON, 19 Development Server, 1214 Array.Copy, 233 members, 1234–1237 Web API, 19

1476

bbindex.inddindex.indd 14761476 003/10/123/10/12 11:5711:57 AMAM ASP.NET_SessionId – asynchronous page requests

template, 1284 isolation, 488 WCF, 509 WCF Data Services, 1380 .NET Framework, xcopy, 488 web applications, 1213–1214 508–511 Assembly, 379, 386–388, 494 deployment, 477 attributes, 492–494 AssemblyCatalog, 891 .NET Framework, binding, 509, 510–511 AssemblyCompany, 493 1211–1212 ClickOnce, 488 AssemblyConfiguration, 493 Web Forms, 18, 1212, 1224, compiler, 494 AssemblyCopyright, 493 1239–1281 components, 490 AssemblyCulture, 493 ADO.NET Entity creating, 492–497 AssemblyDefaultAlias, 493 Framework, 1257 delayed signing, 505–506 AssemblyDelaySign, 505 ASPX page model, deployment, 468, 488 AssemblyDescription, 493 1240–1249 dynamic loading, 494–497, AssemblyFileVersion, 494 authentication, 1266 499 Assembly.GetTypes, 387, 389 content pages, 1252–1253 exported types, 490 AssemblyInformation data access, 1256–1265 features, 488 Version, 494 localization, 829–830 GUIDs, 14 Assembly.Load, 387 login controls, IL, 489 Assembly.LoadFrom, 387 1266–1267 installation, 488 AssemblyProduct, 493 master pages, 1249–1253 manifest, 489–490 AssemblyTrademark, 493 Menu, 1254 metadata, 14, 489 AssemblyVersion, 494 navigation, 1253–1254 modules, 491–492 Assets, 480 PageHandlerFactory, namespaces, 490 assignment operators, 152 1219 native image generator, AssociatedUpdatePanelID, security, 1265–1267 507–508 1279 site map, 1253 .NET Framework, 14–16, 487 Association, 968 validation, 1254–1256 applications, 508–511 AsStreamForWrite, 901 Web Pages, 1212 metadata, 488 asymmetric encryption keys, 610, web server controls, 18 parallel programming, 15 612 Web Site Administration permissions, 490 async, 271, 325, 1178 Tool, 1216 portable class library, compilers, 338 ASP.NET_SessionId, 1227 516–517 WinRT, 902 AspNetSqlMembershipProvider, private, 14–15, 490 yield return, 336 1235 publisher policies, 513–514 AsyncCallback, 334, 341 ASPX references, 490, 506–507 AsyncCodeActivity, 1402, expressions, 1247–1248 refl ection, 15 1403 page model satellite, 490 AsyncCodeActivityContext, ASP.NET Web Forms, language, 825 1402 1240–1249 XAML resource AsyncCodeActivity, AutoPostBack, 1243 dictionaries, 832–833 1402 code, 1246–1248 self-description, 488 AsyncCompletedEventArgs, controls, 1241 shared, 15, 490, 501–507 1433 data binding, 1247 sharing with other asynchronous data access, events, 1241 technologies, 515–517 ADO.NET, 934–936 Page Events, 1244–1246 side-by-side, 488 Asynchronous JavaScript and postbacks, 1242–1244 source code, 515–516 XML (AJAX) server-side controls, structure, 489 ASP.NET, 1267–1281 1248–1249 versions, 511–515 Control Toolkit, 1271 statements, 1240 binding, 512–513 extensions, 1269–1270 assemblies, 487–518 dependencies, 488 Library, 1270–1271 applications runtime, 514–515 asynchronous page requests, domains, 488, 497–500 viewing, 491 WebRequest, 743

1477

bbindex.inddindex.indd 14771477 003/10/123/10/12 11:5711:57 AMAM asynchronous pattern – Binding

asynchronous pattern, 325, XML, 1039–1040 BackButtonStyle, 1192 326–338 XmlReader, 1001–1002 backDateTo, 388, 391 converting, 341 AttributeModelServices, 867 Background, 849, 859 .NET Framework, 341 AttributeTargets, 377–388 background threads, 568–569 synchronous call, 333 AttributeTargets.All, 379 BackMaterial, 1097 WPF, 326–327 AttributeUsage, 377–379 BAML, 832–835 XAML, 328–329 AuthenticateRequest, 1219 Bar(), 128, 872 asynchronous programming, authentication Barrier, 589–590 325–346 ASP.NET base classes cancellation, 344–346 MVC, 1313–1316 casts, 176–177 combinators, 340 Web Forms, 1266 implementation inheritance, error handling, 326, 341–344 security, 602–610 90 methods, 338–339 WebRequest, 742 .NET Framework, 662 multiple, 340–341 Windows Authentication, 921 base class library (BCL) .NET Framework, 16, 326 authentication, 1234–1235 AJAX, 1270 synchronization context, authentication.system.web, .NET Framework, 16, 675 339–340 1234 Baseline, 1158 tasks, 338, 339 AuthenticationType, 603 BaseType, 383 Visual Studio, 326 authority, 1429 BaseViewModel, 1421 WinRT, 326 authorization BasicForm, 428 Asynchronous Programming ASP.NET MVC, 1313–1316 BasicHttpBinding, 1361 Model (APM), 934 security, 602–610 $batch, 1397 asynchronous read, Message AuthorizationRule, 618 BatchBlock, 598 Queuing, 1451–1452 AuthorizationRuleCollection, BCL. See base class library AsyncPattern, 1354 617, 618 BeginExecuteReader, 934 AsyncPostBackError, 1276 Authorize, 1315 BeginForm, 1301 AsyncPostBackErrorEventArgs, AuthorizeAttribute, 1313 BeginGetResponse, 743 1276 AuthorizeRequest, 1219 BeginInvoke, 334 AsyncPostBackTrigger, 1270, AuthType, 603 BeginReceive, 1451 1278 Auto, 1024 BeginRequest, 1219 ATL. See Active Template Library [AutoComplete], 711 BeginSaveChanges, 1396–1397 atomicity, consistency, isolation, AutoDetect, 1228 BeginTime, 1089 and durability (ACID), 707, AutoDisposeParameters, 1360 BezierSegment, 1056 725 AutoEventWireup, 1240 bin, 511 AtomPub, 1383, 1397 AutoGenerateColumns, 1143 binary code reuse, generics, Attach(), 975 AutoIncrement, 938 109–110 attached properties, XAML, AutoIncrementSeed, 938 binary fi les, FileStream, 857–859 AutoIncrementStep, 938 678–682 AttachTo(), 975 AutoLog, 782, 800 BinaryFileReader, 680–682, Attribute, 376, 387 AutoPostBack, 1243 686 attributes AutoResetEvent, 585 BinaryMessageFormatter, 1449 assemblies, 492–494 AutoReverse, 1089 BinaryReader, 677–678 classes, 377 Autos window, Visual Studio, BinaryWriter, 677–678 COM interop, 649–650 444 BindableBase, 876, 1458 custom, 636 Average, 302–303, 306 BindableObject, 1114, 1148 HTML, 1303 await, 271, 325, 338, 554, binding. See also data binding MEF, 865–870 934–936, 1178 assemblies, 509–513 .NET Framework, 13 early, 630 XAML, 849–859 B late, 630 parameters, 378–379 methods, interop, 630 properties, 849 \B, 224 WCF, 1360–1366 refl ection, 376–382 \b, 35, 221, 224 Binding, 1111, 1116, 1123, 1395

1478

bbindex.inddindex.indd 14781478 003/10/123/10/12 11:5711:57 AMAM BindingFlags – cancellation

BindingFlags, 384 BufferedStream, 678 Cache, 1229–1230 BindingOperations, 337 BuildApplication, 1415 CacheDependency, 1230 , 513 BulletDecorator, 1065–1066 CacheItemRemovedCallback, BingRequest, 329, 331 business applications. See 1230 bit arrays, 263–268 Windows Presentation CacheMetadata, 1406 bit shifting operator, 152 Foundation calcImport, 888 BitArray, 263–265 Button, 328, 495, 747, 849, 1125 CalculationCompleted, 654 BitmapDecoder, 1201, 1203 ASP.NET Web Forms, 1224 CalculationInTask, 589 BitmapImage, 898, 912, 1202, FindResource, 833 Calculator, 866–868 1203 ListBox, 854 AdvCalculator, 869 BitmapTransform, 1201 System.Windows.Controls, Program, 870 BitVector32, 266–268 846 WPF, 882 bitwise fl ags, 678 button1_Click, 1073 CalculatorContract, 866 blittable data types, 633 buttonBack, 748 CalculatorExtension, 859, 863 Block, 1158–1159 ButtonCheckbox, 1062 CalculatorImport, 864, 888 block scope, 348 ButtonChrome, 1065–1066 CalculatorManager, 451 block statements, 923–924 Button.Click, 609, 854 CalculatorUtils, 876 BlockCommitUntilComplete, buttonForward, 748 CalculatorViewModel, 882 717 buttonRefresh, 748 Calendar, 1062 BlockingCollection, 269, ButtonRepeat, 1062 CalendarTypeToCalendar 272–273 buttonStop, 748 InformationConverter, 813 BlockUIContainer, 1158 ButtonToggle, 1062 callbacks Body, 1410 BYTE, 630 ASP.NET Session, 1230 bookmarks, WF, 1413–1414 byte, 33, 158, 362–363, 762 CreateBookmark, 1414 bool, 32, 34–35, 237, 430 dependency properties, Boolean, 42, 237, 243 C 853–854 if, 38 CallbackContract, 1354, 1370 null, 156 C++ CallbackHandler, 1365 Type, 383 abstract functions, 94 CallerFilePath, 411 Boolean, 850 attributes, 13 CallerLineNumber, 411 BooleanSwitch, 528 casts, 173 CallerMemberName, 411 BooleanToVisibility, 813 compiler, 437 CallerMemberNameAttribute, Border, 1061, 1065–1066 compilers, 6 780 Both, 954 destructors, 354 calling base versions, 93 BounceEase, 1090 GC, 11 CallingConvention, 657 BoundField, 1261 IDL, 628 CallSite, 318 boxing, 108–109, 161–162 Java, 91 CallSiteBinder, 318 casts, 177–178 multiple inheritance, 90 Callstack, 530 break, 43, 198, 399 .NET Framework, 6 CalTax, 320 breakpoints, 441–442 operator overloading, 163 camel casing, 59–60, 899 Broadcast, 755, 768 pointer member access camera, 1098 BroadcastBlock, 598 operator, 365 CameraCaptureUI, 912 Brush, 849 templates, 108 CameraCaptureUIMode.Photo, brushes, WPF, 1058–1061 using namespace, 25 912 BrushConverter, 849 Windows 8, 841 CancelAfter, 345 BSTR, 630, 647 , 52 Canceled, 564 \bth, 221 cache cancellation btnResolve, 756 applications, ClickOnce, 475 asynchronous programming, Bubble, 856 GAC, 15, 488 344–346 BubbleSorter, 191–192 ClickOnce, 472 Parallel.For, 562–563 bubbling events, XAML, 854–856 shared assemblies, PLINQ, 306–307 BufferBlock, 596 502–503, 509 tasks, 562–565

1479

bbindex.inddindex.indd 14791479 003/10/123/10/12 11:5711:57 AMAM CancellationToken – ClearAllErrors

CancellationToken, 306–307, certifi cates, 625–626 exceptions, 394–395 345, 563 Certifi cate Manager, 626 user-defi ned, 404–413 CancellationTokenSource, 307, ChangeChangeLiveFiltering, extension methods, 87–88 344–345, 563, 564 1147 function members, 67–78 CanChangeLiveGrouping, 1147 ChangePassword, 1248 generic library classes, 184 CanCreateInstance, 1418 ChangeRejectedException, 867 generics, 107, 110–114 CanExecute, 1107 Changes, 381 global application class, ASP. CanGoBack, 1191, 1192 ChangeState, 570, 573 NET, 1222 CanGoBackChanged, 750 Chaos, 726 hierarchies CanGoForward, 1191 char, 35, 159 generics, 114 CanGoForwardChanged, 750 Charms bar, 910, 1176 WPF, 1051–1053 CanHandlePowerEvent, 782 CharSet, 657 inheritance, 90 CanHandleSessionChange CheckBox, 1385 instances, equality, 162–163 Event, 782 CheckCollectionContract, 526 members, 66–79 CanPauseAndContinue, 782, 793 checked, 152, 154–155, 362 pointers, 365–366 CanShutdown, 782, 793 CheckForUpdateAsync, 476 namespaces, 25, 45 CanStop, 782, 793 CheckForUpdateCompleted nested partial classes, 84 Canvas, 1067 EventArgs, 476 .NET Framework, 16–17 Capacity, 212, 214 ChildActionExtensions, 1301 fi les, 663–665 Caption, 938 ChildrenAsTriggers, 1277, registry, 697–699 captures, regular expressions, 1278 new, 66 226–228 chosenFile, 687 Object, 85–87 CaptureCollection, 227 claims, 605–606 partial, 83–85 Cascade, 945 ClaimsPrincipal, 602, 605 performance, 544 cascading style sheet (CSS), class, 26 portable class library, 1213–1214, 1267 classes 516–517 case, 38–40 abstract, implementation readonly, 78–79 casing inheritance, 94 reference types, 108 camel, 59–60, 899 abstract, 103 sealed, 94–95 Pascal, 59, 899 anonymous types, 79–80 shared, ADO.NET, 919 Cast, 304 arrays, 134–139 static, 85 casts, 172–181 attributes, 377 structs, 66, 80–85 base classes, 176–177 base classes System.Object, 90 boxing, 177–178 casts, 176–177 System.Xml, 997–998 C++, 173 implementation utility, 753–756 classes, 176 inheritance, 90 variables, 27 derived classes, 176–177 .NET Framework, 662 virtual, 103 interop, 630 BCL weak references, 82–83 multiple, 178–181 AJAX, 1270 Windows Services, 774–775 operator, 152 .NET Framework, 16, WinRT, 899 pointers, 361–362 675 XPath namespaces, syntax, 173 casts, 176 1011–1013 unboxing, 177–178 coupling, 455 class ID (CLSID), 631 catalogs, MEF, 890–891 creating and using, 65–66 Class View window, Visual Studio, catch, 396, 399, 400 data members, 67 435–436 Categories, 1393 database, ADO.NET, ClassesRoot, 697 Category, 1381 919–920 ClassInterface, 649 CategoryName, 547 derived, 90, 95–99, 176–177 ClassKey, 830 CategoryResourceFile, 543 entities, transactions, class-level variables, 30 CCW. See COM callable wallpaper 708–709 Clear(), 539 CData, 1005 event logging, 538–539 ClearAllErrors, 1133

1480

bbindex.inddindex.indd 14801480 003/10/123/10/12 11:5711:57 AMAM ClearErrors – committing transaction phase

ClearErrors, 1133 diagnostics, 520–526 Reverse, 240 Click, 496, 779, 1385 interfaces, 524–525 search, 237–239 OnCalculate, 876 invariants, 523 sets, 260–262 OnOuterButtonClick, 854 legacy code, 526 sort OnShowEntities, 1396 postconditions, 522–523 cultures, 816 ClickOnce preconditions, 521–522 lists, 251–253 assemblies, 488 Pure, 524 stacks, 245–247 deployment, 468, 471–477 code editor, Visual Studio, type conversions, 241 client 432–433 WinRT, 900 application, 606–610 Code First, 990–994 XAML, 850 COM, 651–653 code metrics, Visual Studio, 455 CollectionViewSource, 1144, Socket, 764–765 CodeAccessPermission, 1434 1151 library, WCF Data Services, CodeAccessSecurityAttribute, Color, 275 1391–1398 1434 ColorAnimationUsing .NET Framework, COM CodeActivity, 1401, 1402, 1405, KeyFrames, 1092 components, 634–645 1406 Column, 1068 P2P, 1428 CodeActivityContext, 1402 ColumnDefinition, 1068 WCF, 1348–1349, 1368–1370 CodeActivityMetadata, 1406 ColumnMapping, 938 ClientWPF, 469–470, 472 CodeActivity, 1402 ColumnName, 938 Clone(), 136, 1011 codeBase, 509 Columns, 1143–1144 Close, 356, 528, 1106 , 510 ColumnSpan, 1068 Close(), 698, 1370 CodeBehind, 1240 COM. See Component Object Closed, 1370 code-behind, 1110, 1142, 1144, Model CloseExtension, 889 1246, 1390 COM+, 6 ClosePrompt, 1404 CodeDriver, 495, 499, 500 COM callable wallpaper (CCW), Closing, 1370 CodeDriverInAppDomain, 499, 645–646 closures, 199–201 500 COM Client, 645–655 clouds, 1428, 1430–1431 coercion, 852–853 combinators, 340 cloud.AllLinkLocal, 1432 CoInitialize, 652 ComboBox, 1065, 1163, 1391, 1395 Cloud.Available, 1432 ColdCallFileException, 409, COMClient.cpp, 651 Cloud.Global, 1432 410 _com_error, 652 CLR. See Common Language ColdCallFileReader, 406, 409 Command, 1107 Runtime cold-calling, 404–405 command bindings, 1107 /clr, 6 Collapsed, 1185 command source, 1105, clr-namespace System, 833 collections, 229–278 1106–1107 CLS. See Common Language bit arrays, 263–268 command target, 1105 Specifi cation concurrent, 268–276 CommandBinding, 1105 CLSID. See class ID dictionaries, 253–260 CommandField, 1259 CNG. See Cryptography Next generics, 230 commanding, WPF business Generation initialization, 233 applications, 1105–1107 Cng, 611 interfaces, 230–231 command-line tools CngKey, 613 iteration, 143–145 .NET Framework, 25 coclass, 648 linked lists, 247–251 WPF, 428 CoCreateInstance, 631, 652 lists, 231–241 CommandParameter, 1107 , 52 sort, 251–253 Comment, 1432 Code Analysis, Visual Studio, MEF import, 863–885 comments, 25, 27, 52–54, 454–455 .NET Framework, 230 1038–1039 code based security, 11 observable, 262–263 Commit, 718, 727, 728, 730 code contracts performance, 276–277 CommittableTransaction, abbreviations, 525–526 queues, 241–245 713–715, 718 accessors, 524 read-only, 241 committing transaction phase, 707

1481

bbindex.inddindex.indd 14811481 003/10/123/10/12 11:5711:57 AMAM – constraints

Common Language Runtime Main(), 47–48 Conceptual Schema Defi nition (CLR) namespaces, 376–377 Language (CSDL), 964, 967 versions, 514–515 refl ection, 376 Concurrency Visualizer, Visual data types, 32 variables, 27 Studio, 453–454 deployment, 469 yield, 142 ConcurrencyMode, 1357, 1370 DLR, 313 CompilerResults, 496 concurrent collections, 268–276 exceptions, 623 Complete, 717, 724 ConcurrentBag, 269 GC, 11 Completed, 643 ConcurrentDictionary, 269, 273–274 IL, 4 components ConcurrentQueue, 269 Main(), 48 assemblies, 490 ConcurrentStack, 269 managed code, 4 COM, .NET Framework Condition, 1402 .NET Framework, 4–7 client, 634–645 Conditional, 439 permissions, 620 .NET Framework, COM conditional compilation, 55, 439 platform independence, 4 Client, 645–655 conditional operators, 152, 154 POCO, 964, 988–990 PerformanceCounter, conditional statements WCF, 1353 547–550 fl ow control, 37–40 Data Services, 1380–1385 WinRT, 900–902 if, 37–38 WPF, 1108 Component Object Model (COM), switch, 38–40 data binding, 1113 5. See also interop config. XAML, 859 application domains, 12 MaxResultsPerCollection, Common Language Specifi cation client application, 651–653 1391 (CLS), 10 components, .NET Confi guration Tool, ASP.NET, (CTS), 9, 33 Framework client, 1266 CommonStates, 1094 634–645 ConfigurationContext, 1327 CommunicationException, 1356 deployment, 467 ConfigurationName, 1354 Compare, 210, 240 GUIDs, 501 Connection, 974 Compare(), 138 IL, 6, 7 connections CompareAttribute, 1300 interop, 649–650 database, ADO.NET, CompareOrdinal, 210 reference counts, 10–11 920–925 Comparer, 815 registration, 650–651 points, 643–645, 653–654 CompareTo, 239 server, dynamic language strings, 921–922, 969–970 CompareTo(), 118, 137 extensions, 642 Connection.CreateCommand, comparison operators, 169–171 type library, 647–649 836 Comparison, 240 WebBrowser, 744 Console, 50–52, 497 CompileAndRun(), 495–496, 499 Component ConsoleApplication1, 427, 428 CompileAssemblyFromSource(), ServiceProcessInstaller, Console.ReadLine, 399, 427 496 788 Console.ReadLine(), 26, 50 Compile_Click(), 496, 500 ComponentInstaller, 788 Console.Write(), 50 compiler, 49–50 ComposablePartCatalog, 888, Console.WriteLine, 25, 236, assemblies, 494 891 399 async, 338 Compose, 888 Console.WriteLine(), 50–51, await, 338 ComposeParts, 865, 867, 888 209, 214, 217 C++, 6, 437 CompositionContainer, 865, const, 31, 67, 547 delegates, 187 867, 888 constants Equals, 254 CompositionException, 395 class data members, 67 foreach, 235 ComVisible, 649 readonly, 78–79 generics, 108 Concat, 210 variables, 31 GetHashCode, 254 concatenation operators, 152 ConstantExpression, 308 IL, 7 conceptual layer, ADO.NET Constraint, 919 JIT, 4–5 Entity Framework, 967–968 constraints

1482

bbindex.inddindex.indd 14821482 003/10/123/10/12 11:5711:57 AMAM Constraints – CSDL

ASP.NET MVC routes, 1286 Windows Store applications, Count, 242, 246, 302–303, 1011 DataTable, 943–945 1204–1208 $count, 1389 generic methods, 125–126 ContractAbbreviator, 525 Count Length, 264 generics, 115–117 ContractFailed, 521 CountdownEvent, 585 Constraints, 937 ContractFailedEventArgs, 521 covariance, 119–121, 139 constructors ContractInvariantMethod, 523 CProxy_ICompletedEvents, 644 arrays, 134 ContractName, 864 Create, 613, 999, 1446 calling other constructors CONTRACTS_FULL, 520 Create(), 146, 664 from, 77–78 ContractType, 864 CreateBookmark, 1414 class function members, 67, contra-variance, 119, 121–122 CreateElement, 1008 75–78 Control, 1053 CreateEventSource(), 539–540, constraints, 116, 117 controls. See also fl ow control 543 derived classes, 95–99 AJAX, 1271 CreateFileAsync, 901, 1198 hierarchies, 96–99 ASP.NET Web Forms, login, CreateFileQuery, 1199 implementation inheritance, 1266–1267 CreateFileTransacted, 623, 95–99 ASPX page model, 1241 733 initialization, 78 server-side, 1248–1249 CreateFromConfiguration, 319 lists, 232–234 WPF, 1061–1066 CreateHardLink, 657 overloading, 75 simple controls, CreateHardLinkTransacted, queues, 243 1061–1062 733 static, 76–77 ControlID, 1278 CreateInstance(), 134, 135, structs, 82 Controller, 1289, 1291, 1292, 499, 652 this, 78 1299 CreateInstanceAndUnwrap(), XAML, 850–851 Controllers, 1285 499 ConstructorInfo, 384, 388 controllers, ASP.NET MVC, CreateKeys, 613 ConstructorParameters, 1117 1287–1289, 1307–1308, CreateMask, 266 containers, MEF, 887–890 1317–1318 CreateMenu, 1299 ContainerStyle, 1145 partial views, 1297 CreateQuery(), 974 Contains, 246 Controls, 1126 CreateQuery, 310 ContainsKey, 253 ControlTemplate, 1079–1082, CreateRole, 1237 Content, 849, 1285, 1327 1085–1087 CreateSection, 266 ContentControl, 1053, 1063 ControlToValidate, 1255 CreateSubKey, 698 _contentLoaded, 430 convention-based part registration, CreateSubKey(), 698 ContentPlaceHolder, 1249, 870–871 CreateSymbolicLink 1251 conversion operators, 303–304 Transacted, 733 ContentProperty, 849, 850 Convert, 1123–1124 CreateTileUpdaterFor ContentTemplate, 889, 1126 ConvertAll, 241 Application, 1210 , 1277 Converter, 1111 CreateUser, 1236 ContextCreating, 1264 ConvertFromString, 849 CreationTime, 664 ContextDisposing, 1264 cookies, 1225–1226 CredCardAttribute, 1300 ContextMenu, 1065 cookieless, 1227–1228 Credentials, 329, 742, 1370 continuation tasks, 561 Cookies, 1226 Critical, 528 Continue, 798 cookieState, 1225 Cryptography Next Generation continue, 43, 198 Copy, 670–673, 1106 (CNG), 611 ContinueWith, 561 CopyFileTransacted, 733 CryptoServiceProvider, 611 Contract, 521 CopyTo, 210, 670–673, 687 CryptoStream, 615 contracts. See also code contracts CopyTo(), 664 .cs, 596 MEF, 871–873 correlation, WCF workfl ows, csc, 25 WCF, 1351–1356 1417–1418 csc.exe, 818 Message Queuing, 1466 CorrelationHandle, 1417 CSDL. See Conceptual Schema versioning, 1353 CorrelationManager, 532–533 Defi nition Language

1483

bbindex.inddindex.indd 14831483 003/10/123/10/12 11:5711:57 AMAM .csproj – DataGrid

.csproj, 427 data binding IL, 8 CSS. See cascading style sheet ASPX page model, 1247 inference, variables, 28–29 .csv, 835 WPF, 1468 interop, 630–631 ctor, 413 change notifi cation, library, COM, 647–649 CTS. See Common Type System 1113–1114 namespaces, 17 cultures CLR, 1113 .NET Framework, XAML, custom, 839–840 DataTemplateSelector, 849–859 dates, 808–809 1127–1128 nonblittable, 633 invariant, 805 error handling, predefi ned, 31–37 invariants, 805 1130–1137 safety localization, 805–814 lists, 1118–1120, 1125 generics, 109 neutral, 805 master/detail relationship, IL, 157 numbers, 807–808 1120 operators, 157–162 Register, 839 MultiBinding, Solution Explorer, 430 sort, 815–816 1120–1122 structs, 66 specifi c, 805 ObjectDataProvider, WinRT, 899 strong names, 501 1116–1117 database System.Globalization, PriorityBinding, ASP.NET profi les, 1232 805–814 1122–1123 classes WPF, 809 tab items, adding ADO.NET, 919–920 XAML, 810–811 dynamically, transactions, 708–709 CultureAndRegionInfoBuilder, 1126–1127 connections, ADO.NET, 839 validation, 1130–1137 920–925 CultureAndRegionModifiers, value conversion, database=Northwind, 920 839 1123–1124 DatabaseResourceManager, CultureData, 810, 813 XAML, 1109–111 838–839 CultureInfo, 807, 812, 839 XML, 1129–1130 DatabaseResourceReader, CultureInvariant, 223 WPF business applications, 836–837, 839 CurrencySymbol, 814 1107–1137 DatabaseResourceSet, 837–838 Current, 712, 939, 1011, 1451 data contract, WCF, 1353 Data_CollectionChanged, 262 CurrentConfig, 697 Data Encryption Standard (DES), DataColumn, 919, 937–938 CurrentCulture, 806–807, 815 612 DataColumnMapping, 919 CurrentPosition(), 1011 data members, classes, 67 DataContext, 332, 1112, 1131 CurrentReadCount, 590 data parallelism, 551–552 DockPanel, 1119 CurrentUICulture, 806–807 data reader, ADO.NET, 932–934 I NotifyCollection CurrentUser, 697 Data Services. See Windows Changed, 1125 custom attributes, 636 Communication Foundation ListBox, 1118 custom composite, 1408–1411 data tips, Visual Studio debugging, UserControl, 1142 Custom fi lter, WCF, 1377 442–443 DataContractAttribute, 1353 CustomBinding, 1361 data types. See also reference DataContractSerializer, 1198 CustomPages, 1327 types; value types data-driven applications, Cut, 1106 blittable, 633 1306–1311 cyclomatic complexity, 455 CLR, 32 DataErrorValidationRule, conversions, 158–161 1136 collections, 241 DataflowBlockOptions, 598 D explicit, 159–161 DataGrid, 937, 1019, 1101 implicit, 158–159 AutoGenerateColumns, 1143 D, 50 reference types, 158 Binding, 1395 DACL. See discretionary access TypeConverter, 849 CollectionViewSource, control list XAML, 832 1151 Data, 266, 401, 1117, 1123, 1432 CTS, 33 Columns, 1143–1144

1484

bbindex.inddindex.indd 14841484 003/10/123/10/12 11:5711:57 AMAM DataGridTextColumn – DeleteSubKey()

DataGridTextColumn, 1150 ItemTemplate, 1126 Default.aspx, 687–688 DataSet, 1024 RowDetailsTemplate, 1144 Default.browser, 1215 groups, 1144–1146 WPF, 1079, 1082–1083 DefaultIfEmpty, 295–296 GroupStyle, 1145 DataTemplateSelector, default.js, 897 ItemsControl, 1065, 1141 1127–1128 DefaultModelBinder, 1299 ItemsSource, 1141–1142 DataTransferManager, 1205 DefaultValue, 938 live shaping, 1146–1153 DataTrigger, 1077–1078 #define, 54–55 Menus, 1395 DataType, 938, 1330–1331 DefinitionIdentity, 1420 RowDetailsTemplate, 1144 DataTypeAttribute, 1300 Delay, 1111, 1404 WCF Data Services, 1391 DataWriter, 901 delayed loading, 978–979 WPF business applications, Date, 1138 delayed signing, 505–506 1141–1151 dates DelayedAutoStart, 789 DataGridTextColumn, cultures, 808–809 delegates, 184–198 1143–1144, 1150 localization, 808–809 Action, 190–191 DataList, 1257 DateModified, 381 anonymous methods, DataPackageView, 1208 DatePicker, 1062 197–198 DataPager, 1257 DateTime, 530, 808, 899, 1230 BubbleSorter, 191–192 DataRelation, 919 DateTimeFormatInfo, 807, 808 compilers, 187 DataRequested, 1205 DbCommand, 979 concatenation operators, 152 DataRow, 919, 938–940 DbConnection, 919, 979 declaring, 185–186 DataRowState, 957 DbDataReader, 979 event, 586 data_sendingRequest, 1393 DbParameter, 979 events, 184 DataServiceBehavior, 1383 DCOM proxy, 1442 example, 189–190 DataServiceCollection, dead-letter queues, 1444 Func, 190–191 1394 Deadline, 906 generics DataServiceContext, 1391 deadlocks, 573–574 library classes, 184 DataServiceHost, 1384 Debug, Visual Studio, 439 methods, 126–127 DataServiceHostFactory, 1384, debugger visualizers, Visual inference, 186–187 1390 Studio, 442–443 instance, 186–187 DataServiceKey, 1381, 1389 debugging lambda expressions, 201 DataServiceQuery, 1394 exceptions, 401 methods, 184 DataServiceQuery, historical, 446 generics, 126–127 1391 IL, 8 multicast, 193–197 DataService, 1380, 1382, source code, 439–440 Predicate, 237 1390 project, 438–440 string, 199 DataSet, 919, 1021, 1024 Visual Studio, 419 tasks, 184 ADO.NET, 936–945, data tips, 442–443 threads, 184 951–956 project, 441–446 using, 186–189 GetChanges, 957 XSLT, 1017–1018 WinRT, 901–902 SqlDataAdapter, 951–952 DebugWrite, 1405 DelegateCommand, 1422, 1424 WriteXml, 1019 DecelerationRatio, 1089 DELETE, 953, 1367 XML, 952–953, 955–956 Decimal, 850 Delete, 670–673 XmlDocument, 1019 decimal, 24, 159 Delete(), 539, 664 /dataset (/d), 947 declarative programming, 19 DeleteAll, 1416 DataSourceId, 1259 declarative role-based security, DeleteCommand, 953 DataSourceProvider, 1129 604–605 Deleted, 940 DataTable, 919, 936–937, decoration, 1065–1066 DeleteEventSource(), 539 943–945 decrement operator, 152 DeleteNothing, 1416 DataTableMapping, 919 DeepCopy, 731 DeleteObject(), 974, 1396 DataTables, 1022, 1024 Default, 939 DeleteRole, 1237 DataTemplate, 796, 1129 default, 115 DeleteSubKey(), 698

1485

bbindex.inddindex.indd 14851485 003/10/123/10/12 11:5711:57 AMAM DeleteSubKeyTree() – DnsPermission

DeleteSubKeyTree(), 698 xcopy, 468, 470 DirectoryCatalog, 867, 871, DelimitedListTraceListener, depth of inheritance, 455 890–891 529 Dequeue, 242 DirectoryInfo, 662, 663, 696, DemandFileIOPermissions, derived classes, 90, 95–99, 698 622–623 176–177 DirectoryName, 664 dependencies derived interfaces, 104–105 DirectorySeparatorChar, 665 external, 459–461 DeriveKeyMaterial, 615 DirectoryServicesPermission, properties DES. See Data Encryption 621 callbacks, 853–854 Standard dirty reads, 725 coercion, 852–853 Descendants, 310 disconnected record set, 920 events, 853–854 Description, 1196 DiscreteDoubleKeyFrame, 1093 WPF, 851 [Description], 1406 discretionary access control list XAML, 851–854 design by contract, 520 (DACL), 617 versions, assemblies, 488 design view editor, Visual Studio, dispatch interfaces, 629–630 dependency, 1110 418 DispatcherObject, 1052 dependency graph, Visual Studio, Design View window, Visual DispatcherSynchronization 448–449 Studio, 434 Context, 339 DependencyObject, 851, 1052, designers, WF, hosting, DispatcherTimer, 548 1110 1420–1424 DispEventAdvise, 655 DependencyProperty, 857 DesignerView, 1422 DispEventUnadvise, 655 DependencyPropertyChanged, destructors, 353–354, 356–357 DispId, 649 853 Detach, 987 DisplayAllDocuments(), 115 DependencyPropertyChanged Detach(), 975 DisplayAllNodes, 250 EventArgs, 853 Detached, 940 DisplayBits, 264 DependencyProperty.Register, DetailsComplete, 1417 DisplayExtensions, 1301 853 DetailsView, 1257 DisplayFile, 686, 687 dependent transactions, 717–725 DetermineVisualState, 1193 DisplayFormatAttribute, 1300 DependentClone, 712, 717, 724 DHTML. See Dynamic HTML DisplayName, 790, 793, 814 DependentCloneOption, 717 diagnostics, 519–550 DisplayPrompt, 1404 DependentServices, 793 code contracts, 520–526 DisplayTemplates, 1305 DependentTransaction, event logging, 536–544 DisplayTransaction 717–725 performance, 544–550 Information, 717 deployment, 467–484 tracing, 526–536 DisplayTree, 308 application life cycle, WCF, 1349–1351 DisplayTypeInfo, 389–390 467–468 dictionaries. See also resource Dispose, 354–355, 356, 407, 719 assemblies, 468, 488 dictionaries Dispose(), 141 ClickOnce, 468, 471–477 collections, 253–260 Distinct, 299–300, 982 CLR, 469 key types, 254–255 Distributed Routing Table (DRT), COM, 467 lookups, 259 1431 manifest, 472 sort, 260 DistributedCacheSessionState .NET Framework, 467, 469 Dictionary, StoreProvider, 1228 packages, web applications, 258, 259, 277 Divide, 865 478–479 DiffGram, 1020, 1024 Divide(), 146 planning, 468–469 DiffuseMaterial, 1097 .DLL, 487–488, 507, 631 RAM, 469 Digital Signature Algorithm DLR. See dynamic language requirements, 469 (DSA), 612 runtime traditional, 469–471 dimensions, arrays, 132–133 Dns, 755 web applications, 477–479 Direct, 856 DNS names, 754–756 Windows Store, applications, DirectionalLight, 1098 DnsLookup, 756 468, 479–484 directories, 692–693, 1179 DNSLookupResolver, 755 , 471 Directory, 662, 663 DnsPermission, 621

1486

bbindex.inddindex.indd 14861486 003/10/123/10/12 11:5711:57 AMAM Dock – EndPointCollection

Dock, 857 downloadString, 334 E DockPanel, 857, 1067–1068, 1119 DownloadStringAsync, 335 documents DownloadStringCompleted, 335 E, 50 dynamic, 1041–1043 DownloadStringTaskAsync, 336 eager loading, 978–979 fi xed, 1153, 1166–1169 DrawingBrush, 1059–1060 early binding, 630 fl ow, 1153, 1162–1166 DriveInfo, 662, 689–690 EasingDoubleKeyFrame, 1093 static, 1040–1041 DropCreateDatabaseAlways, EasingFunction, 1090 WPF, 1153–1173 1316 EC Diffi e-Hellman, 612, 614 FixedDocument, DropDownList, 1251, 1262, ECDSA. See Elliptic Curve Digital 1166–1169 1303 Signature Algorithm FlowDocument, Label, 1241 ECDsaCng, 614 1162–1166 SelectedValue, 1259 EditItemTemplate, 1261, 1262 printing, 1171–1173 DRT. See Distributed Routing EditorExtensions, 1305 TextElement, 1154–1162 Table ElapsedEventArgs, 594 XML DSA. See Digital Signature ElapsedEventHandler, 594 LINQ to Query, Algorithm ElasticEase, 1090 1040–1043 dual interfaces, 630 elements reading, 1043–1044 duplex communication, .NET Framework, XAML, writing, 1044–1045 1370–1372 849–859 Document Object Model (DOM), WCF, 1372 properties, 849 996, 1005–1009, 1214, 1267 DuplicateEmail, 1236 ElementName, 1110 Document Outline, Visual Studio, DuplicateUserName, 1236 Elements, 310 437 Duration, 1089 #elif, 55–56 DocumentManager, 243 DWORD, 361 Ellipse, 1054, 1168 DocumentManager, 115, 116 dynamic, 313, 314–318, 872, 1164 Elliptic Curve Digital Signature DocumentManager, Dynamic Data. See ASP.NET Algorithm (ECDSA), 612 116 dynamic documents, 1041–1043 Else, 1402–1403 Documents And Settings, 475 Dynamic HTML (DHTML), else, 37–38, 1000 DocumentText, 752 1267–1268 #else, 55–56 DocumentViewer, 1166–1167 dynamic language extensions, Embedded, 825 DOM. See Document Object 313–324, 642 EmissiveMaterial, 1097 Model (DLR), EmitDefaultValue, 1353 domains 313–314 Empty, 304–305 Active Directory Domain dynamic loading, 494–497, 499 Empty template, 1284 Services Integration, 1442 Dynamic Update, WF workfl ows, EnableCollection application 1419–1420 Synchronization, 337 assemblies, 488, 497–500 DynamicAssembly/CodeDriver. Enabled, 16, 594 dynamic loading, 499 cs, 495 enableDebug, 1018 .NET Framework, 11–13 DynamicClass, 315–316 EnablePartialRendering, 1275 DomainTest.exe, 498–499 DynamicDataRoute, 1332 EnableRequest, 779 DoThat, 577 DynamicHyperLink, 1324 Encoding.ASCII, 762 DoTheJob, 575, 579 DynamicLayout, 1279 encryption, 610–617 DoThis, 577 DynamicObject, 313, 321–322 encryptor, 615 DOUBLE, 630 DynamicPartitionerForArray< EndExecuteReader, 934 Double, 850 TSource>, 306 EndForm, 1301 double, 34, 362, 385 DynamicResource, 1073–1074 EndGetResponse, 743 DoubleAnimationUsingKey DynamicUpdateMap, 1419–1420 #endif, 55–56 Frames, 1092–1093 DynamicUpdateServices, EndInvoke, 334 do...while, 42, 43 1419–1420 EndofStreamException, 395 DownloadFile, 738 DynamicValidator, 1329 EndPoint, 1370 DownloadString, 334 DynDate, 697 EndPointCollection, 1433

1487

bbindex.inddindex.indd 14871487 003/10/123/10/12 11:5711:57 AMAM EndReceive – exceptions

EndReceive, 1452 Enumerable, 304, 308 event handlers, class data #endregion, 56 EnumerateFiles(), 664 members, 67 endRequest, 1277 enumerations, 43–45, 140–146 event listeners, 203–204, 206–207 EndSaveChanges, 1396–1397 Enumerator, 142 event logging, 520 EnforceConstraints, 945 enumerators, 111, 140, 143, architecture, 537–538 EnglishName, 812 145–146 classes, 538–539 EnlistDurable, 712 Enum.Parse(), 45 diagnostics, 536–544 enlistedTransaction, 728 EnvironmentPermission, 621 Windows Services, 800–801 EnlistPromotableSinglePhase, equality, 162–163 event publisher, 201–203 712 Equals, 236, 254, 255 Event Tracing for Windows EnlistTransaction, 713 Equals(), 36, 86, 147, 148, 149, (ETW), 535–536 EnlistVolatile, 712, 727, 728 162–163 event-based asynchronous pattern, Enqueue, 242 Error, 528, 1132 326, 335 Ensures, 522 #error, 56 EventInfo, 384 EnsuresOnThrow, errors. See also exceptions EventLog, 538 522 generics, 109 EventLogEntry, 538 EnterActions, 1076 ScriptManager, 1276–1277 EventLogInstaller, 538 EnterUpgradableReadLock, 590 error handling EventLogTraceListener, 529, entities asynchronous programming, 538 ADO.NET Entity 326, 341–344 EventManager. Framework, 970–973 with exceptions, .NET RegisterRoutedEvent, 856 attaching/detaching, 987 Framework, 13 EventName, 1278 storing changes, 987–988 interop, 632–633 EventProviderTraceListener, classes, transactions, 708–709 WPF data binding, 529, 535 LINQ, 280–283 1130–1137 EventTrigger, 1087, 1090–1092 WCF Data Services, ErrorMessage, 1255 EventTypeFilter, 531 1396–1397 Errors, 496 Everything permission set, 622 Entities, 1395 ErrorsChanged, 1133 ex, 399 Entity, 1395–1396 Errors.resw, 841 , 52 Entity Framework. See ADO.NET ErrorTemplate, 1131 Excel, 835 Entity Framework escape sequence Except, 299–300, 982 Entity SQL, 979–980 char, 35 Exception, 404, 410 EntityCommand, 979 strings, 36 , 52 EntityDataReader, 979 ETW. See Event Tracing for exceptions, 393–413 EntityDataSource, 1256, Windows caller information, 411–413 1257–1260, 1264 event, 586 catch, 396 EntityDataSourceContext events, 201–208 catching, 395–404 CreatingEventArgs, 1263 ASPX page model, 1241 from other code, 401 EntityDescriptor, 1395–1396 bubbling, 854–856 user-defi ned, 405–407 EntityObject, 972, 1257 class data members, 67 classes, 394–395 EntityParameter, 979 delegates, 184 user-defi ned, 404–413 EntitySetRights, 1383 dependency properties, CLR, 623 EntityState, 987, 1396 853–854 debugging, 401 EntityState.Modified, 987 interop, 633 finally, 396 EntityTemplates, 1327 Page, ASPX page model, modifying, 404 EntityType, 968 1244–1246 multiple catch blocks, EntityTypeMapping, 968 thread synchronization, 398–401 Entries, 538 585–588 .NET Framework, 394 EntryPoint, 657 tunneling, 854–856 System, 395 enum, 899 weak, 204–205 throwing, 396 EnumDataTypeAttribute, 1300 WinRT, 901–902 user-defi ned, 407–409

1488

bbindex.inddindex.indd 14881488 003/10/123/10/12 11:5711:57 AMAM exception handling – File

try, 396 regular, 221–228 TreeView, 1138 try/finally, 394 resource, 1247–1248 tunneling events, 854–856 Visual Studio, 444–445 Expression Blend, 846 Visual Studio, 419, 421 exception handling, 394 Expression Design, 846 WF, 845 Exception.Message, 400 expression trees, 307–310 activities, 1407–1408 ExceptionValidationRule, Expression, 307–310 workfl ows, 1412 1136 ExpressionTextBox, 1408 Windows 8, 841 ExceptWith, 262 ExtenderControl, 1279–1280 applications, 480, 845 .EXE, 487–488, 631 extensibility. See also Managed WinRT, 896, 898 executables, 26 Extensibility Framework WPF, 19, 845, 1050 Execute, 1401–1402, 1406, WCF, 1338 data binding, 1112 1415 eXtensible Application Markup writing, 861–862 ExecuteAssembly(), 498, 499 Language (XAML), 845–862 XML, 846 ExecuteCommand, 798 arrays, 850 x:Static, 832 ExecuteNonQuery(), 926–927 asynchronous pattern, Extension, 664 ExecuteReader(), 926, 927 328–329 extensions ExecuteReaderAsync, 935 attached properties, dynamic language, 313–324, ExecuteScalar(), 926, 928 857–859 642 ExecuteTask, 1415 bubbling events, 854–856 FPSE, 468, 480 ExecuteXmlReader(), 928–929 CLR, 859 markup, 859–861 Exists, 522, 664 collections, 850 methods ExitActions, 1076 constructors, 850–851 classes, 87–88 Expand, 1394 cultures, 810–811 LINQ, 284–285 $expand, 1394 data type conversions, 832 XAML, 857 Expander, 1064 dependency properties, WF, 1414–1415 ExpandObject, 322–324, 857 851–854 extern, 100 ExpectedException, 458 Expression Blend, 846 external dependencies, 459–461 ExpirationTime, 1210 Expression Design, 846 Expires, 1225 extension methods, 857 explicit casts, 172 generics, 846, 850 F explicit conversions, 159–161 ListBox, 329, 848 ExplicitCapture, 222–223 MainWindw.xaml, 430 F, 50 ExponentialEase, 1090 markup extensions, 859–861 \f, 35 Export namespaces, 846 Fakes Framework, 461–462 Calculator, 866 .NET Framework, 845 FallbackValue, 1111 PartBuilder, 871 attributes, 849–859 fault contract, 1355–1356 SpeedExport, 880 classes, 847–849 Faulted, 1370 export, MEF, 873–882 data types, 849–859 FaultException, 1356 metadata, 879–881 elements, 849–859 fi elds methods, 877–878 namespaces, 848 class data members, 67 properties, 877–878 objects, 846–847 instance, this, 31 export providers, MEF, 887–890 properties, 849–859 readonly, 78–79 ExportAttribute, 880 reading, 861–862 usage conventions, 63 exported types, assemblies, 490 resource dictionaries variables, 29–31 ExportInterfaces, 871 satellite assemblies, FieldInfo, 384, 388 ExportMetadata, 879 832–833 FieldName, 376 ExportsChanged, 889 WPF localization, FieldNameAttribute, 376, 379 ExportsChangedEventArgs, 889 832–836 FieldTemplates, 1327 Expression, 308, 938 StringArrayConverter, FIFO. See fi rst in, fi rst out expressions, 1247–1248. See also 1124 Figure, 1161, 1162 lambda expressions TextBox, 328 File, 662, 663, 692, 1289

1489

bbindex.inddindex.indd 14891489 003/10/123/10/12 11:5711:57 AMAM fi les – Format

fi les. See also resource fi les FileSystemAccessRule, 618, FlowDocumentScrollViewer, ACL, 691–692 619, 694 1163 adding and removing, FileSystemInfo, 662 Flush, 528 694–695 FileSystemRights, 618 FocusedStates, 1094 Copy, 670–673 FileSystemSecurity, 617 folders, .NET Framework classes, CopyTo, 670–673 fileTypeFilter, 897 663–665 Delete, 670–673 FillBehavior, 1089 FolderPicker, 1203 manifest, ClickOnce, 472 FillData, 589 folding editor, Visual Studio, manipulation of, 661–795 Filled, 1193 432–433 mapped-memory, 688–689 Filter, 531 fonts, 1154–1155 message resource, 540–544 $filter, 1389 FontFamily, 1154 Move, 670–673 fi lters FontSize, 1075, 1154 .NET Framework classes, actions, ASP.NET MVC, FontStretch, 1154 663–665 1312–1313 FontStyle, 1154 objects, 437 LINQ, 289–291 FontWeight, 1154 projects, Visual Studio, 420 WCF, 1377 Foo, 116, 533, 872 ReadAllText, 673–675 FilterAttribute, 1313 Foo(), 128 reading, 673–675 Filters, 1328 FooterTemplate, 1261 security, 691–695 [FINAL], 764 For, 555, 563 streams, 676–682 Finalize, 353, 354, 413 for, 43 text, 682–688 Finalize(), 86 jagged arrays, 134 Windows Store applications, fi nalizers, 67 local variables, 29 1179 finally, 43, 396, 399, 585 loops, 40–41 WriteAllText, 675–676 Find, 237, 238 Parallel, 553 writing, 675–676 FindAll, 238 ForAll, 522 fi le system FindIndex, 237, 238 ForceRollback, 727 management, 662–670 FindLastIndex, 237 ForEach, 235–236, 557 transactions, 733–736 FindResource, 833, 1072, 1073 foreach, 131, 690, 1451 FileAccess, 678 Fire_Completed, 644 arrays, 141 FileAuthorization, 1221 fi rst in, fi rst out (FIFO), 241–242, closures, 200–201 FileDialogPermission, 621 1403 compilers, 235 FileInfo, 662, 663 First.cs, 25 DisplayAllNodes, 250 FileIOPermission, 620, 621, FirstReturnedRecord, 954 enumerators, 140 622, 657 Fixed, 988 FileSecurity, 692 FileIOPermissionSet, 624 fixed, 365–366 funcs, 200 FileIOSecurity, 623 fi xed documents, 1153, 1166–1169 GetEnumerator(), 111 FileMode, 678 FixedDocument, 1166–1169 Grid, 857 fileNamesForPath, 598 FlickrRequest, 329, 331 IL, 141 FileNotFound, 405 FLOAT, 630 int, 109 FileNotFoundException, 406 float, 34, 159, 174 iteration, 42 FileOpenPicker, 897, 898, Floater, 1161, 1162 Length, 134 1203 fl oating-point value types, 34 LINQ, 285 FILEPATH, 506 fl ooding, 1428 loops, 42–43 FilePathResult, 1289 fl ow control, 37–45 Razor syntax, 1292 FileProperties, 666–670 conditional statements, 37–40 sorted lists, 252 FilePropertiesAndMovement, jump statements, 43 while, 201 670–673 loops, 40–43 Foreground, 1075 FileSecurity, 617, 619, 692, 694 fl ow documents, 1153, 1162–1166 foreign key, 944–945 FileShare, 678 FlowDocument, 1162–1166 ForeignKeyConstraint, 943 FileStream, 407, 617, 677, FlowDocumentPageViewer, 1163 fork and join, 935 678–682, 999, 1029 FlowDocumentReader, 1163 Format, 210

1490

bbindex.inddindex.indd 14901490 003/10/123/10/12 11:5711:57 AMAM format strings – GetOperations

format strings, 50–51, 216 GC.Collect, 353 GetAttribute, 1001 FormatException, 400, 408 General Sequence Diagram, 451 GetAuditRules, 617 FormatName, 1448 GenerateInMemory, 496 GetCallbackChannel, 1371 Formatter, 1449 generation operators, 304–305 GetChanges, 957 FormExtensions, 1301 generics, 107–128 GetConstructor(), 384 FormsAuthentication, 1221 binary code reuse, 109–110 GetConstructors(), 384 FormsAuthentication. class hierarchies, 114 GetConsumingEnumerable, 273 RedirectFromLoginPage, 1236 classes, 107, 110–114 GetCurrent, 1275–1276 FormView, 1257 CLR, 108 GetCustomAttributes, 387–388 FPSE. See FrontPage Server code bloat, 110 GetDateContent, 1168 Extensions collections, 230 GetDefaultMembers(), 384 Fragment, 1024 compilers, 108 GetDeferral, 906 Frame, 1062, 1191 constraints, 115–117 GetDIBits(), 16 FrameworkElement, 872, 1053, contra-variance, 119, GetDirectories(), 664 1072, 1110 121–122 GetDocument, 243, 251 DataContext, 1112 covariance, 119–121 GetEnlistment, 729 LogicalTreeHelper, 1164 default values, 114–115 GetEnumerator(), 111, 112, 134, FriendlyName, 498 errors, 109 140, 144 from, 290–291 IL, 107 GetEvent(), 384 FromAsync, 1396–1397 indexers, 120 GetEvents(), 384 fromInclusive, 522 inheritance, 117–118 GetExecutingAssembly, 818 FrontPage Server Extensions interfaces, 118–122 GetExport, 888 (FPSE), 468, 480 library classes, 184 GetField(), 384 FullName, 664 methods, 107, 124–128 GetFields(), 384 FullScreenLandscape, 1185, names, 110 GetFileNames, 596, 703 1193 .NET Framework, 107, 119 GetFiles(), 664 FullScreenPortrait, 1185, 1193 Object, 107 GetFileSystemInfos(), 664 FullTrust permission set, 622 performance, 108–109 GetHandler, 1219 fully qualifi ed name, 45 specialization, 117–118 GetHashCode, 254, 255 Func, static members, 118 GetHashCode(), 36, 85–86 877 structs, 122–124 GetHeaderContent, 1167 funcs, 200 type safety, 109 GetHtmlContent, 1204 Func, 197, 334 value types, 114 GetIDsOfNames, 629 Func, 190–191 WeakEventManager, GetIdsOfNames, 642 function members, 67–78 207–208 GetManifestResourceNames, WinRT, 899 819 XAML, 846, 850 GetMember(), 384 G GenericPrincipal, 602 GetMembers(), 384 Geometry, 1054–1055 GetMenuContent, 1168 G, 50 GeometryModel, 1097 GetMenusByName, 1385 GAC. See GET, 1218, 1289, 1319, 1367 GetMessageEnumerator, 1451 GAC_MSIL, 502 Get, 264 GetMethod, 384 gacutil, 506 get, 73–74, 579, 852 GetMethod(), 384 gacutil /1, 502 GetAccessControl, 617, 692, GetMethods, 384 gacutil /1 mydll, 502 696 GetMethods(), 384 gacutil /u mydll, 502 GetAccessControl(), 698 GetNamespace(), 47 garbage collection (GC) GetAccessRules, 617 GetNextTextElement, 805 managed types, 361 GetAddressBytes, 755 GetNullableType(), 124 memory, 10, 351–353 GetAssemblies(), 500 GetObject, 819 .NET Framework, 10–11, GetAString, 186 GetObjectByKey(), 974 352–353, 629 GetAsync, 345, 1387 GetOperations, 865

1491

bbindex.inddindex.indd 14911491 003/10/123/10/12 11:5711:57 AMAM GetProperties() – HTML

GetProperties(), 384 WPF, 1068–1069 HelpText, 789 GetProperty(), 384 GridView, 1192, 1194, 1257, hidden fi les, 428 GetPublicQueues, 1446, 1447 1324 HierarchicalDataTemplate, GetPublicQueuesByCategory, BoundField, 1261 1079, 1129, 1137, 1138 1446 EntityDataSource, 1259 hierarchies GetPublicQueuesByLabel, 1446 sort, 1259 classes GetPublicQueuesByMachine, Visibility, 1195 generics, 114 1446 group, 292–294 WPF, 1051–1053 GetRandomQuoteOfTheDay, 777 groups constructors, 96–99 GetReaders, 1163 DataGrid, 1144–1146 depth of inheritance, 455 GetResponse, 742 joins, 296–299 streams, 676–677 GetRolesForUser, 607 LINQ, 292–294 tasks, 561–562 GetStream, 759 nested objects, 293–294 WebRequest, 753 GetString, 819, 839 regular expressions, 226–228 WebResponse, 753 GetSubKeyNames(), 698 GroupBox, 814, 1064 historical debugging, 446 GetText1, 1246–1247 GroupBy, 293, 982 HKCF. See HKEY_CURRENT_ GetTextElementEnumerator, groupby, 293 CONFIG 805 GroupCollection, 227 HKCR. See HKEY_CLASSES_ROOT GetType, 383 GroupStyle, 1145 HKCU. See HKEY_CURRENT_USER GetType(), 36, 47, 86 Guid, 649 HKEY_CLASSES_ROOT (HKCR), GetUpdatedWorkflow, guidgen.exe, 1445 650, 696 1419–1420 GUIDs. See globally unique HKEY_CURRENT_CONFIG (HKCF), GetValue, 729 identifi ers 696 GetValue(), 134, 698, 851, 852 HKEY_CURRENT_USER (HKCU), GetValueKind(), 698 H 696 GetValueNames(), 698 HKEY_DYN_DATA, 696 GetWords, 597 HandleErrorAttribute, 1313 HKEY_LOCAL_MACHINE (HKLM), global application class, HandleOneError, 343 482, 696 ASP.NET, 1222 handlers HKEY_PERFORMANCE_DATA, 696 global assembly cache (GAC), 15, ASP.NET, 1217–1222 HKEY_USERS (HKUSR), 696 488 event, class data members, 67 HKLM. See HKEY_LOCAL_ ClickOnce, 472 Windows Services, 773–774, MACHINE shared assemblies, 502–503, 785 HKUSR. See HKEY_USERS 509 HandleWebSocket, 767–768 HorizontalAlignment, 1161 global clouds, 1430 HasAttributes, 999, 1001 hosting global.asax, 122 HasError, 1132 ASP.NET, 1214–1216, , 829 HasErrors, 1424 1390–1391 globally unique identifi ers HashSet, 260, 277, 988 WCF, 1366–1368 (GUIDs), 7, 501, 721, 1445 HashTable, 230, 836 Data Services, 1383–1384 assemblies, 14 HasValue, 999 workfl ows, 1416–1419 initializeData, 535 HEAD, 1218 WF, designers, 1420–1424 GoBack, 750 HeaderedContentControl, HRSESULT, 647, 652 GoHome, 750 1063–1064 HTML goto, 39, 43, 198 HeaderedItemsControl, 1065 AJAX, 1267 GoToPage, 1106 Headers, 742 ASP.NET, 1213 GradientStop, 850 HeaderTemplate, 1261 Dynamic Data, 1322 GradientStops, 850 heap attributes, 1303 graphs, P2P, 1428 managed, 349–351 displaying output, 743–756 Grid, 857, 1102, 1110 reference types, 32, 108, 161 helpers FlowDocument, 1163 HelpLink, System.Exception, ASP.NET MVC, GetMenuContent, 1168 401 1301–1306

1492

bbindex.inddindex.indd 14921492 003/10/123/10/12 11:5711:57 AMAM Html – IgnorePatternWhitespace

EditorExtensions, HttpWebRequest, 334, 741 IDisposable, 101, 141, 354–356, 1305 Hungarian notation, 58 923, 1301 lists, 1303–1304 IDisposable.Dispose, 924 strong data typing, I IDL. See Interface Defi nition 1304–1305 Language templates, 1305–1306 IAccount, 126 Idle, 1404 networking, 743–756 IANA. See Internet Assigned IDocument, 115–116 WCF Data Services, 1380 Numbers Authority IDocumentPaginatorSource, web application deployment, IAsyncResult, 334, 934 1162 477 ICalculator, 451, 865 IDuplexSessionRouter, 1373 Windows 8, 841 Calculator, 866, 868 IE. See Internet Explorer applications, 1204–1206 convention-based part IEasingFunction, 1090 Html, 1301 registration, 870 IEnitityWithRelationships, , 1249 ICalculatorExtension, 863, 972 HtmlHelper, 1301 872, 889 IEnlistmentNotification, 727, HTTP ICloneable(), 136, 731 731 client application, WCF Data ICollection, 231, 242 IEntityWithChangeTracker, Services, 1385–1388 ICollection, 230, 231, 242, 972 cookies, 1225–1226 988, 1299 IEntityWithKey, 972 DELETE, 1367, 1397 ICollectionViewLiveShaping, IEnumerable, 112, 131, 140–141, WCF Data Services, 1396 1146 231, 235, 556, 1451 GET, 1289, 1319, 1367 ICommand, 1422 IEnumerable

, 1292 GetAsync, 1387 ICommandSource, 1106–1107 IEnumerable, 597 LINQ, 1394 IComparable, 118, 136, 137, 239 IEnumerable, 112, 230, 231, REST, 1372 IComparer, 138, 815 522 SOAP, 1372 IComparer, 231 Accumulate(), 126 MERGE, 1396 _IcompletedEvents, 643–644 AddRange, 234 MSMQ, 1442 IConnectionPoint, 645 Import, 863 networking, 738 IConnectionPointContainer, LINQ, 284–285 POST, 1320, 1367, 1397 645 ParallelEnumerable, 306 WCF Data Services, IConnectionPointContainer Queue, 242 1396 Imp, 644 IEnumeration, 879 PUT, 1367 Id, 1415 IEnumerator, 131, 141, 144, 235, WCF, 463, 1340, 1363–1365 IDataErrorInfo, 1132–1133 1451 Data Services, 1380 IDataflowBlock, 595 IEqualityComparer, 148–149 WebRequest, 741 IDE. See integrated development IEqualityComparer, 231 WebResponse, 741 environment IEquatable, 147, 255 HttpApplication, 1222 identifi er rules, 558 IF, 1402–1403 HttpBrowserCapabilities, IdentifyReference, 617 if, 37–38, 810 1223 identity, 602–603 #if, 55–56 HttpClient, 1319, 1385, 1386, Identity, 602 IFoo, 116 1391 IdentityReference, 618 IFormatProvider, 209–210, 807, HttpContext, 122, 1218, 1233, IDictionaryEnumerator, 836 808 1234 IDictionary, IFormattable, 85, 215, 217, 218, HttpCookie, 1226 879 391 HttpException, 1219 IDictionary, IgnoreCase, 223 HttpForbiddenHandler, 1219 231, 1299 IgnoreComments, 999 HttpRequest, 1218, 1223–1224, IDispatch, 629–630 IgnoreIdentityConstraints, 1226 CCW, 645 999 HttpResponse, 1224, 1225 RCW, 639 IgnoreInlineSchema, 999 HttpSessionState, 1224, 1227 sink object, 654 IgnorePatternWhitespace, 223

1493

bbindex.inddindex.indd 14931493 003/10/123/10/12 11:5711:57 AMAM IgnoreProcessing Instructions – Installer System.Confi guration.Install.Installer

IgnoreProcessing Import, 863, 864, 867 initialization Instructions, 999 import, 25 for, 40 IgnoreSchema, 1020, 1024 import, MEF, 882–887 arrays, 130–131, 133 IgnoreSchemaLocation, 999 collections, 863–885 collections, 233 IgnoreWhitespace, 999 ImportMany, 864, 879 constructors, 78 IGrouping, 293 ImportProperties, 871 variables, 27–28 IHttpHandler, 1218, 1219 ImportProperty, 871 initialization vector (IV), 615 IID. See interface ID ImportsSatisfied, 864 Initialize, 788 IImageRequest, 331 IMyMessage, 1371 InitializeComponent, 782, 787, IIndex, 120 IMyMessageCallback, 1370, 823 IIndex, 120 1371 initializeData, 535 IInputStreamReference, 899 In, 649 InitializePerformance IINspectible, 899 in, 121 Counters, 547 IIS. See Internet Information Include, 978, 982 InitializeService, 1383, 1385 Services IncludeExceptionDetailIn InitializeViewModel, IKernelTransaction, 734, 735 Faults, 1358 1421–1422, 1423 IL. See Intermediate Language Increment, 548 Inline, 1156–1157, 1167 ildasm, 14, 316, 491, 505, 818 increment operators, 152 inlining, 74 IList, 231 Index, 1285, 1290 inner joins, 294–295 IList, 285, 898 indexers InnerException, 401, 404 IList, 230, 242, 1299 arrays, 131, 132–133 InnerExceptions, 344 IList, 252 class function members, 67 INotifyCollectionChanged, IList, 252 generics, 120 1125, 1394 ILookup, 231 indexing operator, 152 INotifyDataError, 1102 ImageBrush, 1060 IndexOf, 210, 237 INotifyDataErrorInfo, ImageFailed, 1202 IndexOfAny, 210 1133–1136 ImageOpened, 1202, 1203 IndexOutOfRangeException, INotifyPropertyChanged, 327, ImagePath, 1196 131 780, 972, 1108, 1385–1386, images, Windows Store application indirection and address operator, 1421 storage 152 BindableBase, 876, 1458 reading, 1202–1203 InDoubt, 727, 728 BindableObject, 1114, 1148 writing, 1200–1202 inference INotifyPropertyChanging, 972 IMessageFormatter, 1449 data type, variables, 28–29 input, 496 immutable data type, 211 delegates, 186–187 input strings, 222 IModelBinder, 1299–1300 InferSchema, 1024 InputExtensions, 1301 Impersonation, 1360 Information, 528 Insert, 210 implementation inheritance, 90–99 inheritance, 89–105 Insert(), 215 abstract classes, 94 classes, 90 InsertAfter, 1012 abstract functions, 94 generics, 117–118 InsertCommand, 953 calling base versions, 93 interfaces, 100–105 InsertRange, 234 constructors, 95–99 versus implementation installation hiding methods, 92–93 inheritance, 90 application, ClickOnce, versus interface inheritance, modifi ers, 99–100 475–476 90 multiple, 90 assemblies, 488 sealed classes, 94–95 structs, 82, 90 Message Queuing, 1446, 1470 sealed methods, 94–95 Inherited, 378 shared assemblies, 504 virtual, 91–92 Inherits, 1240 Windows Services, 786–791 virtual methods, 91–92 Init, 1244 Installer, 787–788 implicit casts, 172 InitClass, 948–949 Installer System. implicit conversions, 158–159 InitComplete, 1244 Configuration.Install. implicit permissions, 625 InitialiseDatabase, 952 Installer, 787

1494

bbindex.inddindex.indd 14941494 003/10/123/10/12 11:5711:57 AMAM installutil.exe – IQueryable

installutil.exe, 787, 790–791, versus implementation interfaces, 629–630 1470 inheritance, 90 marshaling, 633–634 instance, 66 interop, 629–630 memory, 629 Assembly, 387 outgoing, 643 metadata, 628 classes, equality, 162–163 WinRT, 899 method binding, 630 DataContext, 332 Interface Defi nition Language MTA, 631–632 delegates, 186–187 (IDL), 13, 628 .NET Framework fi elds, this, 31 interface ID (IID), 631 components, COM Client, IE, 745–746 InterfaceType, 649 645–655 structs, equality, 162–163 Interlocked, 580–581 p/invoke, 655–659 InstanceCompletionAction, Intermediate Language (IL) RCW, 639–642 1416 assemblies, 489 registration, 631 InstanceContext, 1365 CLR, 4 sink objects, 654–655 InstanceContextMode, 1357 CLS, 10 STA, 631 InstanceName, 547 COM, 6, 7 threads, 631–632, 642–643 InstanceStore, 1415 COM+, 6 WebBrowser, 744 InstanceTable, 1416 compilers, 7 Intersect, 299–300, 982 int, 26, 32, 33 data types, 8 IntMethodInvoker, 185 AddLast(), 113 debugging, 8 Intranet template, 1284 BitArray, 263 foreach, 141 IntValue, 316 float, 159 generics, 107 InvalidOperationException, foreach, 109 JIT, 4–5 124, 1300, 1359 GetNullableType(), 124 language interoperability, 5 invariants implicit conversion, 158 .NET Framework, 7–13 code contracts, 523 int?, 159 platform independence, 4 cultures, 805 LinkedList, 113 reference types, 8 Invoke, 642 List, 232 source code, 4 InvokeCalculatorAsync, 451 Main(), 28 strong data typing, 8–13 InvokeMember(), 496 pointers, 362 application domains, 12 InvokeMethod, 1403 short, 159 type safety, 157 I/O TaskWithResult, 560 value types, 8 Concurrency Visualizer, 453 uint, 159 internal, 66, 99 Console, 50–52 int?, 159 internal protected, 66 .NET Framework, 676 Int32, 850 Internet Assigned Numbers streams, 676 integers, 361–362 Authority (IANA), 758–759 IOException, 395 integrated development Internet Explorer (IE) IOperation, 866, 870 environment (IDE), 8, 417, instance, 745–746 IOrderedEnumerable, 421 WebBrowser, 746–751 291 integrated security= XMLHttpRequest, 1267 , 651 SSPI, 920 Internet Information Services (IIS), IOutputStream, 901 IntelliSense, 418, 419, 433, 1214 508, 1214, 1216, 1346 IP addresses, 754–756 IntelliTrace, 446 Internet permission set, 622 IPAddress, 755 interfaces Internet template, 1284 IPartImportsSatisfied code contracts, 524–525 interop, 627–659 Notification, 864 collections, 230–231 COM components, .NET IPEndPoint, 762, 765 custom, 629 Framework client, 634–645 IPHostEntry, 755 derived, 104–105 connection points, 643–645, IPrincipal, 602, 604 dispatch, 629–630 653–654 IProducerConsumerCollection dual, 630 data types, 630–631 , 231, 268 generics, 118–122 error handling, 632–633 IQueryable, 1379, 1382 inheritance, 100–105 events, 633 IQueryable, 310

1495

bbindex.inddindex.indd 14951495 003/10/123/10/12 11:5711:57 AMAM IRandomAccessStream – Just-in-Time (JIT)

IRandomAccessStream, 901, isolation level, transactions, collections, 143–145 1201 725–727 enumerations, 140 IRandomAccessStream IsolationLevel, 712 foreach, 42 Reference, 899 IsOneWay, 1355 sorted lists, 252 IRandomAccessStreamWith [OperationContract], IUnknown, 629, 630, 645 ContentType, 1202 1466 RCW, 639 IRequestHandler, 1380 isOpen, 408 WinRT, 899 IRequestReplyRouter, 1373, ISourceBlock, 595–596 IV. See initialization vector 1375 ISpeedCapabilities, 880–881 IValidationErrorService, IResourceReader, 821, 836 IsPointer, 383 1424 is, 155 IsPressed, 1075 IVector, 897, 898 IsAbstract, 383 IsPrimitive, 383 IVector, 899 IsAlive, 83 IsPublic, 383 IViewEngine, 1312 IsArray, 383 IsRequired, 1353 IWeakEventListener, 205, IsAsync, 1123 IsSealed, 383 206–207 IsAuthenticated, 603 IsSubsetOf, 260 IXamlTypeResolver, 859 IsBackground, 568–569 IsSupersetOf, 260 IXPathNavigable, 1013, 1014 IsClass, 383 IsSynchronized, 577 IXpsFixedDocumentSequence isDisposed, 357, 407 IsSynchronizedWithCurrent Writer, 1170 IsDocumentAvailable, 243 Item, 1120 IsEnabled, 779, 797 IStateService, 1358 CanGoBack, 1192 IsTerminating, 1354 J IsEnum, 383 IStorageItemProperties, 899 IsEqualIID(), 16 IStructuralComparable, 147 jagged arrays, 133–134 IServiceProvider, 859 IStructuralEquatable, 147–148 Java, 25, 91 ISet, 231, 260 IsUserInRole, 607, 1237 JavaScript. See also Asynchronous IsFaulted, 343 IsValueCreated, 865 JavaScript and XML ISimplexDataGramRouter, 1373 IsValueType, 383 ASP.NET, 1214 ISimplexSessionRouter, 1373 ITaskExtension, 1415 DOM, 1214 IsInAsyncPostBack, 1275 Item, 264, 266 dynamic language extensions, IsInitiating, 1354 ItemClick, 1192 313 IsInRole(), 604 ItemCount, 1145 Windows 8, 841 IsInterface, 383 itemGridView, 1185 WinRT, 897 IsLiveFiltering, 1147 itemListView, 1185 JavaScript Object Notation IsLiveGrouping, 1147 Items, 1126 (JSON), 19, 1267, 1340, IsLiveSorting, 1147 ItemsControl, 1053, 1064–1065, 1380 IsLiveSortingRequested, 1138, 1141 JIT. See Just-in-Time 1151 ItemSource, 1126 JobForAThread, 565 IsMetric, 814 ItemsPanelTemplate, 1079 Join, 210 IsMouseOver, 1075 ItemsPresenter, 1145 join, 294–296 IsNetworkDeployed, 476 ItemsSource, 1141–1142 JoinBlock, 598 IsNeutralCulture, 812 ItemTemplate, 329 journal queues, 1444 ISOCurrencySymbol, 814 CloseExtension, 889 jQuery, 1214, 1297–1298, isolated storage, 700–703 DataTemplate, 1126 1319–1320 IsolatedStorageFile, 701 Label, 1261, 1262 JSON. See JavaScript Object IsolatedStorageFile listTemplate, 797 Notation Permission, 621 TabItem, 889 Json, 1289 IsolatedStorageFileStream, TextBlock, 1126 JsonRequest, 1385 701, 703 WPF, 1084–1085 JsonRequestBehavior, 1289 IsolatedStoragePermission, iteration jump statements, 43 621 for, 40 Just-in-Time (JIT), 4–5

1496

bbindex.inddindex.indd 14961496 003/10/123/10/12 11:5711:57 AMAM KeepTogether – lights, WPF 3-D

K from, 290–291 LastModifiedAttribute, 380, aggregate operators, 302–303 389, 390 KeepTogether, 1158 conversion operators, LastWriteTime, 664 KeepWithNext, 1158 303–304 late binding, 630 Key, 968 entities, 280–283 Launch Performance Wizard, 451 key exchange, 614–617 Enumerable, 304 LaunchActivatedEventArgs, key types, 254–255 expression trees, 307–310 1191 keyframe animations, 1092–1093 extension methods, 284–285 layer diagram, Visual Studio, KeyNotFoundException, 253, fi lters, 289–291 449–450 258 foreach, 285 layout Keys, 252 generation operators, ASP.NET MVC views, keywords, 26 304–305 1293–1295 names, 60–62 group, 292–294 Windows Store applications, pointers, 358–360 groups, 292–294 1193–1196 reserved, 57–58 joins, 296–299 WPF, 1066–1069 nested objects, 293–294 LayoutAwarePage, 909, 1192, L HTTP GET, 1394 1193, 1199 IEnumerable, 284–285 LayoutTransform, 1057–1058, Label, 609 IList, 285 1110 ASP.NET Web Forms, 1224 inner joins, 294–295 lazy loading ContentControl, 1062 join, 294–295 ADO.NET Entity DropDownList, 1241 left outer join, 295–296 Framework, 978–979 ItemTemplate, 1261, 1262 lists, 280–283 MEF metadata, 881–882 StackPanel, 1109–1110 OfType, 290 Lazy, 865, 879 VisualBrush, 1098 orderby, 291–292 left outer join, 295–296 XPath, 1129 partitioning, 301–302 leftContent, 1249 labels, 43 PLINQ, 305–307 legacy code, 526 lambda expressions, 198–201 providers, 310 Length, 134, 212, 664 closures, 199–201 queries, 283 lhs, 167 Console.WriteLine, 236 deferred execution,

  • , 1213 DataGrid, 1151 285–287 libraries DelegateCommand, 1424 operators, 287–305 Activity Designer Library, delegates, 201 select, 293–294 Visual Studio, 1407 Expression, 308 set operations, 299–300 ATL, 654 FindIndex, 238 sort, 291–292 BCL multiple code lines, 199 string, 285 AJAX, 1270 parameters, 199 ToArray, 285 .NET Framework, 16, Sort, 240 ToList, 285 675 language, 824–825 WCF Data Services, client library, WCF Data interoperability 1393–1394 Services, 1391–1398 IL, 5–7 Where, 289 data type, COM, 647–649 strong data typing, 9–10 XML, 310 generic library classes, 184 translation yield return, 285 portable class library, custom resource Zip, 300–301 516–517 messages, 827 /language:, 947 Service Library, WCF, 1345 resource fi les, LargeImageSource, 1104 TPL, 16, 560 outsourcing, 828 last in, fi rst out (LIFO), 245 Data Flow, threads, WinRT, 897–899 LastAccessTime, 664 594–598 Language, 824 LastIndexOf, 210, 237 typelib ID, 631 Language Integrated Query LastIndexOfAny, 210 LIFO. See last in, fi rst out (LINQ), 279–311 LastModified, 381–382, 390 lights, WPF 3-D, 1098–1099

    1497

    bbindex.inddindex.indd 14971497 003/10/123/10/12 11:5711:57 AMAM Line – login

    Line, 1054 DataContext, 1118 local, 848 #line, 56 DataTemplate, 796 Local Settings, 475 LinearDoubleKeyFrame, 1093 DriveInfo, 689–690 local variables, 29–31 LinearGradientBrush, 849, 850, HTML helpers, 1303 LocalIntranet permission set, 622 1058–1059 IsSynchronizedWith Localizable, 823 lines, 598 CurrentItem, 1120 localization, 803–843 LineSegment, 1056 ItemsControl, 1065 ASP.NET Web Forms, link local clouds, 1430 ObjectDataProvider, 1118 829–830 linked lists, 247–251 StackPanel, 1106 BAML, 832–835 LinkedList, 111–112 templates, 1119 cultures, 805–814 LinkedListNode, 110–111 ToString, 848 custom, 839–840 LinkedListNode, WebClient, 739 dates, 808–809 247–248 WPF, 1083–1084 LocBami, 834–835 LinkedListNode, 247 XAML, 329, 848 Multilingual App Toolkit, LinkedList, 113, 247–251, ListBoxChrome, 1065–1066 842 277 listBoxIPs, 756 namespaces, 841 linking, 437 ListBoxItem, 1062 numbers, 807–808 LinkLabel, 745–746 Listen, 762 resource fi les, 816–821 LINQ. See Language Integrated Listener, 777 resource readers, 835–839 Query List, 109 resourceKey, 1253 LINQ to Query List, 234 sort, 815–816 ADO.NET Entity List, 776 System.Globalization, Framework, 983–984 List, 109, 230, 231, 232 804–816 XML documents, 1040–1043 AddRange, 234 Windows Store applications, LINQ to SQL, 1322 arrays, 233 840–842 LINQ to XML, 1034, 1040–1043 bool, 237 , Visual dynamic documents, performance, 277 Studio, 821–828 1041–1043 Sort, 239 WPF, 830–839 static documents, 1040–1041 type conversions, 241 XAML resource LinqDataSource, 1256 listTemplate, 797 dictionaries, 832–836 List, 328, 1159 ListView, 1194, 1195, 1257 x:Uid, 834 , 52 literals LocalMachine, 697 lists. See also access control list char, 35 Locals window, Visual Studio, 444 collections, 231–241 strings, 36–37 LocalService, 789 constructors, 232–234 values, 161 LocalSqlServer, 1231 HTML helpers, 1303–1304 live shaping, 1102, 1146–1153 LocalSystem, 789 linked, 247–251 LiveFilteringProperties, LocBami, 834–835 LINQ, 280–283 1147 lock, 572, 573, 575–580 sort, 239–240 LiveGroupingProperties, 1147 lockTaken, 581 collections, 251–253 LiveSSP, 603 Log, 412, 413, 538 foreach, 252 liveValue, 729, 731 LogDisplayName, 538 iteration, 252 Load, 1021, 1244, 1415 LoggedIn, 1266 string, 252 Load(), 494 logical layer WPF data binding, LoadComplete, 1244 ADO.NET Entity 1118–1120 LoadCompleted, 1166 Framework, 965–967 adding items dynamically, LoadContentAsync, 271 SSDL, 965 1125 LoadDataFromCultureInfo, 839 logical operators, 56, 152 ListBox, 327 LoadDataFromRegionInfo, 839 LogicalOperationStack, 530 Button, 854 LoadLines, 596, 597 LogicalTreeHelper, ControlTemplate, LoadState, 909, 1189, 1200 1163–1164 1085–1087 LoadTextBox, 1000 login

    1498

    bbindex.inddindex.indd 14981498 003/10/123/10/12 11:5711:57 AMAM Login – MemberExpression

    controls, ASP.NET Web encryption, 614 applications, 472 Forms, 1266–1267 executables, 26 assemblies, 489–490 views, ASP.NET MVC, 1315 int, 28 deployment, 472 Login, 1314 multiple methods, 47–48 fi les, ClickOnce, 472 login.aspx, 1266 private, 47 ManualResetEvent, 585 LoginError, 1266 public, 47 ManualResetEventSlim, 585 LoginModel, 1313 variable scope, 30 mapped-memory fi les, 688–689 LoginName, 1248 MainAssembly, 818 mapping, ADO.NET Entity LoginStatus, 1248 MainClass, 385 Framework, 965–970 loginUrl, 1314 mainContent, 1249, 1251 mapping layer, ADO.NET Entity LoginView, 1248 MainPage, 908, 1185–1187, 1192, Framework, 968–969 logman, 535 1194 Mapping Schema Language Logo, 480 LoadState, 1200 (MSL), 964 LONG, 630 OnLaunched, 1190–1191 Mapping Specifi cation Language long, 33, 159, 362 MainWindow, 1392 (MSL), 968 LongLength, 134 Categories, 1393 MappingFragment, 968 lookups, 259 Readers, 1163 MarkerStyle, 1159 Lookup, 259 SearchInfo, 332 markup extensions, 859–861 loops SomeData, 1131 MarkupCompilePass, 846 for, 40–41 userControls, 1126 MarshalByRefObject, 500, 624 do...while, 42 MainWindow.xaml, 430, 912 marshaling, 633–634 fl ow control, 40–43 makefi les, 438 Master, 1252 foreach, 42–43 Managed, 611 master pages, 1249–1253 Parallel.ForEach, 556–557 Managed Add-In Framework master/detail relationship, 944, while, 42 (MAF), 620, 864 1120 lower-level protocols, 756–768 managed code, CLR, 4 MasterPageFile, 1251 Managed Extensibility Framework MasterType, 1252–1253 (MEF), 863–891 MatchAll fi lter, 1377 M architecture, 864–873 matches, regular expressions, attributes, 865–870 226–228 machine.config, 1215, 1231 catalogs, 890–891 Matches(), 222 MachineName, 539 containers, 887–890 Material, 1097 MAF. See Managed Add-In contracts, 871–873 Max, 302–303 Framework convention-based part MaxCapacity, 214 mage.exe, 472 registration, 870–871 Maximum, 851–852 mageUI.exe, 472 export, 873–882 MaximumAutomatic Main metadata, 879–881 Redirections, 741 CurrentCulture, 815 methods, 877–878 MaxItemsInObjectGraph, 1358 DataServiceHost, 1384 properties, 877–878 MaxProtocolVersion, 1383 Log, 412 export providers, 887–890 MediaCommands, 1106 PriorityDocumentManager, import, 882–887 MEF. See Managed Extensibility 251 collections, 863–885 Framework ServiceHost, 1366 MAF, 864 members TraceEventType, 532–533 metadata ASP.NET, 1234–1237 Type, 386 lazy loading, 881–882 classes, 66–79 Windows Services, 773–774, reading, 886–887 pointers, 365–366 783–784 .NET Framework, 872 Solution Explorer, 430 Main(), 47–49 managed heap, 349–351 static, 118 class-level variables, 30 Managed Resources Editor, 819 StringBuilder, 214–215 Console, 497 managed types, GC, 361 member variables. See fi elds DocumentManager, 116 manifest, 14 MemberExpression, 308

    1499

    bbindex.inddindex.indd 14991499 003/10/123/10/12 11:5711:57 AMAM MemberInfo – Minimum

    MemberInfo, 384, 386 System.Exception, 401 COM/.NET Framework Membership, 606, 1236 messages, Message Queuing, 1443 interop, 628 Membership API, ASP.NET, receiving, 1450–1452 MEF 1236–1237 sending, 1448–1450 export, 879–881 MembershipCreateStatus, 1236 Message Queuing, 1439–1471 lazy loading, 881–882 MembershipProvider, 606, 1234 administrative tools, reading, 886–887 Membership.ValidateUser, 1444–1445 .NET assemblies, 488 1313 architecture, 1443–1444 WCF, 1368–1369 MemberwiseClone(), 86 asynchronous read, WinRT, 896–897 memory 1451–1452 MetadataType, 1326 destructors, 353–354 CourseOrder sample MetadataWorkspace, 974 GC, 10, 351–353 application, 1452–1462 methods interop, 629 features, 1442 actions, ASP.NET MVC, management, 347–374 installation, 1446, 1470 1287 mapped-memory fi les, messages, 1443 anonymous, 197–198 688–689 receiving, 1450–1452 asynchronous programming, pointers, 357–374 sending, 1448–1450 338–339 reference types, 349–351 products, 1442–1443 multiple, 340–341 SortedList, 260 programming, 1445–1452 binding, interop, 630 structs, 66, 81 queues, 1443–1444 calling base versions, 93 value types, 348–349 fi nding, 1446–1447 class function members, 67, virtual, 12, 348 opening, 1447–1448 68–72 MemoryStream, 1019 WCF, 1464–1470 Console, 50 Menu, 1248 contracts, 1466 declaring, 66 ASP.NET Web Forms, 1254 when to use, 1441 delegates, 184 CLR, 1381 message resource fi le, 540–544 extensions ItemsControl, 1065 MessageArrived, 1452 classes, 87–88 using, 1292 MessageBodyMember, 1355 LINQ, 284–285 WPF business applications, MessageBox, 386 XAML, 857 1102–1105 MessageConfiguration. generics, 107, 124–128 MenuAdminController, 1315 HighPriority, 1456 invoking, 66–67 MenuCard, 1192, 1196, 1381 MessageContract, WCF, 1355 MEF export, 877–878 MenuCardDataModel, 1382 MessageEnumerator, 1451 overloading, parameters, 72 MenuCardItemSnappedTemplate, MessageHeader, 1355 Parallel.Invoke, 557 1194 MessagePriority, 1456 parameters, 69–72 MenuCardModel, 1316 MessageQueue, 1446 sealed, 94–95 MenuDataService, 1383 Formatter, 1449 System.Type, 384 MenuItem, 1065, 1102–1105 Receive, 1451 usage conventions, 62–63 MenuItemData, 1196, 1197 Serializable, 1450 variables, 27 MenuItemsPage, 1188–1189 MessageQueueCriteria, 1447 virtual, 91–92 Menus, 1394, 1395 MessageQueueInstaller, 1446, XmlReader, 999–1001 MERGE 1470 MethodCallExpression, 308 AtomPub, 1397 MessageQueuePermission, MethodInfo, 384, 388 HTTP, 1396 621 MethodName, 1117, 1403 MergeOption, 979 MessageService, 1371 Management Console meshes, P2P, 1428 Messages.resw, 841 (MMC), Windows Services, MeshGeometry3D, 1097 meta-characters, 223 791–792 Message metadata Microsoft Message Queue [Description], 1406 ASP.NET Dynamic Data, (MSMQ), 1442 Execute, 1406 1326 Min, 302–303 Priority, 1456 assemblies, 14, 489 Minimum, 851–852

    1500

    bbindex.inddindex.indd 15001500 003/10/123/10/12 11:5711:57 AMAM minRequiredNonalphanumeric Characters – nested objects

    minRequiredNonalphanumeric MTA. See multithreaded keywords, 60–62 Characters, 1236 apartment namespaces, 60 minRequiredPasswordStrength, MTAThread, 642 peer, 1429 1236 MultiBinding, 1120–1122 registering, 1432–1433 MMC. See Microsoft Management multicast resolving, 1433–1434 Console delegates, 193–197 strong, 15, 501 Mobile Application template, 1284 Message Queuing, 1442 creating, 503 Mode, 1111 multidimensional arrays, 132–133 shared assemblies, Model View Controller (MVC). Multiline, 223 501–502 See also ASP.NET Multilingual App Toolkit, 840, styles, 60 web application deployment, 842 usage conventions, 59–62 477 multiple casting, 178–181 named arguments, 71 ModelBinder, 1299–1300 multiple inheritance, 90 Named Pipes, 688 Models, 1285 Multiply, 865 /namespace:, 947 Model-View-ViewModel multithreaded apartment (MTA), namespaces, 45–47 (MVVM), 1420 565, 631–632, 642–643 ADO.NET, 918 Modified, 940 multithreading, 445–446, aliases, 47, 152 modifi ers. See also keywords 722–725 assemblies, 490 inheritance, 99–100 MultiTrigger, 1077 classes, 25, 45 ModifyAccessControl, 619 Mutex, 583–584 compiler, 376–377 Module, 379 MutexSecurity, 617 localization, 841 modules MVC. See Model View Controller names, 60 ASP.NET, 1217–1222 MvcForm, 1301 .NET Framework, 17 assemblies, 491–492 MVVM. See Model-View- XAML, 848 Monitor, 581–582 ViewModel using, 46–47 MouseOver, 1094 MyAttachedPropertyProvider, WinRT, 894–895 Move, 670–673 857 WPF, 1050–1051 MoveNext(), 142, 1011, 1012 MyBase, 176–177 XAML, 846 MoveTo(), 664, 1010 MyDependencyObject, 856 XML, 996, 1036–1038 MoveToAttribute(), 1010 MyDerived, 176–177 XPath, classes, 1011–1013 MoveToContent, 1000 MyGradientBrush, 1073 namespaces, 25 MoveToFirst(), 1010 MyThread, 568 native image generator, 507–508 MoveToFirstAttribute, 1001 Native Image Service, 508 MoveToFirstAttribute(), 1010 Native Runtime Optimization MoveToFirstChild(), 1010 N Service, 508 MoveToId(), 1010 NativeActivity, 1402 MoveToLast(), 1010 N, 50 NativeActivity, MoveToNext(), 1010 \n, 35 1402 MoveToNextAttribute, 1001 naked type constraints, 116 NativeMethods, 734 MoveToNextAttribute(), 1010 Name, 664 NativeName, 812 MoveToParent(), 1010 RegistryKey, 698 Navigate, 1191 MoveToPrevious(), 1010 WCF Navigating, 750 MoveToRoot(), 1010 data contract, 1353 navigation .mresource, 818 OperationContract, ASP.NET Web Forms, mscorlib, 833 1355 1253–1254 MSL. See Mapping Schema ServiceContract, 1354 WinRT, 907–908 Language; Mapping Windows Forms, 822 NavigationCommands, 1106 Specifi cation Language names NavigationProperty, 968 MsmgIntegrationBinding, 1361 casing, 59–60 NavigationService, 1166 MSMQ. See Microsoft Message DNS, 754–756 NavigationWindow, 1063 Queue generics, 110 nested objects, 293–294

    1501

    bbindex.inddindex.indd 15011501 003/10/123/10/12 11:5711:57 AMAM nested partial classes – NPeopleToRing

    nested partial classes, 84 I/O, 676 NetTcpContextBinding, 1361 nested scopes, 720–722 mapped-memory fi les, 688 NetworkCredentials, 742 nested try, 402–404 MEF, 872 networking, 737–769. See also .NET Framework. See also interop namespaces, 17 peer-to-peer networking applications XAML, 848 AJAX, 1270 assemblies, 508–511 Native Runtime Optimization HTML, 743–756 creating, 17–20 Service, 508 HTTP, 738 domains, 11–13 NativeMethods, 734 lower-level protocols, architecture, 3–22 networking, 737 756–768 ASP.NET web applications, Nullable, 122–124 .NET Framework, 737 1211–1212 objects, XAML, 846–847 TCP, 738 assemblies, 14–16, 487 parallel programming, 15 utility classes, 753–756 metadata, 488 permissions, 620 WCF, 738 asynchronous pattern, 341 platform independence, 4 WebClient, 738–740 asynchronous programming, properties, XAML, 849–859 WebRequest, 740–743 16, 326 refl ection, 376 WebResponse, 740–743 attributes, 13 registry classes, 697–699 NetworkStream, 757, 759 XAML, 849–859 regular expressions, 221 neutral cultures, 805 base classes, 662 resource readers, 835 New, 1106 BCL, 16, 675 runtime, deployment, 469 new C++, 6 security, 11 anonymous types, 79 classes, 16–17 sets, 260 classes, 66 fi les, 663–665 streams, Windows Store modifi ers, 100 folders, 663–665 applications, 1199 object creation operator, 152 IP addresses, 755 System, 26 reference objects, 28 XAML, 847–849 System.Exception, 399 structs, 66 client TraceListener, 529–530 NewAppDomain, 498–499 application services, 606 tuples, 146 NewLine, 1004 COM components, Visual Basic, 5–7 Next, 247 634–645 Visual Studio, 5, 417, 422–423 NextPage, 1106 CLR, 4–7 WCF, 20, 1338 Ngen.exe, 507–508 CLS, 10 WebBrowser, 744 .nlp, 839 collections, 230 WF, 20 no net, 1431 command-line tools, 25 Windows Store applications, NodeList, 1006 components, COM Client, 20 NodeType, 998 645–655 Windows Services, 20, 774 nonblittable data types, 633 conceptual layer, 967 WinRT, 894 None, 945, 954 CTS, 9 WPF, 19, 831–832 nonlinear animations, 1090 data types, XAML, 849–859 XAML, 845 nonrepeatable reads, 725 deployment, 467, 469 XML, 995, 996 NoPrincipal, 603 design by contract, 520 XmlArrayItemAttribute, Normal, 1094 DLR, 314 1030 normal message, 1443 DOM, 1005–1009 xsd.exe, 1026 Northwind, 921 elements, XAML, 849–859 net.exe, 792 Nothing permission set, 622 encryption, 611 NETFX_CORE, 515 NotifyChangeEventArgs, 262, error handling with NetHttpBinding, 1361 264 exceptions, 13 NetMsmqBinding, 1361 NotifyOnValidationError, exceptions, 394 NetNamedPipeBinding, 1361 1132 GC, 10–11, 352–353, 629 NetPeerTcpBinding, 1361 NoTracking, 979 generics, 107, 119 NetTcpBinding, 1361 NotSupportedException, 141 IL, 7–13 netTcpBinding, 1376 NPeopleToRing, 409

    1502

    bbindex.inddindex.indd 15021502 003/10/123/10/12 11:5711:57 AMAM NuGet Package Manager – OpenSubKey

    NuGet Package Manager, 431 reference, 28 OnContextDisposing, 1263 null, 121 sink, 654–655 OnContinue, 785 Boolean, 156 tracking, ADO.NET Entity OnCustomCommand, 785 default, 115 Framework, 984–985 one-way binding, 1108 InvalidOperation Object Browser window, Visual one-way-to-source binding, 1108 Exception, 124 Studio, 436 OnGetQuote, 779 null coalescing operator, 152, object creation operator, 152 OnImportsSatisfied, 864 156–157 ObjectAnimationUsing OnLaunched, 1190–1191, 1207 nullable operators, 156 KeyFrames, 1092 OnlyOnRanToCompletion, 561 Nullable, 122–124 ObjectContext, 310, 973–975, OnMenuCardClick, 1192 NullReferenceException, 132, 987 OnNavigateTo, 909 240 ObjectDataProvider, OnOpenDocument, 1165 numbers, 807–808 1116–1117, 1118, 1129, 1144 OnOuterButtonClick, 854, 855 arithmetic operators, 152 ObjectDataSource, 1256, 1264 OnPause, 785 enumerations, 43–45, ObjectDisposedException, 408 OnPowerEvent, 785 140–146 ObjectHandle, 624 OnPrint, 1173 enumerators, 111, 140, 143, ObjectInstance, 1117 OnPropertyChanged, 1114 145–146 object-oriented programming OnReaderSelectionChanged, integers, 361–362 (OOP), 92 1164 localization, 807–808 ObjectQuery, 310, 981–983 OnRegisterCounts, 546 versions, strong names, 501 Object.ReferenceEquals, 985 OnRequest, 1385, 1386 NumberFormatInfo, 807 ObjectSecurity, 617 OnResultExecuted, 1312 NumberOperands, 865 ObjectSet, 978 OnSearchSync, 333 ObjectStateManager, 974, 984 OnSelectedIndexChanged, 1243 Object.ToString(), 86 OnService, 797 O ObjectType, 1117 OnShareTargetActivated, 1207 ObjectVariant, 523 OnShowEntities, 1396 -o, 536 observable collections, 262–263 OnShowValue, 1131 Object ObservableCollection, 1200 OnShutdown, 785 ArrayList, 232 ObservableCollection, 1167 OnSuspending, 906 Console.WriteLine, 236 ObservableCollection, OnTransactionCompleted, 719 Equals(), 149 262–263, 1125, 1183, OnUploadImage, 1203 Equals, 236, 254 1394–1395 OnValueChanged, 853 generics, 107 ODBC. See Open Database OOP. See object-oriented GetHashCode, 254 Connectivity programming object, 91 OfferMessage, 595 OOXML. See Offi ce Open XML VARIANT, 630 Offi ce Open XML (OOXML), OPAQUE, 506 XAML, 850 1170 OPC. See Open Packaging object, 35–36 Offset, 329 Convention Content, 849 OfType, 290 Open, 678 ElapsedEventHandler, 594 ObjectQuery, 982 Open(), 1370 lock, 573 OldValue, 523 Open Database Connectivity Object, 91 OLE/COM Object Viewer, 647 (ODBC), 918 System.Object, 91 OleDbConnection, 919 Open Packaging Convention objects OnAsyncEventPattern, 335 (OPC), 1170 fi les, 437 OnCalcCompleted, 654 Opened, 1370 literal values, 161 OnCalculate, 451, 876 OpenFileDialog, 1423 nested, 293–294 OnCallback, 1370 Opening, 1370 .NET Framework, XAML, OnClose, 1107 OpenStreamForReadAsync, 1200 846–847 OnContextCreating, 1263 OpenSubKey, 698

    1503

    bbindex.inddindex.indd 15031503 003/10/123/10/12 11:5711:57 AMAM OpenSubKey() – peer names

    OpenSubKey(), 698 comparison operators, 169–171 ParallelLoop, 557 OpenWrite, 740 constructors, 75 ParallelLoopState, 555 Operate, 451, 865, 868, 878 methods, parameters, 72 ParallelOptions, 563 Operation, 866 operators, 163–171 , 53 OperationCanceledException, override, 92, 100 parameters 307, 345, 563 overriding, 36, 86–87, 92 arrays, 139–140 OperationContext, 1371 OverwriteChanges, 979 ASP.NET MVC, 1287–1288 OperationContext.Current, attributes, 378–379 1371 AttributeUsage, 379 OperationContract, 1354–1355 P catch, 399 [OperationContract], 1466 IndexOf, 237 operators, 151–171. See also P, 50 lambda expressions, 199 specifi c types -p, 535 methods, 69–72 class function members, 67 P2P. See peer-to-peer networking overloading, 72 equality, 162–163 packages, deployment named arguments, 71 how they work, 164–165 web applications, 478–479 optional arguments, 72 LINQ, 287–305 Windows Store applications, this, 75 overloading, 163–171 480 ParameterExpression, 308 precedence, 157 Package Editor, 480 ParameterizedThreadStart, shortcuts, 153 PackageManager, 482, 483 566, 567 type safety, 157–162 Package/Publish Web, 479 ParameterResourceFile, 543 where, 117 Padding, 1185 , 53 OptimisticConcurrency PadLeft, 211 Parent, 664 Exception, 988 PadRight, 211 Parse, 329 Optional, 649 Page, 1219, 1251 ParseCombiningCharacters, 805 optional arguments, 72 events, ASPX page model, PartBuilder, 871 OR, 379 1244–1246 partial, 83–85 Or, 264 page, 1252 partial views, ASP.NET MVC, Order, 1353 page model, ASPX, 1240–1249 1295–1298 OrderablePartitioner page state, WinRT, 908–909 Partitioner, 306 , 306 PageContent, 1167 partitioning, 301–302 OrderBy, 982 PageHandlerFactory, 1219 Pascal casing, 59 orderby, 291–292 Page_Preload, 1251 Password, 789 $orderby, 1389 PageRequestManager, 1277 passwords OrderByDescending, 285, 291 PageTemplates, 1328 ASP.NET, 1236 Original, 939 Panel, 1053 ASPX page model, 1248 OriginalSource, 854 PanelUpdate, 1278 PasswordBox, 609, 1061 Out, 649 , 53 passwordFormat, 1236 out, 71, 120, 198 Parallel, 552, 553–557 PasswordRecovery, 1248 /out, 49 for, 553 passwordStrengthRegular outgoing interface, 643 WF activities, 1403 Expression, 1236 OutputCache, 1221 Parallel LINQ (PLINQ), 305–307 Paste, 1106 OutputCacheAttribute, 1313 parallel programming, 15 Path, 665–666, 1054, 1110, 1111 OutputParameters, 954 ParallelEnumerable, 305, 306 Path.Combine, 665 OutputText, 385 Parallel.For, 553 PathSeparator, 666 outputText, 388, 389 Canceled, 564 Pause, 798 overfl ow exception control cancellation, 562–563 Peek, 242, 246 operator, 152 stopping, 555–556 peers, 1427 OverflowException, 395, 404 Parallel.ForEach, 556–557 peer names, 1429 Overline, 1158 Parallel.Invoke, 557 registering, 1432–1433 overloading parallelism, tasks, 551–552 resolving, 1433–1434

    1504

    bbindex.inddindex.indd 15041504 003/10/123/10/12 11:5711:57 AMAM Peer Name Resolution Protocol (PNRP) – PreviousPageType

    Peer Name Resolution Protocol permission sets, 621–622 pointer member access operator, (PNRP), 1425, 1427, PersistableIdle, 1413, 1415 364–365 1429–1431 PersistableIdleAction. PointLight, 1098 PeerNameRecord, 1433 Persist, 1413 poison messages, 1442 PeerNameRecordCollection, Persistence, 825 poison queue, 1442 1434 PerspectiveCamera, 1098 PolicyId, 1412 PeerNameRegistration, phantom reads, 726 PolyBezierSegment, 1056 1432–1433 PhoneAttribute, 1300 Polygon, 1054 peer-to-peer networking (P2P), Pick, 1404–1405 Polyline, 1054 1425–1437 PickerLocationId, 898 PolyQuadraticBezierSegment, applications, 1431–1437 pickers, 1203–1204 1056 architecture, 1426–1428 pickSingleFileAsync, 897 Pop, 246 client, 1428 p/invoke. See platform invoke portable class library, 516–517 clouds, 1428 pipelines, 269–276 PositionChange, 1150 solutions, 1428 PipeSecurity, 617 Positions, 1097 terminology, 1428 Plain Old CLR Objects (POCO), POST, 1218, 1245, 1320, 1367 PeerToPeerException, 1432 964, 988–990 postbacks, 1242–1244 PerfMon. See Performance platform independence, 4 postconditions, 522–523 Monitor platform invoke (p/invoke), 16, postfix, 496 perfmon.exe, 549–550 655–659 PowerEase, 1090 performance PlatformString, 515 #pragma, 57 classes, 544 PLINQ. See Parallel LINQ preconditions, 521–522 collections, 276–277 pluggable protocols, 753 Predicate, 237 diagnostics, 544–550 PNRP. See Peer Name Resolution Predicate, 237, 238 generics, 108–109 Protocol prefix, 496 pointers, 359, 370–374 PnrpPermission, 1434 PreInit, 1244 Visual Studio project, PnrpPermissionAttribute, PreLoad, 1244 438–439 1434 Prepare, 727, 731 Performance Counter, 547 POCO. See Plain Old CLR Prepared, 731 Performance Counter Builder, Objects PrepareForUpdate, 544–547 PointAnimationUsing 1419–1420 Performance Monitor (PerfMon), KeyFrames, 1092 preparing transaction phase, 520 pointers 707 PerformanceCounter, 544, adding and subtracting, PreparingEnlistment, 727 547–550 362–363 preparingEnlistment, 731 PerformanceCounterCategory, backward compatibility, preprocessor directives, 54–57 544 359 PreRender, 1244 PerformanceCounterCategory. byte, 362–363 PreRequestHandlerExecute, Create, 546 casts, 361–362 1219 PerformanceCounterCategory checked, 362 PresentationBuildTasks, 846 Type.MultiInstance, 546 class members, 365–366 PresentationCore, 846 PerformanceCounterInstaller, double, 362 PresentationFramework, 846 544 int, 362 PreserveChanges, 979 PerformanceCounter integers, 361–362 Pressed, 1094 Permission, 621 keywords, 358–360 pretest loops, 40 PerformanceData, 697 memory, 357–374 PreviewMouseMove, 854 , 53 performance, 359, 370–374 Previous, 247 permissions sizeof, 364 PreviousExecutionState, assemblies, 490 structs, 364–365 1191 , 620–625 syntax, 360–361 PreviousPage, 1106 implicit, 625 void, 362 PreviousPageType, 1244

    1505

    bbindex.inddindex.indd 15051505 003/10/123/10/12 11:5711:57 AMAM primary key – QueuedDeliveryRequirements

    primary key Solution Explorer, 427–429 protocols, 1376–1377. See also ADO.NET, 958–959 templates, 424–425 Simple Object Access Protocol DataServiceKey, 1389 WCF, 426 lower-level, 756–768 DataTable, 943–944 WF, 426 pluggable, 753 principal, 602–603 Visual Basic, debugging, TCP, 463, 738, 761 PrincipalPermission, 604 438–440 UDP, 761 Print, 1106 Visual Studio WCF routing, 1376–1377 PrintDialog, 1172 confi guration, 440–441 ProvideValue, 859 printf(), 50–51 debugging, 441–446 proxies printing fi les, 420 DCOM, 1442 WebBrowser, 751 performance, 438–439 WebRequest, 742–743 WPF documents, 1171–1173 variables, 444 public, 26 PrintingPermission, 621 ProjectInstaller, 786, 787 class members, 66 PrintVisual, 1172–1173 promotion, transactions, 715–717 delegates, 185 Priority, 569–570, 1456 properties FieldNameAttribute, 379 priority nodes, 248 accessors, 73–74 Main(), 47 PriorityBinding, 1122–1123 attached, XAML, 857–859 visibility modifi ers, 99 PriorityDocumentManager, 249, attributes, 849 public key 251 auto-implemented, 74 encryption, 611 private class function members, 67, PNRP IDs, 1429 class members, 66 72–74 strong names, 501, 502 delegates, 185 dependency public queues, 1443–1444 Main(), 47 callbacks, 853–854 Publish Web tool, 480 visibility modifi ers, 99 coercion, 852–853 Publish Wizard, 472 private assemblies, 14–15, 490 events, 853–854 publisher policies, 513–514 private queues, 1444 WPF, 851 Pure, 524 , 510–511 XAML, 851–854 Push, 245, 246 ProcessContentAsync, 271, 273 elements, 849 PUT, 1367 ProcessDocuments, 244 MEF export, 877–878 Python, 313 ProcessId, 530 Message Queuing, 1444–1445 ProcessNextPerson, 408 name usage conventions, 73 ProcessRequest, 1218 .NET Framework, XAML, Q ProcessRequestForMessage, 849–859 1380 System.Exception, QuadraticBezierSegment, ProcessSomeData, 1123 401–402 1056 Profile, 1221, 1233, 1234 triggers, WPF, 1075–1076 QuadraticEase, 1090 profi les, ASP.NET, 1230–1234 Type, 383–384 Queryable, 310 database, 1232 usage conventions, 62–63 QueryInterface, 630, 645 ProfileBase, 1233 Properties window, Visual Studio, QueryTimeout, 974 ProfileCommon, 1233 434–435 queues ProfileManager, 1234 Property, 968, 1076 acknowledgment, 1462–1463 profile/properties, 1232 PropertyChange, 1114 collections, 241–245 ProfileProvider, 1230–1231 PropertyChangedCallback, 853 constructors, 243 profi ler, Visual Studio, 451–453 , 832 Message Queuing, 1443–1444 ProgID, 631 PropertyInfo, 384 fi nding, 1446–1447 ProgId, 649 PropertyInspectorView, 1422 opening, 1447–1448 Program, 412, 870 PropertyMetadata, 852, 853 ProcessDocuments, 244 Program Files, 475 Proposed, 939 response, 1463 ProgressBar, 1062 protected, 66, 99, 185 transactional, 1463–1464 Project, 787 protected internal, 99 QueuedDeliveryRequirements, projects ProtectionLevel, 1354, 1355 1466

    1506

    bbindex.inddindex.indd 15061506 003/10/123/10/12 11:5711:57 AMAM Queue – ReleaseInstanceMode

    Queue, 242, 243, 277 registry, 695–699 compiler, 376 QuickAccessToolbar, streams, 676 .NET Framework, 376 1103–1104 text fi les, 682–688 runtime, 375–376 Quicksort, 136 XAML, 861–862 ReflectionPermission, 621 Quote, 779 XML document, 1043–1044 Refl ector, 1410 QuoteClient, 775, 779–782 ReadLine, 409 Refresh, 750 QuoteInformation, 779 ReadMenuCardsAsync, 1199 Refresh(), 975 QuoteServer, 776 readonly, 78–79 RefreshQuotes, 778 QuoteService, 775 read-only collections, 241 RefreshServiceList, 796 ReadQuotes, 776, 777 REG_BINARY, 697 R ReadSchema, 1024 REG_DWORD, 697 ReadSettings, 700, 702 regedit, 695–696 R, 717 ReadUncommitted, 726, 925 regedit32, 695 /r, 506 ReadWriteText, 686–688 RegEx.Matches(), 227 \r, 35 ReadXmlSchema, 1025 RegExOptions. race conditions, 570–573 Receive, 762, 1451 ExplicitCaptures, 227 RaceCondition, 571 ReceiveCompleted, 1451 #region, 56 Racer, 232 ReceiveCompletedEventArgs, RegionInfo, 805, 810, 814 racers, 234 1452 RegionInsert, 958 RadialGradientBrush, 1168 ReceiveCompletedEvent RegionSelect, 952 RadioButton, 1062 Handler, 1451 Register, 839, 851, 857 RandomAccessStreamReference, Rectangle, 1054 RegisterAttached, 857 1202 Redirect, 1289 RegisterDisplayName, 543 Range, 304–305 RedirectToRoute, 1289 RegisterRoutes, 1285 RanToComplete, 562 RedirectToRouteResult, 1289 RegisterWndClassEx(), 16 Razor syntax, 1290, 1291–1292 ref, 70–71, 198, 581 registration RCW. See runtime callable refactoring, 446–448 COM, 650–651 wrapper /reference, 49 interop, 631 Read, 1000 reference assemblies, 490, RegistrationBuilder, 871 ReadAllBytes, 674 506–507 registry, 695–699 ReadAllLines, 674 reference counts, 10–11 Registry, 697 ReadAllText, 673–675 Reference Manager, 431, 483 registry hive, 696 ReadAsStringAsync, 336 reference objects, 28 registry keys, 696 ReadByte, 679 reference types, 31–32 RegistryKey, 697, 698 ReadCommitted, 726, 925 array covariance, 139 RegistryPermission, 621 ReadElementContentAs, 1001 arrays, 131–132 RegistrySecurity, 617 ReadElementContentAs classes, 108 REG_SZ, 697 Boolean, 1001 equality, 162–163 regular expressions, 221–228 ReadElementContentAsDouble, heap, 32, 108, 161 RegularExpressionValidation 1001 IL, 8 Rule, 1136 ReadElementString, 999–1000 lock, 573 RegularExpressionValidator, Readers, 1163 memory, 349–351 1254, 1255 ReaderWriterLockSlim, predefi ned, 35–37 Relations, 1022 590–593 type conversions, 158 relationships, ADO.NET Entity ReadFileIntoString ReferenceEquals(), 162 Framework, 975–979 Collection, 687 referent, 358 RelativeSource, 1111 ReadImageAsync, 1202 refl ection, 375–391 RelativeTransformation, 1061 reading assemblies, 15 Release, 629 fi les, 673–675 attribute parameters, Release, Visual Studio, 439 isolated storage, 700–703 378–379 ReleaseHandler, 1219 MEF metadata, 886–887 attributes, 376–382 ReleaseInstanceMode, 1360

    1507

    bbindex.inddindex.indd 15071507 003/10/123/10/12 11:5711:57 AMAM ReleaseServiceInstanceOn – runtime

    ReleaseServiceInstanceOn, /resource, 818 RightToLeft, 223 1357 resource dictionaries, XAML rm, 819 , 53 satellite assemblies, 832–833 roaming data, 1198 Remove(), 215 WPF localization, 832–836 RoamingFolder, 1198 RemoveAll, 237 Resource File Generator (Resgen. roles, ASP.NET, 1234–1237 RemoveHandler, 856 exe), 816–817 role-based security, 11, 603–604 RemoveListener, 207 resource fi les, 540–544 declarative, 604–605 RemoveRange, 237 language translation RolePrincipal, 602 RemoveUserFromRole, 1237 outsourcing, 828 RoleProvider, 607 Render, 1244 localization, 816–821 Roles API, ASP.NET, 1237 RenderComplete, 1244 strong data typing, 819 Rollback, 710, 717, 727, 728, 730 RenderTransform, 1058 Windows Store application RollbackIfNotComplete, 717 Repeat, 304–305 localization, 841 Root, 664 RepeatableRead, 726, 925 resource managers, 727–733 rootCultures, 810 RepeatBehavior, 1089 resource readers, 835–839 RotateTransform, 1057 Repeater, 1257 ResourceDictionary, RotateTransform3D, 1099 Replace, 211 1074–1075 rotation, WPF 3-D, 1099 Replace(), 212, 215 ResourceKey, 830 round-robin scheduling, 569–570 ReplyAction, 1354 resourceKey, 1253 routes report message, 1443 ResourceLoader, 841 ASP.NET report queues, 1444 ResourceManager, 819, 821, 838 Dynamic Data, ReportCompleted, 1208 ResourceManager, 728 1332–1333 ReportStarted, 1208 resources expression, 1247–1248 MVC, 1285–1286, 1317 requestedExecutionLevel, 799 ResourceSet, 821, 837–838 WCF, 1372–1377 PackageManager, 483 ResourceWriter, 817, 821 protocols, 1376–1377 requireAdministrator, 483, response message, 1443 RouteData.Values, 1312 799 response queues, 1463 RoutedCommand, 1105 Required, 721 REST RoutedEventArgs, 854 [RequiredArgument], 1406 ASP.NET, 19 RoutedUICommand, 1105, 1106 RequiredCreationPolicy. HTTP GET, 1372 RouteUrl, 1248 AllowRecomposition, 864 WCF, 20, 463, 1340 RouteValue, 1248 RequiredFieldValidator, 1248, RestoreAsync, 908 RoutingService, 1374–1375 1254, 1255, 1329 ResultController, 1288 Row, 1068 RequireFilePermissions, 623, Result, 522 RowDetailsTemplate, 1144 624 Resume, 778 RowSpan, 1068 Requires, 521 resw, 841 Ruby, 313 RequiresNew, 721 ResXResourceReader, 821 Run, 451 RequiresQuestionAndAnswer, ResXResourceSet, 821 Inline, 1156 1236 ResXResourceWriter, 817, 821 ProcessDocuments, 244 Requires, 522 RetryCount, 1410 RegistrationBuilder, 871 reserved keywords, 57–58 return, 43, 523 WorkflowApplication, 1415 Reset(), 141 returnData, 496 Run Away, 475 Resgen.exe. See Resource File , 53 RunSynchronously, 559 Generator Reverse, 240 runtime. See also Common ResolveAsync, 1433 Reverse(), 144 Language Runtime; Windows ResolveCompleted, 1433 rhs, 167 Runtime ResolveCompletedEventArgs, Ribbon, 1102–1105 ASP.NET, WCF, 1338 1433 RibbonButton, 1103–1104, 1107 assembly versions, 514–515 ResolveProgressChanged, 1433 RibbonGroup, 1104 DLR, 313–314 ResolveProgressChangedEvent RibbonTab, 1104, 1105 Native Runtime Optimization Args, 1433 RichTextBox, 682, 1062, 1163 Service, 508

    1508

    bbindex.inddindex.indd 15081508 003/10/123/10/12 11:5711:57 AMAM runtime callable wrapper (RCW) – Server.HtmlEncode

    .NET Framework, SCM. See Service Control WCF, 1338 deployment, 469 Manager security-critical code, 619 refl ection, 375–376 scope SecurityException, 622–623 schema, 941–942 block, 348 SecurityIdentifier, 617 strong names, 502 nested, 720–722 SecurityPermission, 621, 624 runtime callable wrapper (RCW), Solution Explorer, 430 SecurityRules, 620 639–642 structure, 348 SecuritySafeCritical, 620 IUnknown, 639 variables, 29–31, 30 SecurityTransparent, 620 RuntimeBinderException, Scope, 1430 , 53 314