370 likes | 528 Views
Visual Studio 2010 and .NET Framework 4. Bernard Fedotoff bfedotoff@hotmail.com. Agenda. What’s new in .Net 4 VS 2010 Overview What ’s new with C# 4.0 What’s new With TFS 2010 What’s new for the Architects What’s new for the Developpers. Agenda. What’s new in .Net 4
E N D
Visual Studio 2010and.NET Framework 4 Bernard Fedotoff bfedotoff@hotmail.com
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
A Look Back… SP1 3.5 3.0 .NET 1.0 .NET 1.1 .NET 2.0 .NET 4 2002 2003 2005-08 2008 CTP! CLR 1.0 CLR 1.1 CLR 2.0 CLR 4
What Is The .NET Framework? WPF Win Forms DLR ASP.NET WCF LINQ And more! Base Class Libraries The CLR JIT & NGEN Garbage Collector Security Model Exception Handling Loader & Binder
The goal of CLR 4 In-Proc SxS Managed Extensibility Framework Working Better Together… Faster… With Fewer Bugs… DLR Integration Native/Managed Interop Threading Parallel Extensions Garbage Collection Profiling Corrupted State Exceptions Code Contracts Debugging
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
Visual Studio Targets Many… Complete Team System Professional Feature Set Express Minimal Hobbyist Enterprise Audience
New Visual Studio 2010 Features… Breakpoint Grouping Parallel Tasks Window New Look & Feel Extensible Test Runner Dynamic Data Tooling Generate From Usage Highlight References WPF-based Editor Breakpoint Labeling Click-Once Enhancements for Office Call Hierarchy Web Deploy Improved WPF Tooling Sharepoint Tooling Historical Debugging MVC Tooling Inline Call Tree Minidump Debugging Quick Search Concurrency Profiler JQueryIntellisense Breakpoint Import/Export Document Map Margin 64-bit Mixed-Mode Parallel Stacks Window HTML Snippets Improved Multi-Monitor web.config Transformation
The Two Faces of Visual Studio 2010 Visual Studio As An Editor Visual Studio As A Platform
… As An Editor An improved focus on… Writing code, Understanding code, Navigating code, Publishing code
… As A Platform New Extensible Editor allows editor to be easily extended to provide a rich and robust editing experience Online Visual Studio Gallery integrated directly into Visual Studio
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
Magic value via temp variables GenerateChart(20, true); varprocessCount = 20; varcopyToWord = true; GenerateChart(processCount, copyToWord); GenerateChart(20 /* processCount */, true /* copyToWord */); GenerateChart( processCount:20, copyToWord: true);
Optional Parameters void GenerateChart(intprocessCount) { GenerateChart(processCount, false); } void GenerateChart(intprocessCount, boolcopyToWord) { // Do Something } void GenerateChart( intprocessCount, boolcopyToWord = false) { // Do Something }
Dynamic Language Statically typed to be dynamic dynamic calc = GetCalculator(); int sum = calc.Add(10, 20); Dynamic method invocation Dynamic conversion
New Features in C# 4.0 &VB 10 New in Dev10 Already exists in VB9/C#3
New Features in C# 4.0 &VB 10 New in Dev10 Already exists in VB9/C#3
New Features in C# 4.0 &VB 10 New in Dev10 Already exists in VB9/C#3
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
Where are the metadatas ? TraditionalApproach What ConceptualLevel LogicalLevel AGILE How Using PhysicalLevel
Identifying and Creating Personas Good personas are memorable and three dimensional Personification of user groups Represented as an individual Persona Benefits • They separate “you” from your application’s customers • By making them “real” they are easier to discuss • They are more specific than RUP actors e.g. several personas for different demographics • They help with role play activities Persona should be useful for decision making Personas consider personality, work environment and characteristics Personas should have a memorable name
Techniques for Capturing User Stories User stories Steps for persona to accomplish goal Persona Goal Practices for Capturing User Stories • Start with the goal • Break the goal into a list of steps • Start with “Persona does step” • Then “Solution shows result” • Use action verbs to enumerate steps • Write scenarios in the user’s language • Don’t detail alternate and exception paths initially
TFS 2010 • No More Planning Black Box • No More Late Surprises • No More Stakeholder Surprises • No More Bewildering Admin
Top-to-Bottom Traceability Requirements Traceability Parent/Child Relationships Rollup and Drilldown Agile Planning Built-in product backlog mgmt Built-in iteration planning Easily customizable Great Project Integration Full dependency linking Full round-tripping w/ TFS No More Planning Black Box
Reporting for mere mortals Generate reports from queries Manipulate data with Excel Friendlier OLAP cube Share the knowledge Embed reports via MOSS No More Late Surprises
Information-rich dashboards Roll-up reports show KPI’s Drill-down for further analysis Quickly customizable Easy interaction with developers Web-based bug filing Web-based feature requests Track status of bugs / features No More Stakeholder Surprises
First class branches Server-side branch creation Visualize branch relationships Track change across branches History Timeline Richer Annotate Conflict resolution No More Parallel Development Pain
MMC-based admin UI for common tasks Change service accounts Configure data tier Configure SSL Add /change SharePoint Configure reporting/analysis services Configure Team System Web Access Manage project collections Access log files No More Bewildering Admin
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
Generate Graph Documents • To explore the relationships and organization : • Graphs are generated By Assembly, by Namespace or By Class • Can be navigated to visualize dependencies • Partial graphs can be created by using Architecture Explorer • Layer Diagrams show organization and constraints
UML Diagrams • Helpsyou to modelize User Requirements • Use case diagram • Who uses the system and what they do with it • Conceptual class diagram • Glossary of types that are used to describe the requirements; the types visible at the system's interface. • Activitydiagram • Flow of work and information between activities performed by users and system or its parts. • Sequencediagram • Sequence of interactions between users and system or its parts. An alternative view to the activity diagram. • Component Diagram • show the major parts of the system
Agenda • What’s new in .Net 4 • VS 2010 Overview • What ’s new with C# 4.0 • What’s new With TFS 2010 • What’s new for the Architects • What’s new for the Developpers
Focus on code Quality • IntelliTrace : « rewind » the debugging trace to examine the state of your application • Enabled IntelliTrace in Visual Studio options • Identifying code change impacts on test • Verifying code by using units tests • Enhance code quality with ckeck-in policies • Track coding defects with Code Analysis • Identify bottleneck with performance session • Prototype with SketchFlow