About Button, 20 About.Xaml, 28, 74 Aboutview.Xaml, 84–85 Acceptsreturn Property, 202 Acrord32.Exe, 426 Actions Configuring Tr
Total Page:16
File Type:pdf, Size:1020Kb
Index App class, 28–29 A App.xaml, 28–29, 258, 261, 274 App.xaml.cs, 311 About button, 20 App_Data folder, 21 About.xaml, 28, 74 AppendAllLines method, 470 AboutView.xaml, 84–85 AppendAllText method, 470 AcceptsReturn property, 202 AppendText method, 470 AcroRd32.exe, 426 application dashboards, 404 actions application deployment configuring triggers and actions using adding display content to the pre-loader, Expression Blend, 291 497 creating custom actions, 295 Application_Startup event handler how triggers and actions interact, 291 method, 501 implementing triggers and actions by AppManifest.xaml, 504 hand, 292 AppPreloader.xaml, 496 Microsoft.Expression.Interactions.dll Build Action property, 501 assembly, 291 building a client desktop installer, 494 SubmitChanges method, 291 configuring the application pre-loader in System.Windows.Interactivity.dll the HTML file, 500 assembly, 290 creating a setup program, 488 TargetedTriggerAction, 295 creating a web package, 487 TriggerAction, 295 creating the application pre-loader, 496 using predefined triggers and actions, creating the application pre-loader, 290 XAML code listing, 498 See also triggers customizing and personalizing the Activate method, 434 Silverlight installation experience, Active state, 355 490 Add method, 212 default Silverlight installation process, AddNewItem method, 200 489 Adobe Flash, 4, 11 deploying an application to a client, 488 Adobe Reader plug-in, 404 deploying the server and client Adventure Works Cycles, 101 components to the server, 483 AdventureWorks2008 database, 101, 157, 249 DevCorner ExtMap Maker Utility tool, AdventureWorksModel.edmx, 102 505 AllowDrop property, 460 digitally signing your application, 506 Anderson, Chris, 3 downloading application modules on animations demand, 505 applying animation effects to user enabling your own assemblies to be interfaces, 284 cached, 504 transition animations, 284 Experience Guidance whitepaper, using Expression Blend for, 284 downloading, 493 Apache servers, 484 513 INDEX application deployment (cont.) slowing the application-downloading Fiddler, 501–502 process, 500 giving the application pre-loader more testing the application pre-loader, 500 time to be displayed, 501 turning on assembly caching for an hosting Silverlight applications on an application, 502 Internet Information Services (IIS) updating the progress bar indicator, 499 server, 484 using the Navigation Framework to Image control, 499 download application modules on implementing a custom-landing page, demand, 506 493 using Visual Studio 2010 to publish a installing a valid certificate as a Trusted web site to a server, 486 Root certificate, 508 using Xcopy to deploy an application to a installing RIA Services assemblies to the server, 485 Bin directory, 485 Web Setup Project template, 488 installing RIA Services assemblies to the See also Silverlight 4; Visual Studio 2010 GAC, 484 application store, 439 Manage Add-ons dialog, 492 Application.Current object, 431–432 Managed Extensibility Framework Application_Startup event handler, 28, 501 (MEF), 505–506 Application_UnhandledException event msdeploy tool, 487 handler method, 185 obtaining a verified Authenticode code- ApplicationNameTestPage.aspx, 26, 31 signing certificate, 507 ApplicationNameTestPage.html, 26, 31 OnSourceDownloadComplete event, 500 ApplicationSettings property, 440 OnSourceDownloadProgressChanged ApplicationStrings.resx, 32 event, 499 AppManifest.xaml, 504 packaging of external-part manifest files, AppPreloader.xaml, 496 504 AreRowDetailsFrozen property, 184 partitioning your application into ArgumentException exception, 448, 458 smaller modules, 502 ASP.NET, 1, 7, 10 Prism, 505 ASP.NET_SessionId, 136 ProgressBar control, 498 Dynamic Data scaffolding framework, providing a low-friction install 113 experience, 490 Membership API, 246 Publish Web dialog, 486 Report Viewer control, 411 pushing the Silverlight runtime to session state, 136 enterprise users, 493 Web Forms, 74 reducing the size of your application, 502 ASPNETDB.MDF, 247 replacing the default application-loading Aspose.Words for .NET, 406 animation, 495 assembly caching RootVisual property, 501 explanation of, 503 server operating system and web server, reasons for using, 503 requirements for, 484 turning on, 502 Silverlight 1.0 JScript Page item template, AssemblyInfo.cs, 302 496 Assets folder, 29 Silverlight Enterprise Deployment Associate method, 122 whitepaper, downloading, 494 Association attribute, 114–115 Silverlight.js, 492 AsyncCallback object, 133 SLLauncher command-line parameters asynchronous server communication, 133 dialog, 494 attached properties, 44, 369 sllauncher.exe, 494–495 AttachEvent method, 423 514 INDEX attribute syntax, 41, 289 bindings attributes, 37 basicHttpBinding, 134 Authentication property, 258 configuring, 134 AuthenticationBase class, 249, 253–254 customBinding, 134 AuthenticationContext object, 258 definition of, 134 AuthenticationService class, 27, 249, 253, 258 netTcpBinding, 134 AuthenticationService domain service, 99 pollingDuplexHttpBinding, 134 AuthorizationAttribute class, 251 wsHttpBinding, 135 AuthorizationContext object, 252 BindingValidationError event, 229, 232–233 AuthorizationContext property, 252 BindsDirectlyToSource property, 317 authorize changeset phase, 103 BitmapImage, 157 AutoCommit property, 199, 222 BitmapImage object, 457 AutoCompleteBox control, 209 Blacklight, 15 AutoEdit property, 199 BlackoutDates property, 205 AutoGenerateColumns property, 154 blendability, 47 AutoGenerateField property, 195 CreateList property, 300 AutoGeneratingField event, 195 d:DesignData markup extension, 301 AutoLoad property, 148 d:DesignInstance markup extension, 300 automatic sizing, 56 defining the shape of the data, 300 AutomationEvent object, 476 design-time data mechanisms, 299 AutomationFactory class, 472, 476 IsDesignTimeCreatable property, 300 AvailableFreeSpace property, 447 using sample data at design time, 301 BlurEffect, 284 Build Action property, 501 B business applications Back button, 20 common features of, 11 Background property, 273, 277 designing and developing in Silverlight 4, base control classes, 51 1–2 BasedOn property, 276 BusyContent property, 151 BaseReportHandler class, 413 BusyIndicator control, 21, 29, 150 BaseReportRenderer class, 414 Button control, 42, 56, 365 basicHttpBinding, 134 ButtonBase class, 389 BeforeClose event, 476 ButtonClickTrigger class, 294 BeginEdit method, 200, 220, 222 BeginInit method, 345 C BeginLoadProduct method, 397 BeginPrint event, 408 C#, assigning event handlers in code, 59 BeginSaveProduct method, 396 caching data behaviors ApplicationSettings property, 440 Behavior class, 297 ArgumentException exception, 448 creating and using behaviors, 297 AvailableFreeSpace property, 447 definition of, 297 binding to isolated storage settings, 441 SubmitChanges method, 297 caching to a client-side database, 450 System.Windows.Interactivity caching to isolated storage, 439 namespace, 297 Clear method, 442 when to use a behavior over a compressing data files, 449 trigger/action combination, 299 Contains method, 441 Binding markup extension, 47, 68 creating, moving, and deleting BindingExpression class, 323 directories, 443 DataContractSerializer class, 446 515 INDEX caching data (cont.) Sterling, 450 deserializing and rehydrating an object storing files in isolated storage, 442 from file, 447 storing settings in isolated storage, 440 detecting network availability, 452 Sync Framework for Silverlight, 450 determining how much quota is free, 447 System.IO namespace, 445 DotNetZip, 449 System.IO.IsolatedStorage namespace, EffiProz Embedded C# Database, 451 440 encrypting data files, 449 System.Net.NetworkInformation enumerating through files and namespace, 452 directories, 443 System.Runtime.Serialization enumerating through the existing namespace, 447 settings, 442 TryGetValue method, 441 FileExists method, 445 writing a byte array to a file in isolated GetDirectoryNames method, 443 storage, 445 GetIsNetworkAvailable method, 452 writing a string to a text file in isolated GetUserStoreForApplication method, storage, 445 442 See also isolated storage GetUserStoreForSite method, 442 Calendar control, 205 Google Gears, 451 CallMethodAction action, 387, 391 handling occasionally connected Cancel button, automatic creation of, 199 applications, 439 CancelButtonContent property, 199 IncreaseQuotaTo method, 448 CancelButtonStyle property, 199 IsolatedStorageFile class, 442, 447 CancelEdit method, 200, 220, 222, 226 IsolatedStorageSettings class, 440–441, CanConvertFrom method, 345 450 CanConvertTo method, 345 Keys property, 442 CanExecute method, 391 NetworkAddressChanged event, 452 CanExecute property, 388 NetworkChange class, 452 CanExecuteChanged event, 388 NetworkInterface class, 452 CanUserReorderColumns property, 159 opening an isolated storage store, 442 CanUserResizeColumns property, 159 persisting a value to isolated storage, 440 Canvas control, 53 Perst, 451 CellEditingTemplate property, 155 Quota property, 448 CellStyle property, 158 reading the contents of a binary file from Changed method, 223 isolated storage, 446 changeset, 98 reading the contents of a text file from authorize changeset phase, 103 isolated storage, 446 ChangeSet object, 130 Remove method, 442 ChangeSetEntry object, 130 removing the settings in a dictionary, 442 execute changeset phase, 103 requesting additional quota, 448 validate changeset phase, 103 retrieving a value from isolated storage, CheckAndDownloadUpdateCompleted event, 441 435 Save method,