Presentation is loading. Please wait.

Presentation is loading. Please wait.

Beyond the IDE Visual Studio Ultimate Randy Pagels Sr. Developer Technical Specialist Microsoft Corporation

Similar presentations


Presentation on theme: "Beyond the IDE Visual Studio Ultimate Randy Pagels Sr. Developer Technical Specialist Microsoft Corporation"— Presentation transcript:

1 Beyond the IDE Visual Studio Ultimate Randy Pagels Sr. Developer Technical Specialist Microsoft Corporation rpagels@microsoft.com www.teamsystemcafe.net

2 Beyond the IDE Visual Studio 2010 Ultimate Randy Pagels Developer Technical Specialist Microsoft Corporation rpagels@microsoft.com www.teamsystemcafe.net Tony Jimenez Developer Solution Specialist Microsoft Corporation tjimenez@microsoft.com

3 Visual Studio 2010

4 Visual Studio 2010 Ultimate Visual Studio 2010 Ultimate Visual Studio 2010 Premium Visual Studio 2010 Premium Visual Studio 2010 Professional Visual Studio 2010 Professional Static Code Analysis Database Deployment Code Metrics Database Unit TestingTest Data Generation Test Impact AnalysisUI Test Automation Code Coverage Performance Profiling Database Change Mngmnt. Manual Testing Layer Diagram UML Modeling Load TestingWeb Testing Test Case & Lab ManagementIntelliTrace™ Architecture Explorer Test Record & Playback Logical Class Designer Cloud Development Office Development Windows Development New WPF EditorCustomizable IDE Multi-core DevelopmentSilverlight Tools Web Development SharePoint Development Generate from Usage Visual Studio 2010 Feature Overview

5 IDE Improvements

6 New IDE Improvements Visual Studio Environment WPF-based Editor Better Multi-Monitor Support Customizable XML start screen Navigation Quick Search Search-as-you-type Highlight references Project System 100% source code compatible Multi-Targeting Simplified one-click web deployment

7 Code Focused Development Layers Rich formatting of code Overlays of contextual information Consume First, Declare Later Generate from usage Code insight Live code definition lookups View call hierarchy

8 Web Development Enhanced JavaScript tooling HTML snippets New MVC and Dynamic Data tooling Integrated Web Deployment

9 Native C++ Development Great IDE Experience Scale smoothly Better navigation of large source bases Multi-targeti ng MFC Class Wizard Parallel computing support Light up on Windows 7 Updated MFC look-and- feel

10 Visual Studio IDE Highlights WPF Start Page Enhanced Docking Behavior Zoom (Ctrl + mouse wheel) Box Selection (Alt + select with mouse) View Call Hierarchy (Ctrl + K, T) – design time Navigate To – in the Edit menu or (Ctrl + Comma) Quick Search (Ctrl-"comma")-All Spaces treated as wildcards. Camel case. Highlighting References – select any symbol Generate From Usage feature lets you use classes and members before you define them. IntelliSense Suggestion Mode (vs. Completion Mode, Ctrl + Alt + Space to toggle). Use suggestion mode when classes and members are used before they are defined. http://msdn.microsoft.com/en-us/library/dd465268.aspx What's New in the Visual Studio 2010 Editor

11 Code Visualization and Architecture

12 Architecture Explorer Class Dependency Matrix Use Case Diagram Sequence Diagram Component Diagram Layer Diagram Activity Diagram Logical Class Diagram Architecture Explorer Explore existing code assets visually Layer Diagram Visualize the intended architecture Validate code against the diagram UML support Forward & reverse engineer code/diagram where possible. Code Visualization and Architecture

13 Architectural Exploration Product capabilities “Understand The Domain” UML 2.x Designers Modeling Project & Explorer “Understand The Code” Architecture Explorer Sequence Diagram Generation DGML Graphs and “Standard” Graphs “Maintain Control” Layer Diagram & Custom MSBuild Tasks Work Item Integration Extensibility

