Professional visual studio 2013

1.1K 221 0
Professional visual studio 2013

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

www.it-ebooks.info www.it-ebooks.info badvert.indd 1053 13-02-2014 12:43:15 Professional Visual Studio® 2013 Introduction xliii ➤ Part I Integrated Development Environment Chapter A Quick Tour Chapter The Solution Explorer, Toolbox, and Properties 15 Chapter Options and Customizations 33 Chapter The Visual Studio Workspace 51 Chapter Find and Replace and Help 75 ➤➤Part II Getting Started Chapter Solutions, Projects, and Items 89 Chapter IntelliSense and Bookmarks 117 Chapter Code Snippets and Refactoring 133 Chapter Server Explorer 151 Chapter 10 Modeling with the Class Designer 167 ➤➤Part III Digging Deeper Chapter 11 Unit Testing 179 Chapter 12 Documentation with XML Comments 201 Chapter 13 Code Consistency Tools 223 Chapter 14 Code Generation with T4 235 Chapter 15 Project and Item Templates 259 Chapter 16 Language-Specific Features 277 ➤➤Part IV Rich Client Applications Chapter 17 Windows Forms Applications 293 Chapter 18 Windows Presentation Foundation (WPF) 307 Chapter 19 Office Business Applications 333 Chapter 20 Windows Store Applications 349 Continues www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 ➤➤Part V Web Applications Chapter 21 ASP.NET Web Forms 363 Chapter 22 ASP.NET MVC 395 Chapter 23 Silverlight 425 Chapter 24 Dynamic Data 439 Chapter 25 SharePoint 461 Chapter 26 Windows Azure 481 ➤➤Part Vi Data Chapter 27 Visual Database Tools 499 Chapter 28 DataSets and DataBinding 507 Chapter 29 Language Integrated Queries (LINQ) 533 Chapter 30 The ADO.NET Entity Framework 559 Chapter 31 Reporting 581 ➤➤Part Vii Application Services Chapter 32 Windows Communication Foundation (WCF) 617 Chapter 33 Windows Workflow Foundation (WF) 637 Chapter 34 Client Application Services 659 Chapter 35 Synchronization Services 677 Chapter 36 WCF RIA Services 687 ➤➤Part Viii Configuration and Resources Chapter 37 Configuration Files 701 Chapter 38 Connection Strings 719 Chapter 39 Resource Files 729 ➤➤Part ix Debugging Chapter 40 Using the Debugging Windows 749 Chapter 41 Debugging with Breakpoints 767 Chapter 42 DataTips, Debug Proxies, and Visualizers 779 Chapter 43 Debugging Web Applications 791 Chapter 44 Advanced Debugging Techniques 807 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 ➤➤Part x Build and Deployment Chapter 45 Upgrading with Visual Studio 2013 829 Chapter 46 Build Customization 835 Chapter 47 Assembly Versioning and Signing 851 Chapter 48 Obfuscation, Application Monitoring, and Management 859 Chapter 49 Packaging and Deployment 879 Chapter 50 Web Application Deployment 893 ➤➤Part XI Customizing and Extending Visual Studio Chapter 51 The Automation Model 905 Chapter 52 Add-Ins 913 Chapter 53 Managed Extensibility Framework (MEF) 927 ➤➤Part XII Visual Studio Ultimate Chapter 54 Visual Studio Ultimate for Architects 949 Chapter 55 Visual Studio Ultimate for Developers 961 Chapter 56 Visual Studio Ultimate for Testers 977 Chapter 57 Team Foundation Server 991 Index 1013 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 Professional Visual Studio® 2013 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 Professional Visual Studio® 2013 Bruce Johnson www.it-ebooks.info ffirs.indd 15-02-2014 14:20:34 Professional Visual Studio® 2013 Published by John Wiley & Sons, Inc 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2014 by John Wiley & Sons, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-1-118-83204-2 ISBN: 978-1-118-83206-6 (ebk) ISBN: 978-1-118-83205-9 (ebk) Manufactured in the United States of America 10 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600 Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose No warranty may be created or extended by sales or promotional materials The advice and strategies contained herein may not be suitable for every situation This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services If professional assistance is required, the services of a competent professional person should be sought Neither the publisher nor the author shall be liable for damages arising herefrom The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002 Wiley publishes in a variety of print and electronic formats and by print-on-demand Some material included with standard print versions of this book may not be included in e-books or in print-on-demand If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at http://book support.wiley.com For more information about Wiley products, visit www.wiley.com Library of Congress Control Number: 2014930419 Trademarks: Wiley, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc and/or its affiliates, in the United States and other countries, and may not be used without written permission Visual Studio is a registered trademark of Microsoft Corporation All other trademarks are the property of their respective owners John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book www.it-ebooks.info ffirs.indd 15-02-2014 14:20:34 reporting engine – schemas reporting engine, 583 Reporting projects, 96 reports, profiling and, 967–968 Reports Application project template, 581 repositories SCC (Source Code Control), 228 source control, 224–226 TFS (Team Foundation Server), 228 Resgen, designer files, 734–735 resource files, 729 accessibility level, 740 binary, 729, 732 code, 741 cultures, loading, 738–739 IResource Reader interface, 741 IResource Writer interface, 741 resx, 729 resx format, 731–732 text, 729 text format, 730–731 Resource Generator utility See Resgen ResourceReader, 741 resources accessing, 733–734, 739–740 adding, 732–733 applications, 735–737 ComponentResourceManager, 740–741 cultures, creating, 738 custom, 742–745 designer files, 734–735 embedding files as, 733 naming, 733 ResxResourceReader, 742 ResxResourceWriter, 742 satellite, cultures, 737–739 resources file extension, 732 Resources tab, 106 ResourceWriter, 741 restext file extension, 730 resx resource files, 729, 731–732 ResxResourceReader, 742 ResxResourceWriter, 742 XML tag, 211–212 reusable components, references, 21–22 RI (Runtime Intelligence), 873–875 RIA Services, 687 ASP.NET and, 687–689 custom operations, 693 domain operations, 691– 692 Domain Service Class, 689–691 domain services, 689–691 invoke operations, 693 presentation model types, 689 Silverlight and, 687–689 domain services, 693–697 RIAs (Rich Internet Applications), 426 roles, authorization, 662–664 root.CIMV2.Win32_ComputerSystem, 155 routing, ASP.NET MVC, 409–412 Run Custom Tool, 237 RunStarted method, 269–272 runtime configuration section, 704–705 Runtime Text Templates (T4), 252–256 S Sandcastle, documentation and, 218–220 satellite culture, 739 satellite resources, cultures, 737–739 scaffolding ASP.NET Dynamic Data, 440, 445 MVC, 399–402 SCC (Source Code Control), 228 SCDL, configuration and, 714 Schema Compare, 974–975 schemas, 970–971 configuration attributes, 707–708 compiler section, 707 configSource, 707–708 configurationSections, 703–704 cryptographySettings section, 706 remoting section, 705 runtime section, 704–705 startup section, 704 system.diagnostics section, 706 system.net section, 705–706 system.web section, 706–707 MSBuild, 847–848 validation, web forms, 378–379 1036 www.it-ebooks.info bindex.indd 1036 14-02-2014 18:36:53 Scope to This (Solution Explorer) – SharePoint Scope to This (Solution Explorer), 17 screen, splash screen, screenshots (Windows Simulator), 356–357 scrollbar, enhanced, 62–64 searches commands, 44 Navigate to, 64–65 Quick Find, 76–77 regular expressions, 80–81 Security tab, 110–111 Security.config file, 702 XML tag, 212 XML tag, 213 Select statement, LINQ queries, 537 semantic zoom, 351 Sequence Diagrams (UML), 952–953 generating, 958–960 sequential workflows, 474 serialization, DataMember attribute, 622 Server Explorer, accessing, 152 Application Event Log node, 153 classes, management classes, 154–156 Data Connections node, 151, 164, 499, 500 Data Sources window, 504–505 databases, 500 active connection, 500 adding connections, 500–501 data editing, 506 Databases node, 505 flat file, 500 functions, 504 Preview Data dialog, 509 relationship editing, 503 table editing, 502–503 views, 504 Event Logs node, 152–154 Event Viewer, launching, 152 Management Events node, 156–158 Message Queues node, 158–160 My Computer node, 154 Performance Counters node, 160–163 Properties window, 152 Servers node, 151–152 Services node, 163–164 SharePoint, 164–165, 464–466 Sync Services, 678 Table Data menu, 506 Servers node (Server Explorer), 151–152 server-side ASP.NET, web application debugging, 791–796 service contracts, 619–621 Service Reference Settings dialog, 23 service references, 23 ServiceController, 163–164 Services node (Server Explorer), 163–164 Services tab, 107 settings importing/exporting, 47–49 referenced projects, 716–718 synchronized, 49–50 Settings object, methods, 716 Settings tab, 107–108 SharePoint, 461 application page, 467 content pages, 467 Content Type template, 470–473 content types, 464, 470–473 deployment, 477–479 development environment, 463–464 document libraries, 465 event receivers, 465 Feature Designer, 476–477 Features, 476–477 features, 465 Features node, 467 Layouts folder, 468 list definition, 465 lists, 465, 470–473 Mapped Folder, 468 Package node, 467, 477 packaging, 477–479 Prerequisite Installer, 464 projects, 96 creating, 466–469 sandbox, 462 Server Explorer, 164–165, 464–466 TFS and, 1011 Web Parts, 465–466, 469–470 1037 www.it-ebooks.info bindex.indd 1037 14-02-2014 18:36:53 SharePoint (continued) – solutions SharePoint (continued) Windows 7, 464 Windows Server, 464 workflows, 465, 474–476 SharePoint 2010, installation, 464 SharePoint Customization Wizard content types, 470–473 event receivers, 465 project creation, 466–469 workflows, 474–476 SharePoint Designer 2010, 463 SharePoint Foundation, 463 installation, 464 SharePoint Server, 463 installation, 464 Shelf Life, 876–877 shortcuts, keyboard shortcuts, 43–44 Show All Files button, 16 Show Auto-Hidden Windows on Mouse Over, 37 Show Commands Containing textbox, 44 signing assemblies, 856–858 delayed, debugging with, 869–870 signing key, 272 Signing tab, 109 Silverlight Navigation Framework, 432–433 NET Framework, 426 Out-Of-Browser mode, 435–438 overview, 425–426 RIA services and, 687–689 templates, 427, 429 themes, 433–435 VSM (Visual State Manager), 433 WPF and, 425–426 Silverlight Application project template, 427 Silverlight Applications tab, 113–114 Silverlight Class Library project template, 427 Silverlight Navigation Application template, 427 Silverlight projects, 96 Silverlight Tools, 425–426 simple breakpoints, 768 sitemap files, 380 sln files, 91 Smart Indenting, 53–54 smart tags, 118–119 Office projects, 334–335 Windows Forms, 303 SmtpClient class, 705 SnapLines, 296 SnapToGrid property, 297 Snippet Editor, 139 soft disabling, 346 Solution Explorer, 8, 15–16 Add New Item dialog, 21 Build option, 18 Clean option, 18 duplicating, 58 files, previewing, 17–18 frameworks, versions, 19–20 menus, context menu, 18 New Project dialog, 9–10 New Solution Explorer View, 58 nodes, 16 Open option, 18 Open With option, 18 Preview Selected Items, 17 Preview tab, 17 projects, 16 templates, 19 Web Site projects, 20–21 Properties dialog, 92–93 Rebuild option, 18 references, 21–23 root.CIMV2.Win32_ComputerSystem, 155 Scope to This, 17 Show All Files button, 16 source control and, 226 templates, Installed Templates, 19 toolbar, 16 Toolbox, 23–25 Solution Properties dialog, 16 solutions editor space, 45–46 files format, 91 hidden, 91 navigating, 16–17 folders, 90 projects, 90 navigating, 16–17 1038 www.it-ebooks.info bindex.indd 1038 14-02-2014 18:36:54 source code – T4 (Text Template Transformation Toolkit) source control, Subversion, 226–229 structure, 89–90 source code controlling (See source control) NET Framework, 819–820 source control Changes window, 226 history, 227–228 merging changes, 226–227 repositories, 224–226 Solution Explorer, 226 solutions, 225–226 solutions, Subversion, 226–229 Subversion, solutions, 226–227 Sparkline control, reporting, 597 specific culture, 738 splash screen, split view, code editor, 56 SplitContainer control (Windows Forms), 303–304 SQL (Structured Query Language), LINQ to SQL, object model creation, 547–549 SQL Azure, 492–494 SQL Server connection properties, 723–724 stored procedures, debugging, 822–823 SQL Server Express, 727 SQL Server Object Explorer, 505 SQL-CLR support, 971–973 SqlConnectionStringBuilder class, 724–725 Standalone Profiler, 968–969 Start Page, 33–34 Starter Kit, 274 startup configuration section, 704 StartUp Project (Solution Explorer), 16 state machine workflows, 474 Statement block (T4), 238, 239–240 Static Analysis, 975 stepping through code, 775–776 stored procedures databases, 504 LINQ to SQL queries, 551–553 SQL Server, debugging, 822–823 StringAssert class, 189 strings See also connection strings strongly named assemblies, 855–856 obfuscation and, 869 Struct entity (class diagrams), 170 stub completion, IntelliSense, 122 styles, WPF, 326–327 Subreport control, reporting, 593 subreports, 607–609 Subscription class, 179–181 SubscriptionTest test class, 180–181 Subversion, solutions, 226–227 suggestion mode (IntelliSense), 121–122 XML tag, 213 suo files, 91 Sync Framework scope, 681 SyncOrchestrator, 682 Sync Services, 678 Data Source Configuration Wizard, 678–679 database, 678 N-Tier applications, 685 synchronization See also Sync Services synchronized settings, 49–50 System library, 21 System.Core library, 21 system.diagnostics configuration section, 706 system.net configuration section, 705–706 system.web configuration section, 706–707 T T4 (Text Template Transformation Toolkit), 235 blocks Class Feature, 238, 241 Expression, 238, 239 Statement, 238, 239–240 Text, 238 code assets, generating, 248–251 design-time errors, 247 directives, 236–237 assembly, 245 extension, 237 import, 245–246 include, 246 output, 245 template, 237, 244–245 1039 www.it-ebooks.info bindex.indd 1039 14-02-2014 18:36:54 T4 (Text Template Transformation Toolkit) (continued ) – templates T4 (Text Template Transformation Toolkit) (continued) generated code errors, 248 methods TransformText, 242–244 Write( ), 244 overview, 242–244 Runtime Text Templates, 252–256 templates compared to Runtime Text Templates, 255–256 creating, 235–238 tips and tricks, 256–257 transformation errors compiling, 247–248 executing, 248 tab order of controls, 300–301 Table control, reporting, 588–590 Table Data menu, 506 TableLayoutPanel control (Windows Forms), 305 tables (databases), editing, 502–503 tabs groups, code editor, 58 mouse hover to open window, 37 tags, XML comments , 204 , 204–205 , 205 , 205–206 , 206–207 , 207–209 , 209 , 209 , 210 , 210–211 , 211 , 211–212 , 212 , 213 , 213 , 213–214 , 214 , 214–215 tamper defense, 870, 871–872 Target Rule selector, 378 Task List window, comments, 220–222 TDD (test-driven development), 118 Team Foundation Build, 1008–1010 Team Foundation Server (UML Model Explorer), 956 tear away code windows, 56–57 template directive (T4), 244–245 templates ASP.NET MVC, Dynamic Data templates, 419–422 ASP.NET Web Forms Site project, 365 ASP.NET Web Site projects, 365 Cloud Service, 482 Content Type (SharePoint), 470–473 entity templates (ASP.NET Dynamic Data), 455–457 Export Template Wizard, 260–262 field templates (ASP.NET Dynamic Data), 453–455 filter templates (ASP.NET Dynamic Data), 457–459 item templates, 259–263 locations, 267 MVC projects, 397 My Exported Templates folder, 262 online templates, 275 page templates (ASP.NET Dynamic Data), 450–452 parameters, 265–266 process templates (TFS), 986–989 project setup, 267–268 project templates, 263–264 Project Template Example, 267–268 Silverlight, 427, 429 Solution Explorer Installed Templates, 19 Unit Test, 181–182 Starter Kit, 274 structure, 264–265 T4 creating, 235–238 Runtime Text Templates, 252–256 user interaction, 267–272 1040 www.it-ebooks.info bindex.indd 1040 14-02-2014 18:36:54 T T t T T T T T T t Templates area, WPF application – TFS (Team Foundation Server) Templates area, WPF application, Templates folder, 262 test classes, SubscriptionTest, 180–181 Test Explorer, 182–183 Test Manager, 977, 986 Lab Center, 989–990 Testing Center, 987–989 Test projects, 96 Test View window, 986 TestClass attribute, 185 TestCleanup attribute, 191 testing See also Test Manager add-ins, 916–918 automated tests, 977 Coded UI Test, 983–984 Generic Tests, 984 Load Tests, 980–983 Ordered Tests, 984 Web Performance Tests, 978–980 Code Coverage, 984–986 context, data, 192–194 unit testing, 179–180 AssemblyCleanup attribute, 191 AssemblyInitialize attribute, 191 Assert class, 188–189 categories, 185 ClassCleanup attribute, 191 ClassInitialize attribute, 191 clean up, 191 Code Contracts, 197–199 CollectionAssert class, 189 Description attribute, 185 ExpectedException attribute, 189–190 Ignore attribute, 186 initialization, 191 Owner attribute, 185 Priority attribute, 185 private members, 196–197 properties, 195–196 StringAssert class, 189 TestCategory attribute, 185 TestClass attribute, 185 TestCleanup attribute, 191 TestInitialize attribute, 191 TestMethod attribute, 185 Timeout attribute, 186–187 WorkItem attribute, 186 writing output, 194–195 workflows, 653 TestInitialize attribute, 191 TestMethod attribute, 185 text block selection, code editor, 59 blocks, code, 134–135 Text block (T4), 238 text resource files, 729, 730–731 Text Template Transformation Toolkit See T4 (Text Template Transformation Toolkit) textboxes adding, 10 Press Shortcut Keys, 44 Show Commands Containing, 44 TFS (Team Foundation Server), 228, 985–986 Excel integration, 998 process templates, 986–989 Project integration, 998–999 Report Server, 1010–1011 Team Foundation Build, 1008–1010 team portal documents, 1011 process guidance, 1011 SharePoint lists, 1011 team project, 986 version control, 1000 annotation, 1005 branches, 1006–1007 check in, 1001–1002 check out, 1001 conflict resolution, 1002–1003 history, 1005 labeling, 1003–1005 merges, 1008 offline work, 1003 shelving, 1006 Solution Explorer, 1000–1001 1041 www.it-ebooks.info bindex.indd 1041 14-02-2014 18:36:55 TFS (Team Foundation Server) (continued ) – unit testing TFS (Team Foundation Server) (continued) work items queries, 989–997 state, 998 types, 997 themes, Silverlight, 433–435 Threads code execution window, 756 tiles, Windows Store aplications, 351–352 tool windows, 8, 908–910 add-ins, 919–922 expanding, pinned, 8–9 Properties, reorganizing, 73–74 unpinned, 8–9 toolbars, 8, 34–35 Solution Explorer, 16 viewing, 35 Toolbars menu, 35 Toolbox, Class Designer tab, 169 class diagrams, 169 connectors, 170 code blocks, 134–135 customizing, 25 adding components, 26–27 component arrangement, 26 expanding, 10 window, 23–25 TPL (Task Parallel Library), 280 Trace class, 810–811 Trace Viewer, 802–803 tracepoints, 773–774 tracing application-level, 801–802 output, 803 page-level, 800–801 Trace Viewer, 802–803 tracking (WF), 641–642 tracking changes, 43 Transact-SQL Editor, 975 transformation errors, 247–248 TransformText method, 242–244 txt file extension, 730 type providers, F#, 288–289 type proxies, debugging and, 784–786 XML tag, 213–214 XML tag, 214 u u U UAC (User Account Control) settings, 99–100 UI (user interface) See interfaces UML diagrams Activity, 951 Class, 953 Component, 953 Sequence, 952–953 generating, 958–960 Use Case, 950–951 UML Model Explorer, 954–956 Unit Test template, 181–182 unit testing, 179–180 AssemblyCleanup attribute, 191 AssemblyInitialize attribute, 191 Assert class, 188–189 attributes Ignore, 186 Owner, 185 Priority, 185 TestCategory, 185 TestClass, 185 TestMethod, 185 Timeout, 186–187 WorkItem, 186 categories, 185 ClassCleanup attribute, 191 ClassInitialize attribute, 191 clean up, 191 Code Contracts, 197–199 CollectionAssert class, 189 context, data, 192–194 ExpectedException attribute, 189–190 initialization, 191 private members, 196–197 properties, custom, 195–196 StringAssert class, 189 U U U u U V v < v v V V v 1042 www.it-ebooks.info bindex.indd 1042 14-02-2014 18:36:55 unpinning windows – Visual Studio 2013 Editor Test Explorer, 182–183 TestCleanup attribute, 191 TestInitialize attribute, 191 Unit Test template, 181–182 writing output, 194–195 unpinning windows, 37 upgrading to NET Framework 4.5.1, 832–833 projects, to Visual Studio 2013, 20 from Visual Studio 2010, 829–832 Use Case Diagrams (UML), 950–951 Use Local Help option, 84 Use Online Help option, 84 users authentication, client application services, 664–666 configuration files, 715–716 Using statements, 149–150 V ValidateUser method, 661, 665–666 validation ASP.NET Dynamic Data data models, 447–448 ASP.NET MVC, 417–418 DataBinding, 522–523 web forms, 378–379 XML tag, 214–215 var keyword, 279–280 variables, DataTips, 779–780 VB, XML literals and, 542 VB options, 47 versions consistency, 854–855 TFS, 1000 annotation, 1005 branches, 1006–1007 check in, 1001–1002 check out, 1001 conflict resolution, 1002–1003 history, 1005 labeling, 1003–1005 merges, 1008 offline work, 1003 shelving, 1006 Solution Explorer, 1000–1001 View Class Diagram button, 16 views databases, 504 interfaces, 402–408 partial views, ASP.NET MVC, 419 templates, Silverlight, 429 Virtual Machines (Azure) connectivity, 495–496 Virtual Network, 496 Visual Basic code snippets, 136–137 comments, 202 Compile page, 838–841 Generate from Usage, 123 Global keyword, 283–284 iterator keyword, 283 PowerPacks, 285 Visual Basic Development Settings, Visual Basic NET, developers, Visual Basic Development Settings and, Visual Basic Windows Forms project, 98–101 Visual Glyphs check box, 41 visual guides, editor space, 41–42 Visual Studio 2010, upgrading from, 829–832 Visual Studio 2013 installation, 3–4 projects, upgrading, 20 running, 4–5 splash screen, 4–5 Visual Studio 2013 Editor Classification subsystem, 935 comments, 940–946 editor services, 940 extension points adornments, 938-939, 986 classification types, 937–938 content types, 937 drop handlers, 939 editor options, 939 1043 www.it-ebooks.info bindex.indd 1043 14-02-2014 18:36:56 Visual Studio 2013 Editor (continued ) – web project installers Visual Studio 2013 Editor (continued) IntelliSense, 940 margins, 938 mouse processors, 939 tags, 938 extensions, 935–937 Operations subsystem, 935 Text Model subsystem, 934 Text View subsystem, 934–935 Visual Studio Gallery, templates, 275 visualization, Modeling Power Toys and, 176 visualizers (debugging), 786–787 VSK files, keyboard mapping schemes, 44 VSM (Visual State Manager), 433 VSPackages, 905–906 VSTO (Visual Studio Tools for Office), 19, 331 W Watch windows, 753 1-4, 754–755 Autos, 755 Locals, 755 QuickWatch, 754 WCAG (Web Content Accessibility Guidelines), 379 WCF (Windows Communication Foundation) Add Service Reference dialog, 631–632 address, 623 binding, 623 contracts, 623 DataSets, 529–530 endpoints, 623–626 Microsoft Service Configuration Editor, Services node, 623–624 New Project dialog, 618–619 New Service Element Wizard, 624 overview, 617 Service Library, 626–630 service references and, 23 services, consuming, 631–635 Syndication Service Library project template, 618 Test Client, 627–628 WCF Workflow Service Application project template, 618 WCF projects, 96 WCF RIA Services See RIA Services Web Application Gallery, 897 web applications attaching to for debugging, 812–813 debugging client-side JavaScript, 796–800 Health Monitoring (ASP.NET), 803–805 server-side ASP.NET code, 791–796 tracing, 800–803 deploying, 893–895 Web Content Accessibility Checker, 379 web controls authentication, 380–382 data components, 382–385 data helper controls, 385 data source controls, 382–383 data view controls, 383–384 navigation components, 380 Web Deploy Package option, 895 Web Platform Installer and, 897–901 Web Deployment tool, 893 web forms See also ASP.NET Web Applications controls formatting, 375 positioning, 373–374 CSS tools, 375–378 HTML Designer, 371–373 HTML elements controls formatting, 375 positioning, 373–374 JavaScript, 387–388 Target Rule selector, 378 validation tools, 378–379 Web Parts ASP.NET, 385 SharePoint, development, 469–470 Web Performance Tests, 978–980 Web Platform Installer, 897–901 web project installers, 896–897 1044 www.it-ebooks.info bindex.indd 1044 14-02-2014 18:36:56 Web projects – windows Web projects, 95 Web references See service references web site administration See ASP.NET Web Site projects, 20–21, 115–116 Web tab, 113 web.config file, 701–702 WebPartZone container, 385 websites Azure, 494–495 deploying, Copy Web Site, 897 WF (Windows Workflow Foundation), 637 activities, 638–640 Delay, 648 DoWhile, 648 Sequence, 648 SimpleProcessSequence, 649 WriteLine, 648 writing code activities, 649–651 Arguments pane, 645 benefits, 638 bookmarks, 640–641 designer, 644–647 hosting, 654–657 expressions, 640 Imports pane, 646 New Project dialog, 642 persistence, 641 projects, types, 642–643 SqlWorkflowInstanceStore, 641 tracking, 641–642 workflow debugging, 653 designing, 647–649 execution, 651–653 renaming, 643 testing, 653 workflow run time, 640 WorkflowApplication class, 640 WorkflowInvoker class, 640 WorkflowServiceHost class, 640 Where statement, LINQ queries, 537–538 windows, 8, 34–35 Apply Styles (CSS tools), 376 Bookmarks, 130–131 Breakpoints, 750–751 Call Hierarchy, 70–71 Class Details, 170–171 Close All but This, 36 Close All Documents, 36 Code Definition, 69–70 code editor, 51–52 auto-outlining, 53 floating windows, 56–57 formatting code, 53–54 forward/backward navigation, 54 split view, 56 tear away windows, 56–57 code execution, 755–757 code window, 749 Command window, 65–66 Data Sources, 499 docking, 37–39 floating docked, 73 Document Outline, 71–73 document windows, 908–910 Error List, 68 Exceptions, 764 Find, 76–77 Find Results, 81 Immediate, 752–753 Immediate window, 67 Manage Styles (CSS tools), 376 memory windows, 757–759 monitors, 39 mouse hover over tab, 37 navigating, open items, 36 Object Browser, 68–69 Open Containing Folder, 36 Output window, 751–752 panes, Parallel Stacks, 760–762 Parallel Tasks, 760, 762 pinning, 37 Properties, 27–28 reorganizing, 73–74 Show Auto-Hidden Windows on Mouse Over, 37 Task List, comments, 220–222 1045 www.it-ebooks.info bindex.indd 1045 14-02-2014 18:36:56 windows (continued ) – wizards windows (continued) preferences, 296–298 Test View, 986 tool windows, 8, 908–910 Toolbox, 23–25 unpinning, 37 viewing, 35 Watch windows, 753–755 Windows Simulator, 354 device characteristics, 356 gestures, 355 interaction mode, 355 location, 356 screenshots, 356–357 Windows Azure See Azure Windows Forms About form, item templates from, 260–261 components, service-based, 302–303 controls anchoring, 305–306 container controls, 303–305 docking, 305–306 guidelines, 298 layering, 300–301 Lock Controls, 301 positioning multiple, 299–300 properties, 301–302 tab order, 300–301 Toolbox, 298 vertical alignment, 299 WPF and, 328–330 deploying applications, 12 new projects, 293–294 Properties window, 294 Appearance category, 295 Layout category, 295 Window Style category, 295–296 smart tags, 303 templates item templates, 259–263 project templates, 263–264 WPF comparison, 308 Windows Forms Designer Data UI Customization, 297–298 GridSize property, 296 SnapLines, 296 SnapToGrid property, 297 Windows processes, attaching to for debugging, 811–812 Windows projects, 95 Windows Service installer, 886 Windows Store applications, 349–351 Charms, 351–352 cloud computing, 352 creating, 352–354 readability, 350 scale, 351 screen resolution, 351 Snap mode, 351 tiles, 351–352 Windows Simulator, 354–357 device characteristics, 356 gestures, 355 interaction mode, 355 location, 356 screenshots, 357 Windows Store project templates, 352–354 zoom, 351 WinJS, 352 WiX (Windows Installer XML), 879 Burn, 880 Candle, 880 Dark, 880 fragments, 883–886 installers building, 880–883 Windows Service installer, 886 Light, 880 Lit, 880 Pyro, 880 Tallow/Heat, 880 web projects, 896–897 WizardClassLibrary, 267–268 wizards Add-In Wizard, 913–916 Connection String Wizard, 719–720, 722–723 1046 www.it-ebooks.info bindex.indd 1046 14-02-2014 18:36:56 WMI (Windows Management Instrumentation) – XML comments Data Source Configuration Wizard, 585, 720–722 Entity Data Model Wizard, 562–565 Export Template Wizard, 260–262, 264–265 Import and Export Settings, 47–49 New Service Element Wizard, 624 Publish Wizard, 895 Report Wizard, 582, 609–610 SharePoint Customization Wizard, 466–467, 470–473 WMI (Windows Management Instrumentation) data types, Management Events node, 156–158 wrappers, 154 word wrap, code editor, 55 Word Wrap check box, 41 word wrapping, 41 work items (TFS) queries, 989–997 state, 998 types, 997 workflow, 637–638 debugging, 653 execution, 651–653 renaming, 643 testing, 653 Workflow projects, 96 WorkflowApplication class, 640 WorkflowInvoker class, 640 workflows (SharePoint), creating, 474–476 WorkflowServiceHost class, 640 WPF (Windows Presentation Foundation) applications, Templates area, controls, 312–313 layout controls, 313–315 Windows Forms and, 328–330 data binding, 323–326 New Project dialog, 309 overview, 307–308 reports, 582 Silverlight and, 425–426 styles, 326–327 WF designer and, 654–657 Windows Forms comparison, 308 XAML and, 308 WPF Browser Application, 309 WPF designer controls, resizing, 317–318 Convert to Local Value option, 321 Create Data Binding option, 321 Custom Expression option, 321 properties, 320–321 Properties window, 319–323 property markers, 321 Reset option, 321 resources, 321–322 XAML editor and, 315–317 WPF Visualizer, debugging and, 330–332 wrappers, WMI (Windows Management Instrumentation), 154 Write method, 810 WriteIf method, 810 WriteLine method, 810 WriteLineIf method, 810 WSS (Windows SharePoint Services), 463 X XAML (Extensible Application Markup Language) overview, 311–312 WPF and, 308 XAML editor, 315–317 XBAP (XAML Browser Application), 426 XBAP files, 309 XLINQ, 542–546 XML (Extensible Markup Language) querying, 544–545 schema support, 545–547 XML comments, 201, 215–216 adding, 202–203 IntelliSense, 130, 216 tags, 203 , 204 , 204–205 , 205 , 205–206 1047 www.it-ebooks.info bindex.indd 1047 14-02-2014 18:36:57 XML comments (continued ) – zooming, code editor , 213 , 213 , 213–214 , 214 , 214–215 XML comments (continued) , 206–207 , 207–209 , 209 , 209 , 210 , 210–211 , 211 , 211–212 , 212 XML literals, 542 Y‑Z zooming, code editor, 55 1048 www.it-ebooks.info bindex.indd 1048 14-02-2014 18:36:57 Try Safari Books Online FREE for 15 days and take 15% off for up to Months* Gain unlimited subscription access to thousands of books and videos With Safari Books Online, learn without limits from thousands of technology, digital media and professional development books and videos from hundreds of leading publishers With a monthly or annual unlimited access subscription, you get: • Anytime, anywhere mobile access with Safari To Go apps for iPad, iPhone and Android • Hundreds of expert-led instructional videos on today’s hottest topics • Sample code to help accelerate a wide variety of software projects • Robust organizing features including favorites, highlights, tags, notes, mash-ups and more • Rough Cuts pre-published manuscripts START YOUR FREE TRIAL TODAY! Visit: www.safaribooksonline.com/wrox *Discount applies to new Safari Library subscribers only and is valid for the first consecutive monthly billing cycles Safari Library is not available in all countries www.it-ebooks.info badvert.indd 1054 13-02-2014 12:43:16 Programmer to Programmer™ Connect with Wrox Participate User Group Program Take an active role online by participating in our P2P forums @ p2p.wrox.com Become a member and take advantage of all the benefits Wrox Blox Wrox on Download short informational pieces and code to keep you up to date and out of trouble Follow @wrox on Twitter and be in the know on the latest news in the world of Wrox Join the Community Wrox on Sign up for our free monthly newsletter at newsletter.wrox.com Join the Wrox Facebook page at facebook.com/wroxpress and get updates on new books and publications as well as upcoming programmer conferences and user group events Wrox.com Browse the vast selection of Wrox titles, e-books, and blogs and find exactly what you need Contact Us We love feedback! Have a book idea? Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com www.it-ebooks.info ... Chapter 1: A Quick Tour Getting Started Installing Visual Studio 2013 Running Visual Studio 2013 Is Visual Studio Really Cloud Enabled? The Visual Studio IDE Developing, Building, Debugging, and... 15-02-2014 14:20:33 Professional Visual Studio 2013 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 www.it-ebooks.info ffirs.indd 15-02-2014 14:20:33 Professional Visual Studio 2013 Bruce Johnson... XII Visual Studio Ultimate Chapter 54 Visual Studio Ultimate for Architects 949 Chapter 55 Visual Studio Ultimate for Developers 961 Chapter 56 Visual

Ngày đăng: 27/03/2019, 09:42

Từ khóa liên quan

Mục lục

  • Professional Visual Studio® 2013

  • Copyright

  • About the Author

  • Credits

  • Acknowledgments

  • Contents

  • Introduction

    • Who This Book Is For

    • What This Book Covers

    • How This Book Is Structured

    • What You Need to Use This Book

    • Conventions

    • Source Code

    • Errata

    • P2P.Wrox.Com

    • Part I: Integrated Development Environment

      • Chapter 1: A Quick Tour

        • Getting Started

          • Installing Visual Studio 2013

          • Running Visual Studio 2013

          • Is Visual Studio Really Cloud Enabled?

          • The Visual Studio IDE

            • Developing, Building, Debugging, and Deploying Your First Application

            • Summary

            • Chapter 2: The Solution Explorer, Toolbox, and Properties

              • The Solution Explorer

                • Previewing Files

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan