COPYRIGHTED MATERIALXML Data Sets, 370 Administrators Role, 730 Advanced Encryption Standard (AES), 758, ADO
Total Page:16
File Type:pdf, Size:1020Kb
INDEX A common tasks, 372–376 components, 378–380 ABC model, 441–442 connection pooling, 403 abstract base class, 213–215 connection string formats, 380–381 abstract interfaces, 217–225 data providers, 378, 380 abstract method, 214 DataAdapter objects, 389–394 abstraction, 104, 180, 225–227 database structure, 408 access modifi ers, 209 DataException class, 264 access permissions, 722–723 DataReader object, 385–386 ActionLink HTML Helper, 613, 616 DataSet component, 395–401 actions, 605–609, 615, 617–618, 620 DataTable objects, 398–401 Activator class, 714 deleting data, 375–376 Active Database Objects (ADO), 407 design goals, 371 Active Directory, 730 Entity Data Model, 410 ActiveX Data Objects, 369 Entity Framework comparison, 409–410 Adapter, 684 inserting data, 373–374 Add New Item dialog, 641 multi-tiered environments, 371–372 Add Reference dialog, 27, 84 namespaces and classes, 377–378 Add Service Reference dialog, 445–447, .NET data providers, 379–380 456–457 selecting data, 372–373 Add View dialog, 606–607, 610 stored procedures, 382–385 AddHandler, 156, 158–160 transactions, 403–406 lambda expressions, 244 updating data, 374–375 AddressOf, 759 COPYRIGHTED MATERIALXML data sets, 370 Administrators role, 730 Advanced Encryption Standard (AES), 758, ADO. See Active Database Objects 765 ADO.NET, 120, 315, 369, 407 Advanced properties, 548–549 architecture, 371–372 AES. See Advanced Encryption Standard asynchronous command execution, AesCryptoServiceProvider, 744 387–389 AesManaged, 773 basic features, 372–380 AggregateException, 785, 790, 792, 800 class types, 378 AJAX, 561 common provider model, 401–403 alpha channel, 487 833 bbindex.inddindex.indd 883333 111/29/20121/29/2012 112:32:202:32:20 PPMM And conditional – ASP.NET And conditional, 115–116 ArrayList, 287, 293–294 And operator, 171 arrays, 281, 282–286 AndAlso, 172 multidimensional, 283, 284 animation, 549–551 parameter, 132–133 ANSI X9.31, 748 Preserve, 286 app bar, 521 ReDim, 285–286 app stores, 816–817 UBound, 284–285 AppBar, 524–527 ASCII, 124 app.config fi le, 26 AsOrdered, 812–813 AppDomain class, 710, 711 AsParallel, 811–812 AppendChild, 340, 341 ASP.NET, 4, 14, 59, 356, 561 application confi guration fi le, 706 AJAX, 561 Application Event Log, 96, 273 culture setting, 646, 650–652 application isolation, 703–704 currencies, 656 application services, 667, 668. See also DataList control, 362 Windows Services event logs, 274 application templates forms authentication module, 743 Common folder, 555 global culture declaration, 649–650 Grid App, 552–554 layouts, 472 Internet Application, 604 list boxes, 504 layout aware pages, 555 local resources, 658–663 online documentation, 556 Model-View-Controller pattern, Silverlight, 551 603–605 Split App, 552 namespace referencing, 89–90 StandardStyles.xaml, 555–556 Razor view engine, 561 Visual Studio 2012, 551–556 resource fi les, 658–663 Windows Presentation Foundation resource managers, 406 (WPF), 551 server-side development options, 563 application-private assemblies, 697, 701 shared variables, 165 applications. See also Windows Store Trace and Debug objects, 275 applications transactions, 406 assemblies private to, 697, 701 views, 575 building, 44–45 ViewState encoding, 739 confi guration fi les, 706 Visual Studio 2012 support, 562–563 elements, 61–65 Visual Studio support, 562–563 isolating assemblies, 703–704 WCF communication, 434 running in debugger, 45–52 Web API, 561, 625–628 signing, 736–737, 829 Web Forms, 563–586 UAC settings, 735–739 Web Pages, 561, 586–602 ArgumentException, 267–268 web server options, 562–563 Array class, 125 XML, 361–367 834 bbindex.inddindex.indd 883434 111/29/20121/29/2012 112:32:212:32:21 PPMM ASP.NET Development Server – BasedOn styles Xml server control, 366–367 assembly modifi er, 16 XmlDataSource, 361–366 AssemblyLoad, 220, 233 ASP.NET Development Server, 562–563 asymmetric encryption, 740. See also Public ASP.NET MVC, 561, 586, 602–624 Key Cryptographic System actions, 605–609, 615, 617–618, 620 Async keyword, 238, 247–255 controllers, 605–609, 615 core concept, 248–252 CRUD operations, 614–623 lambda expression use with, 248 models, 609 pickers, 543 routing, 614 using, 252–255 scaffolding, 614–623 AsyncCallback, 388 views, 609–613 asynchronous execution, 793 assemblies, 63–65, 693 ADO.NET, 387–389 application isolation, 703–704 asynchronous methods, 247–248 application-private, 697, 701 asynchronous operations, 790, 794 culture, 700 asynchronous programming, 247–248, 253 defi ning location, 708 AsyncState, 389, 790 deployment, 701–703 atomic operations, 806 dynamic loading, 713–716 attached properties, 473–474 fi nding types in, 711–712 attribute syntax, 470–471 global cache, 702–703 audit type entries, 274 identity, 696–700 Authorized Users settings, 732 loading, 705–706 AutoLog property, 673, 679 management tools, 737 automatic size columns, 475 manifest, 63–64 Autos window, 52 metadata hash, 702 Await keyword, 238, 247–255 namespaces, 83, 471 core concept, 248–252 referenced, 700–701 exceptions within, 249 self-describing components, 704 using, 252–255 shared, 697, 701–703, 707 awaitable methods, 252 side-by-side execution, 704 Azure, 13 signing, 698–700 strong names, 698–700 B structure, 694 version numbers, 64–65, 698 Background, 470 version policies, 704–706 base class, 182, 184, 193 versioning, 64, 703–709 abstract, 213–215 assembly attributes, 16–17 fragile, 199, 201–202 Assembly class, 710–711 interacting with, 202–205 LoadFrom, 713–714 preventing inheritance, 215 Assembly Information, 16–17 Base Class Library (BCL), 293, 297 assembly level scoping, 105 BasedOn styles, 512 835 bbindex.inddindex.indd 883535 111/29/20121/29/2012 112:32:212:32:21 PPMM BasicHttpBinding – Chr BasicHttpBinding, 450 Button, 469, 473, 476 BCL. See Base Class Library content model implications, 485 Begin methods, 247–248 Radio, 470 BeginExecuteNonQuery, 387 Byte, 110, 113, 117, 123–124 BeginExecuteReader, 387, 389 BeginExecuteXmlReader, 387 C BeginForm helper, 622 Beginning ASP.NET Web Pages with C#, 3, 10, 230 WebMatrix (Brind and Spaanjaars), 586 conversions, 137 behavior, 7, 106–107 iterators, 238 bigint value, 120 static variables, 165 binary operators, 170, 171 C++, 3, 199, 300 BindableBase, 555 debugging options, 22 BindGrid, 389 CA. See Certifi cate Authority Binding class, 491–492 Call Stack window, 51 binding expressions, 491–492 callback methods, 172 BindingList, 297–298, 312 ADO.NET, 388 bit shifting, 171 CancellationToken, 787, 800 BitArray, 287 CancellationTokenSource, 800–801 bitwise operation, 171 CanDeserialize, 322 BizTalk, 315 CanStop, 684 Blank App template, 551, 555 Canvas, 478–479 BlockingCOllection(Of T), 807 Catch, 265–267 blocks, 133–134 Cert2spc.exe, 737 blogs, 363–364 Certifi cate Authority (CA), 751 Boolean, 113, 115, 117, 118–119 certifi cate management tools, 737 Boolean conversion, 171 Certifi cate Trust List (CTL), 737 BooleanNegationConverter, 555 certifi cation, 720 BooleanToVisibilityConverter, 555 Certifi cation Requirements, 820 BooleanVisibilityConverter, 507 Certmgr.exe, 737 Border, 468, 470 chains of inheritance, 199 boxing, 125, 282, 291–292 Char, 113, 117, 123–124 Break, 782 Character, 110 breakpoints, 46, 48–50 charms, 520, 521 Brind, Mike, 586 CheckBox, 470, 492–493 Browse, 612 ASP.NET, 575 browser zoom factor, 472 reskinning, 514–515 brushes, XAML, 486–488 child class, 182 building applications, 44–45 ChildNodes, 339 BuildSqlCommand, 391–392 Children, 473 Business Data Catalog projects, 13 Chr, 124 836 bbindex.inddindex.indd 883636 111/29/20121/29/2012 112:32:212:32:21 PPMM chromeless apps – command lines chromeless apps, 522 user input, 636–637 ChrW, 124 validation, 638 circular references, 72 Web API, 625–628 Class, 6 Cloud Services projects, 13 Class, 7 code access permissions, managing sets, class constraints, 310 731–734 Class Designer, 56, 181, 185, 188 Code Analysis tab, 28 class diagrams, 54–56 Code Editor, 53 Class keyword, 143–144 code expansion, 35–38 Class Library, 4 code regions, 41–42 Class Library project, 11 code reuse, 182, 200 Class View window, 415 code snippets, 39–41 classes, 105, 125–131 Code Snippets, page markup editing, 567 Activator, 714 Code view, 33–34 AppDomain, 710, 711 Code View, 29 Assembly, 710–711, 713–714 CodeAccessPermission, 727–728 base, 182, 193 CodeAccessPermission, 723 basic, 143–152 code-behind child, 182 model binding, 584 creating, 143–161 Web Forms, 565–566 derived, 182 Windows 8 Style apps, 640 fi elds, 145 XAML, 468–469 generic, 300–306 Collection classes, 125 immutable, 128–130 collections, 282, 286–292 interacting with, 202–205 boxing, 291–292 methods, 145–146 concurrency classes, 805 parent, 182 FIFO, 807 scope, 133 iterative statements, 288–291 super, 182 LIFO, 807, 809 Type, 710, 711–713 Collections, 286 virtual, 215 CollectionView, 239 clauses, 245 CollectionViewSource, 536 ClearPool, 403 colors, XAML, 486–487 Click events, 152–153, 157 ColumnDefinitions, 474 ClickOnce, 815 editor, 476–477 client-side web development, 624–638 Width property, 475–476 building website, 628–629 COM, 370, 407 forms, 634–636 COM components, 23, 83 handling events, 632–633 COM interfaces, 65 jQuery, 629–632 ComboBox, 239, 688 REST services, 625–628 command lines, 9 837 bbindex.inddindex.indd 883737 111/29/20121/29/2012 112:32:212:32:21 PPMM Command object – constructor methods Command object, 381–382 concurrency, 763–764 stored procedures, 382–385 collection classes, 805, 807–810 CommandBehavior.CloseConnection, LINQ queries, 809 386, 388 namespaces, 776, 807 commands. See also specifi c commands concurrent collection features, 807–810