400 likes | 492 Views
SESSION CODE: DEV203. Introducing Visual Studio 2010: What It Is and Why You Should Care. David Chappell Principal Chappell & Associates. Agenda. Understanding Visual Studio 2010: The Big Picture Using Visual Studio 2010 Adopting Visual Studio 2010.
E N D
SESSION CODE: DEV203 Introducing Visual Studio 2010: What It Is and Why You Should Care David Chappell Principal Chappell & Associates
Agenda • Understanding Visual Studio 2010: The Big Picture • Using Visual Studio 2010 • Adopting Visual Studio 2010
Tools for Software DevelopmentAn evolution 1980s-1990s 1970s-1980s 1990s-2000s Editors Integrated development environments (IDEs) Compilers Team development tools Build tools Version control tools Testing tools Reporting and tracking tools
Illustrating Visual Studio 2010 Eclipse IDE Visual Studio Team Explorer Everywhere 2010 Visual Studio Team Explorer 2010 Visual Studio 2010 IDE Expression Studio Visual Studio Team Foundation Server 2010 Microsoft Test Manager 2010 Web Browser SharePoint Microsoft Excel Visual Studio Lab Management 2010 Microsoft Project Visual Studio 2010 Other Microsoft Other Vendors and Open Source
Illustrating TFS Visual Studio Team Foundation Server 2010 Work Item Tracking Version Control Test Case Management T T T T VM • Requirements/ • User stories • Tasks • Bugs • Test cases • … T T T T Reports and Dashboards Build Management Lab Management Process Templates
Managing Requirements/User Stories • VS 2010 doesn’t define how requirements/user stories should be gathered • It does define how they’re managed • Using Requirement/User Story work items • Which can be linked to other work items • This provides requirements traceability Requirement Y Bug Requirement X Task Test Case Task Test Case Bug Task Test Case Task Test Case Bug Bug Task Test Case Test Case Bug Bug Test Case
Managing Requirements/User StoriesExample: Accessing User Story and Task work items from Excel User story Tasks linked to that user story
Architecting the Solution • Visual Studio 2010 supports UML modeling • With Class, Sequence, UseCase, Activity, and Component diagrams • A UML diagram can be linked to a TFS work item • Such as linking a UseCase diagram to a Requirement • Other design/visualization tools include: • Layer Explorer for creating layer diagrams • Architecture Explorer for creating dependency graphs • More
Writing CodeToolkits and designers • VS 2010 includes toolkits for: • SharePoint development • Office development • Windows Azure development • It also includes: • The WPF and Silverlight Designer • The Workflow Designer for creating WF workflows • The O/R Designer for creating LINQ to SQL object model mappings • More
Writing CodeTools for writing better code • Unit testing framework • Static code analysis • Examines code for security holes and more • Dynamic code analysis • Performance profiling • Code coverage, showing what’s being tested • Code metrics • Measuring complexity and maintainability • Debugging support • Including IntelliTrace
Writing CodeAccessing TFS information with Team Explorer User story This developer’s tasks linked to that user story Details about that user story
Testing Code • VS 2010 has lots of support for testing • It’s important • This release introduces Microsoft Test Manager (MTM), supporting: • Creating and managing test suites • Running manual tests • Running automated tests • More
Testing CodeGathering test results • Testers must provide good diagnostic data about bugs • So developers can reproduce, diagnose, and fix those bugs • VS 2010 provides diagnostic data adapters to do this R Application Under Test Visual Studio 2010 IDE 1) Run test T Test Agent 2) Return test results and diagnostic data Microsoft Test Manager Diagnostic Data Adapters (DDAs) Tester Test Controller
Testing CodeExample DDAs • IntelliTrace: Creates a detailed trace of an application’s execution, which a developer can replay • Action Recording: allows recording and replaying a manual test • Event Log: Collects information written to event logs during the test • Video Recorder: Records the screen of the computer the tested app is running on • Test Impact: Allows test impact analysis
Testing Code Using MTM: Examining a requirement’s test cases Requirement Tests linked to that requirement
Testing Code Illustrating Lab Management • Visual Studio Lab Management 2010 allows creating and managing VMs for a test lab • VMs can be created from predefined templates • The Lab Management client is part of MTM VM System Center Virtual Machine Manager 2008 Lab Manager Lab Management Microsoft Test Manager Team Foundation Server
Testing CodeUsing MTM and Lab Management: Preparing to run tests Lab Management T T T T 1) Create test lab VMs T T T T Lab Manager Test Case Management 2) Create test plan DDAs Test Management Test Agent Test Agent Test Agent DDAs DDAs Microsoft Test Manager Team Foundation Server VM VM VM
Testing CodeUsing MTM: Running tests Build Management T T T T 1) Create and deploy test build T T T T R Test Case Management 2) Run test cases Test Management Test Agent Test Agent Test Agent DDAs DDAs DDAs 5) Access test resultsand diagnostic data 4) Return test results and diagnostic data Microsoft Test Manager Team Foundation Server 3) Execute tests, collecting test results and diagnostic data Test Controller
Testing CodeUsing MTM: Running manual tests Test runner Application under test
Testing CodeOptions for automated tests • Visual Studio 2010 supports several kinds of automated tests Coded UI Tests Web Performance Tests Unit Tests Database Unit Tests T T T T T T T T T T T T T T T T T T User Interface Business Logic Database
Testing CodeIllustrating load testing Web Performance Tests Load Test Virtual User Pack Test Agent T T T T Test Agent T T Test Controller T T Test Agent T T T T Test Agent T T T T
Managing and Tracking the Project • VS 2010 provides: • Reports created using Excel or SQL Server Reporting Services • Dashboards created using SharePoint • The available reports and dashboards depend on what process template is used • They can also be customized
Managing and Tracking the ProjectExample report: Stories Overview Percentof work completed User stories Summary of current test results
Managing and Tracking the Project Example dashboard: Quality Code churn Bug reactivations Test plan progress
How Visual Studio 2010 is PackagedMapping software to SKUs Visual Studio IDE Visual Studio Team Explorer Microsoft Test Manager Visual Studio Lab Management Visual Studio Team Explorer Everywhere Visual Studio Team Foundation Server Visual Studio 2010 Ultimate* x x x x x Visual Studio 2010 Premium* x x x Visual Studio 2010 Professional* x x x Visual Studio Test Professional 2010 * x x x Visual Studio Lab Management 2010 x Visual Studio Team Explorer Everywhere 2010 x *With MSDN subscription
How Visual Studio 2010 is Packaged Visual Studio 2010 Ultimate Microsoft Test Manager Test Case Management Manual Testing Fast Forward for Manual Testing IntelliTrace Web Performance Testing Load Testing UML Modeling Architecture Explorer Layer Diagrams Sequence Diagrams Class Designer Visual Studio 2010 Premium Test Agent and Test Controller Diagnostic Data Adapters Coded UI Testing Test Impact Analysis Performance Profiling Static Code Analysis Code Coverage Code Metrics Database Change Management Database Unit Testing Database Test Data Generators Database Deployment Visual Studio 2010 Professional C#, VB, C++, F#, JScript Windows Development Web Development SharePoint Development Windows Azure Development Office Development Multi-Core Development Unit Testing WPF/Silverlight Designer Object/Relational Designer Workflow Designer XML Schema Designer
Conclusions • Modern software development requires a diverse set of tools • Integrating those tools makes sense • Visual Studio 2010 provides an integrated set of diverse development tools • For large teams, small teams, and solo developers
References • Introducing Visual Studio 2010, David Chappell http://download.microsoft.com/download/C/D/3/CD39BB69-35CC-458A-B4EB-2F928B58FB4B/whitepapers for trizzies/Visual Studio 2010, v1.0 -- Chappell.pdf
About the Speaker David Chappell is Principal of Chappell & Associates (www.davidchappell.com) in San Francisco, California. Through his speaking, writing, and consulting, he helps people around the world understand, use, and make better decisions about new technology. David has been the keynote speaker for events and conferences on five continents, and his seminars have been attended by tens of thousands of IT decision makers, architects, and developers in more than forty countries. His books have been published in a dozen languages and used regularly in courses at MIT, ETH Zurich, and other universities. In his consulting practice, he has helped clients such as Hewlett-Packard, IBM, Microsoft, Stanford University, and Target Corporation adopt new technologies, market new products, train their sales staffs, and create business plans. Earlier in his career, David wrote networking software, chaired a U.S. national standards working group, and played keyboards with the Peabody-award-winning Children’s Radio Theater. He holds a B.S. in Economics and an M.S. in Computer Science, both from the University of Wisconsin-Madison.
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • Visual Studio – http://www.microsoft.com/visualstudio/en-us/ • Soma’s Blog – http://blogs.msdn.com/b/somasegar/ • MSDN Data Developer Center – http://msdn.com/data • ADO.NET Team Blog – http://blogs.msdn.com/adonet • WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam • EF Design Blog – http://blogs.msdn.com/efdesign
Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn
Required Slide Complete an evaluation on CommNet and enter to win!
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.