14 Architecture UML Diagrams Layer Diagrams Sequence Diagram Dependency Graphs Architecture Explorer

15 “Understand The Domain” UML Activity Diagram

16 "Understand The Code“ Sequence Diagram

17 "Understand The Code“ Dependency Graph

18 “Maintain Control” Layer Diagram and Architecture Validation

19 Debugging Applications with IntelliTrace™

20 What is IntelliTrace? Today IntelliTrace

21 How IntelliTrace Works Application IntelliTrace File CollectionPlan.xml IntelliTrace Recorder

22 IntelliTrace ™ Reduces debug “cycling” Record, Play, Rewind Trace enables debugging off-machine test run Code is instrumented dynamically Records program execution flow Method Enter & Exit Records program data Parameters & Return values Low overhead for collection Supports Dev, Test and Staging environments Pay-as-you-go collection model 1 st class debugging experience in VS Historical Debugging

23 IntelliTrace™ Developer F5 debugging Manual Test failures Build Verification Test (BVT) test failures

24 −Testing - No more “no repro” −Integrated, Extensible Diagnostics −Rich Bugs, fix first time, every time −Intellitrace −Build Automation - BVTs −Build Verification Test (BVT) test fails −View & Debug failed test results from build report −Intellitrace −Developer Experience – F5 −Historical Debugging from Dev machine −Play back events, forward & backward −Intellitrace IntelliTrace™ value add experiences

25 Web Performance Testing

26 Script Development Deep integration with Visual Studio Leverage existing coding skills,.NET framework, debugger, editors, etc. Web Performance Tests Advanced recording at multiple levels Rich UI in Visual Studio Automatically handles most dynamic parameters so record/playback “just works” Extensibility to avoid tight corners “Unit” tests for load testing via an API Any non-HTTP server can be targeted Test earlier in lifecycle

27 Script Development Many sites “just work” Automatically detects dependents Automatically creates “transactions” around pages (page + dependents) HTTP/HTTPS All authorization schemes Data binding/data driven tests Parameterize target server to repurpose scripts Easily simulate different browsers and networks Rich extensibility points and intuitive API Support for coded and declarative style tests Support for nested tests (test components) Supports MS and non-MS web servers Web Performance Tests

28 Script Development “Unit” tests can be run under load Enables testing any server with a.NET API Web services, Active Directory, Windows Communication Foundation, SQL, etc. Deep integration with VS allows you to leverage developer tests for performance testing APIs to insert performance timing measurement blocks Codeplex tools for generating unit tests from SQL and WCF traces Unit Tests

29 Load Testing

30 What is a load test? An automated collection of tests run in parallel to simulate multiple users or systems Load tests run software unit tests, database unit tests, and web performance tests Visual Studio captures details metrics while the load test runs

31 Load Testing Flexible Load Modeling Enables easily simulating different user groups Goal-based, step, constant, and custom load patterns Model different browsers and networks Efficient Load Generation Minimal hardware investments Scale-out load generation Integrated and Extensible Data Collection Performance Counter Sets capture key measurements Primary counters identified for key technologies Thresholds bake in guidance on counters Test results stored in SQL for custom reporting Data collectors allow custom log capture

32 Load Modeling “Scenarios” for modeling different user groups Step, goal-based, constant, and custom load patterns Duration-based and iteration based Ability to simulate different browsers and networks

33 Integrated Diagnostics Out of Box integration with ASP.NET Profiler Integration to JAVA application diagnostics via Dynatrace Event log, Network Emulation and and other collectors Microsoft Confidential33

