Microsoft Visual Studio 2010 Unleashed - Snell_ Mike.pdf

(40542 KB) Pobierz
770138025.008.png
Mike Snell
Lars Powers
Microsoft®Visual
Studio®2010
UNLEASHED
800 East 96th Street, Indianapolis, Indiana 46240 USA
770138025.009.png 770138025.010.png 770138025.011.png 770138025.001.png
 
Microsoft® Visual Studio® 2010 Unleashed
Copyright © 2011 by Pearson Education, Inc.
All rights reserved. No part of this book shall be reproduced, stored in a retrieval
system, or transmitted by any means, electronic, mechanical, photocopying, recording,
or otherwise, without written permission from the publisher. No patent liability is
assumed with respect to the use of the information contained herein. Although every
precaution has been taken in the preparation of this book, the publisher and author
assume no responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein.
ISBN-13: 978-0-672-33081-0
ISBN-10: 0-672-33081-4
Editor-in-Chief
Karen Gettman
Executive Editor
Neil Rowe
Acquisitions Editor
Brook Farling
Development Editor
Mark Renfrow
Managing Editor
Sandra Schroeder
Library of Congress Cataloging-in-Publication data:
Snell, Mike.
Microsoft Visual Studio 2010 unleashed / Mike Snell, Lars Powers.
p. cm.
ISBN 978-0-672-33081-0
1. Microsoft Visual studio. 2. Web site development. 3. Application
software[md]Development. I. Powers, Lars. II. Title.
TK5105.8885.M57S654 2010
006.7[md]dc22
Senior Project Editor
Tonya S imp s o n
Copy Editor
The Wordsmithery, LLC
Indexer
Lisa Stumpf
2010029011
Proofreaders
Debbie Williams
Leslie Joseph
Printed in the United States of America
First Printing: July 2010
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks
have been appropriately capitalized. Pearson Education, Inc. cannot attest to the accu-
racy of this information. Use of a term in this book should not be regarded as affecting
the validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possi-
ble, but no warranty or fitness is implied. The information provided is on an “as is”
basis. The author and the publisher shall have neither liability nor responsibility to any
person or entity with respect to any loss or damages arising from the information
contained in this book.
Bulk Sales
Pearson offers excellent discounts on this book when ordered in quantity for bulk
purchases or special sales. For more information, please contact:
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact:
International Sales
+1-317-581-3793
international@pearsontechgroup.com
Technical Editor
Tod d M ei s te r
Team Coordinator
Cindy Teeters
Book Designer
Gary Adair
Composition
Mark Shirar
770138025.002.png 770138025.003.png
Contents at a Glance
Introduction . .................................................................................................................................................. 1
Part I
An Introduction to Visual Studio 2010
1
A Quick Tour of Visual Studio 2010 . .......................................................................................... 5
2
The Visual Studio IDE . ......................................................................................................................... 47
3
The .NET Languages .............................................................................................................................. 79
Part II
An In-Depth Look at the IDE
4
Solutions and Projects . ..................................................................................................................... 145
5
Browsers and Explorers ..................................................................................................................... 175
6
Introducing the Editors and Designers . .............................................................................. 199
7
The .NET Community: Interacting Online . ..................................................................... 263
Part III
Writing and Working with Code
8
Working with Visual Studio’s Productivity Aids . ........................................................ 317
9
Testing Code . ............................................................................................................................................. 353
10
Refactoring Code . .................................................................................................................................. 393
11
Debugging Code . .................................................................................................................................. 421
12
Deploying Code . .................................................................................................................................... 483
Part IV
Extending Visual Studio
13
Introducing the Automation Object Model . ................................................................... 507
14
Writing Macros ....................................................................................................................................... 563
15
Writing Add-ins and Wizards . ..................................................................................................... 585
16
Extending the Code Editor Using MEF . .............................................................................. 641
Part V
Creating Enterprise Applications
17
Creating ASP.NET Applications . ................................................................................................ 665
18
Building Windows Forms Applications . .............................................................................. 771
19
Creating Richer, Smarter User Interfaces . .......................................................................... 807
20
Creating Rich Browser Applications . ..................................................................................... 851
21
Working with Databases . ................................................................................................................ 889
22
Service-Oriented Applications . ................................................................................................... 955
770138025.004.png 770138025.005.png
Microsoft Visual Studio Unleashed 2010
iv
23
Embedding Workflow in Your Applications . ............................................................... 1005
24
Developing Office Business Applications ........................................................................ 1073
25
Developing Applications in the Cloud with Windows Azure . ...................... 1099
Index . ........................................................................................................................................................... 1147
770138025.006.png 770138025.007.png
Zgłoś jeśli naruszono regulamin