34 Defacto Load Tool in Microsoft TeamTest TargetDescription Office ServerOffice SharePoint Windows SharePoint Excel Server Perf and stress testing of Office Server System SQLSQL Reporting Services SQL BI Perf and Stress, benchmarking, sizing Dynamics AXDynamics 4.0Perf and Stress, benchmarking, sizing MSN/LiveAd Center Hot Mail Virtual Earth Autos March Madness Music More… High volume perf and stress testing GrooveOpen OfficePerf and Stress Testing DevDivTeam Foundation ServerPerf and Stress Test Team Foundation Server MSITSAPLoad Test SAP via Web Services MSTVIPTV serversHuge tests to load test IPTV national rollout MS CRM Perf and Stress, benchmarking, sizing Microsoft.com Perf and Stress Testing Dr WatsonLog collection serversPerf and Stress Testing Windows UpdatePatch download serversPerf and Stress Testing

35 Defacto Load Tool in Microsoft TeamTest TargetDescription Office ServerOffice SharePoint Windows SharePoint Excel Server Perf and stress testing of Office Server System SQLSQL Reporting Services SQL BI Perf and Stress, benchmarking, sizing Dynamics AXDynamics 4.0Perf and Stress, benchmarking, sizing MSN/LiveAd Center Hot Mail Virtual Earth Autos March Madness Music More… High volume perf and stress testing GrooveOpen OfficePerf and Stress Testing DevDivTFS & Visual StudioPerf and Stress Test TFS & Visual Studio MSITSAPLoad Test SAP via Web Services MSTVIPTV serversHuge tests to load test IPTV national rollout MS CRM Perf and Stress, benchmarking, sizing Microsoft.com Perf and Stress Testing Dr WatsonLog collection serversPerf and Stress Testing Windows UpdatePatch download serversPerf and Stress Testing Using Load Tests to validate IPTV pods Each services 100,000 customers Many major telecoms are customers: AT&T, Tel Italia, Bell Canada, more… 12-hour production test: Total requests generated 3.63 Billion Average requests/sec 84,248

36 Target Server Agent VS 2010 Ultimate Test Controller Target Server Collector Agent Agent Load Test Agent Architecture

37 Load Analysis & Extensibility Performance Analysis Correlate of server activity with performance measurements Drill into error logs Performance reports integrated in Excel Visualize virtual user activity Load tests can drive any test type under load Create custom test types Develop recorders to generate unit tests Many extensibility points in Web tests Load test plugin allow control of nearly all aspects of the load test ASP.NET profiler integration Database TIER Profiling

38 Load & Performance Testing Web test recorder Load testing

39 Run Performance Report Load Test Analysis Built into Excel for run comparison

40 Multi-Tier Performance Analysis Use wizard to enable T.I.P. Shows number of times the page was request along with Total, Min Max, and Avg time spent on processing the request Show actual query generated Total, Min, max, and avg time spent executing that query

41 Test Impact Analyst

42 Choose the right tests

43 What is Test Impact Analysis? Automatically pinpoint which tests are impacted as a result of a code change

44 Test Impact Analysis A One Line Bug Fix Build Report Manual Testing with Test Manager

45 How Test Impact Analysis Works Automated Impacted Tests Test Impact View TFS Team Build Manual Impacted Tests Microsoft Test Manager Team Build Report A A B B C C

46 −Testing - No more “no repro” −Microsoft Test Manager integration −Determine which manual tests might have to be run, based on coding changes −Build Automation - BVTs −Build Verification Test (BVT) test failures −Debug failed test results from build report −Intellitrace automatically attached −Developer Experience – F5 −Determine which tests you should run to verify one or more code changes −Determine which tests you would have to run if you changed a particular method Test Impact Analysis value add experiences

47 Tier Interaction Profiling

48 Multi-Tier Performance Analysis

49

50 Tier Interaction Profiling Performance Analysis Across Multiple Tiers

51 Visit Team System Café for… http://www.teamsystemcafe.net Freshly brewed news Upcoming events Download links Practical tips to go Download Visual Studio 2010 Trials http://tinyurl.com/ycfbfyo Get Started with Lab Management http://tinyurl.com/394nyfe

52

53 Appendix


Download ppt "Beyond the IDE Visual Studio Ultimate Randy Pagels Sr. Developer Technical Specialist Microsoft Corporation"

Similar presentations


Ads by Google