SlideShare a Scribd company logo
1 of 31
A Sneak Peek at Visual Studio 2010 & .NET Framework 4.0Antonio Chagoury December 2009 1
About Me	 Principal & Software Architect of Inspector IT, Inc. Microsoft MVP – Visual Basic DotNetNuke Core Team Member and Project Lead, Blog and Install Utility Co-Founder and President of the Capital DotNetNuke User Group (CDUG)  Uses DotNetNuke as the Development Platform for large Web 2.0 and Enterprise Implementations I do not like PowerPoint… but… 2
Too Much Stuff to Cover in 1.5 hours Breakpoint Labeling, Breakpoint Searching, Breakpoint Import/Export, Dynamic Data Tooling, WPF Tree Visualizer, Call Hierarchy, Improved WPF Tooling, Historical Debugging, Mini-Dump Debugging, Quick Search, Better Multi-Monitor  Support, Highlight References, Parallel Stacks Window, Parallel Tasks Window, Document Map Margin, Generate From Usage, Concurrency Profiler, Inline Call Tree, Extensible Test runner, MVC Tooling, Web Deploy, JQuery Intellisense, SharePoint Tooling, HTML Snippets, Web.config Transformation, Click-Once Enhancements for Microsoft Office, IDE Rewritten in WPF, New Gadgets Subsystem, Zoom, Box Selection, Call Hierarchy, Navigate To, Highlighting References, Intellisense Suggestion Mode, Generate From Usage… 3
Too Much Stuff to Cover in 1.5 Hours – Cont’d …and that was a short-list of new IDE features ALONE!  Focus of this presentation is on: Visual Studio 2010: A close look at the new IDE .NET 4.0, Visual Basic 10, C# ASP.NET Web Development Web Forms Review MVC 2.0 features CAVEAT: I’ll cover the stuff I liked the most  We’re going to move fast, so fasten your seatbelts! 4
.NET Framework Timeline & Roadmap 2002: Visual Studio .NET 2002 (.NET 1.0) 2003: Visual Studio .NET 2003 (.NET 1.1) 2005: Visual Studio 2005 (.NET 2.0) 2007: Visual Studio 2008 (.NET 2.0/3.0/3.5) 2010: Visual Studio 2010 (.NET 2.0/3.0/3.5/4.0) 5
What’s New in  General Improvements Debugging Parallelism Web Extensibility UI rewritten in WPF Visual Studio is no longer just a  CodeEditor, it is also a Platform! 6
                 as an Editor Editor improvements focus primarily on: Writing code Understanding code Navigating and debugging code Publishing code Editor improvements focus on Productivity! 7
                 as an Editor – Cont’d General improvements Zoom Docking Windows and Multi-Monitor Support Call Hierarchy Highlighting References “Generate From” Usage “Navigate To” Usage Intellisense Consume-First Mode Multi-Targeting 8
                 as an Editor – Cont’d Zoom CTRL + Mouse Wheel Enhances the ability to zoom the code editor canvas Very useful for pair programming, peer code reviews,  training,presentations, etc. 9
                 as an Editor – Cont’d Docking Windows and Multi-Monitor Support New docking visuals Windows can be docked anywhere Better use with multiple monitors 10
                 as an Editor – Cont’d Call Hierarchy Keyboard shortcut: CTRL + K, T Available in C# Used to see calls to and from a method Great way to see calls at design time 11
                 as an Editor – Cont’d Highlighting References Automatic highlighting of a symbol Can be used with declarations and references, and many other symbols 12
                 as an Editor – Cont’d “Generate From” Used to automatically create stub code Enables you to use classes and members before defining them Great for refactoring code If you are familiar with ReSharper then you’ll like this  13
                 as an Editor – Cont’d “Navigate To” Keyboard shortcut: CTRL + , Provides search-as-you-type support for files, types, and members Enables quick searching based on case usage 14
                 as an Editor – Cont’d Intellisense Consume First Mode Keyboard shortcut: CTRL + ALT + SPACE Used when classes and members are used before they are defined Helps to reduce situations where IntelliSense inserts unintended text into the editor 15
                 as an Editor – Cont’d Multi-Targeting VS 2008 was the first release of Visual Studio that included multi-targeting support for .NET .NET 2.0, .NET 3.0, and .NET 3.5 all ran on top of the same version of the CLR Worked, but wasn’t perfect VS 2010 now ships with “reference assemblies” for each version of .NET.   A “reference assembly” contains only the metadata of a particular framework assembly – much smaller in size. Ensures that VS 2010 can always provide 100% accurate intellisense when targeting a particular version of the .NET framework VS 2010 debugger, profiler and compilers are able to target multiple versions of the CLR. 16
                as an Editor – Cont’d Breakpoints Can add labels to breakpoints All breakpoints are now searchable Import / Export now available Floating Data Tips DataTips that float in the source window Floating DataTips remain visible until the debugging session ends New Threading Window Provides filtering, call-stack searching, expansion, and grouping New columns added: Affinity masks, Process names, Managed IDs 17
DEMO What’s new in Visual Studio 2010: Editor 18
                 as a Platform Integrated Online Gallery Extension Manager 19
DEMO What’s new in Visual Studio 2010: Platform 20
What’s New in .NET Framework 4.0 C# and VB Language Parity Microsoft combined C# and VB teams into one group with the goal of merging the two languages features set IDE still behaves differently and function vary from language to language 21
What’s New in .NET Framework 4.0 Visual Basic 10 Auto-Implemented PropertiesShortened syntax that enables you to quickly specify a property of a class without having to write code Collection InitializersShortened syntax that enables you to create a collection and populate it with an initial set of values. (This was in C#) Implicit Line ContinuationEnables you to continue a statement on the next consecutive line without using the underscore character Improved Lambda SupportAction Queries and Multiline Lambda are now supported 22
What’s New in .NET Framework 4.0 C# Optional and Named Parameters Named arguments enable you to specify an argument for a particular parameter by associating the argument with the parameter's name rather than with the parameter's position in the parameter list. Optional  arguments enable you to omit arguments for some parameters. Both techniques can be used with methods, indexers, constructors, and delegates. Dynamic Type Operations that contain expressions of type dynamic are not resolved or type checked by the compiler. The compiler packages together information about the operation, and that information is later used to evaluate the operation at run time 23
DEMO What’s new in .NET Framework 4.0: Languages Changes (C#, VB) 24
What’s New in .NET Framework 4.0: ASP.NET Web Forms (Yep, its still here!) New full-featured project templates Leaner Web.Config More control over view state Access to meta tags ASP.NET routing Auto-Start web applications Compress session state with Gzip Extensible output caching Permanent redirects (301) 25
What’s New in .NET Framework 4.0: ASP.NET Web Forms – CONTROLS Control over HTML mark-up rendered by Templated controls New charting control Semantic menu generation RadioButtonList and CheckBoxListenhancements Persist selected rows in data controls Control over generated Client-Side IDs Filtering support for data source controls ListView control enhancements 26
What’s New in .NET Framework 4.0: ASP.NET Web Forms – Cont’d “Microsoft’s major underlying theme with the Web Forms enhancements is the tremendous focus it placed on semantic and standard compliant HTML markup generation of controls” 27
DEMO What’s new in ASP.NET Web Forms 28
What’s New in .NET Framework 4.0: ASP.NET MVC 2 Templated Helpers Display Enhancements Support for DataAnnotations Data Entry Enhancements Areas Client-Side validation with jQuery Async Controller Actions 29
What’s NOT Covered, but Deserve Mentioning Silverlight Microsoft Entity Framework Azure Microsoft SharePoint Microsoft Office Unit Testing Toolset 30
Resources Download Visual Studio 2010 Beta 2 Visual Studio 2010 on Channel 9 Visual Studio 2010 Quick-Hit Videos ASP.NET 4.0 Quick-Hit Videos Visual Studio 2010 and .NET Framework 4 Training Kit  Extending Visual Studio 2010 My Blog My Company Website Follow me on Twitter! 31

More Related Content

What's hot

Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
Nitu Pandey
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief Overview
Carlos Lopes
 

What's hot (20)

Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET Framework
 
Introduction to .NET Programming
Introduction to .NET ProgrammingIntroduction to .NET Programming
Introduction to .NET Programming
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief Overview
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .net
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net framework
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
.Net framework
.Net framework.Net framework
.Net framework
 
Microsoft .NET Framework
Microsoft .NET FrameworkMicrosoft .NET Framework
Microsoft .NET Framework
 
.NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits .NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits
 
dot net technology
dot net technologydot net technology
dot net technology
 
.Net framework architecture
.Net framework architecture.Net framework architecture
.Net framework architecture
 
Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions
 
Introduction of .net framework
Introduction of .net frameworkIntroduction of .net framework
Introduction of .net framework
 
.Net Overview
.Net Overview.Net Overview
.Net Overview
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutions
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 

Viewers also liked

Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
Faisal Aziz
 
Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5
Jeff Blankenburg
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
Doncho Minkov
 

Viewers also liked (16)

.net framework
.net framework.net framework
.net framework
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
Using MongoDB with the .Net Framework
Using MongoDB with the .Net FrameworkUsing MongoDB with the .Net Framework
Using MongoDB with the .Net Framework
 
Find out Which Versions of the .NET Framework are Installed on a PC.
Find out Which Versions of the .NET Framework are Installed on a PC.Find out Which Versions of the .NET Framework are Installed on a PC.
Find out Which Versions of the .NET Framework are Installed on a PC.
 
Using The .NET Framework
Using The .NET FrameworkUsing The .NET Framework
Using The .NET Framework
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
.Net framework
.Net framework.Net framework
.Net framework
 
.net framework from 1.0 -> 4.0
.net framework from 1.0 -> 4.0.net framework from 1.0 -> 4.0
.net framework from 1.0 -> 4.0
 
Overview of .Net Framework 4.5
Overview of .Net Framework 4.5Overview of .Net Framework 4.5
Overview of .Net Framework 4.5
 
Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
Visual Studio 2010 and .NET Framework 4.0 Overview
Visual Studio 2010 and .NET Framework 4.0 OverviewVisual Studio 2010 and .NET Framework 4.0 Overview
Visual Studio 2010 and .NET Framework 4.0 Overview
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 

Similar to A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0

Vs2010 Apiit Mix On Campus_Ngan Seok Chern
Vs2010 Apiit Mix On Campus_Ngan Seok ChernVs2010 Apiit Mix On Campus_Ngan Seok Chern
Vs2010 Apiit Mix On Campus_Ngan Seok Chern
Quek Lilian
 

Similar to A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0 (20)

San Diego ASP.NET Meeting Oct 21st
San  Diego  ASP.NET Meeting Oct 21stSan  Diego  ASP.NET Meeting Oct 21st
San Diego ASP.NET Meeting Oct 21st
 
VS 2010 codename Rosario
VS 2010 codename RosarioVS 2010 codename Rosario
VS 2010 codename Rosario
 
A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010
 
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for DevelopersMSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
 
Moving to Microsoft Visual Basic .NET
Moving to Microsoft Visual Basic .NETMoving to Microsoft Visual Basic .NET
Moving to Microsoft Visual Basic .NET
 
What's New in Visual Studio 2010
What's New in Visual Studio 2010What's New in Visual Studio 2010
What's New in Visual Studio 2010
 
Vs2005p
Vs2005pVs2005p
Vs2005p
 
Visual Studio 2012 introduction
Visual Studio  2012 introductionVisual Studio  2012 introduction
Visual Studio 2012 introduction
 
Intro to VS 2010 & .Net 4.0
Intro to VS 2010 & .Net 4.0Intro to VS 2010 & .Net 4.0
Intro to VS 2010 & .Net 4.0
 
I T Mentors V S2008 Onramp240 V1
I T Mentors  V S2008  Onramp240 V1I T Mentors  V S2008  Onramp240 V1
I T Mentors V S2008 Onramp240 V1
 
Frequently Used Off Host Developer Toolsl
Frequently Used Off Host Developer ToolslFrequently Used Off Host Developer Toolsl
Frequently Used Off Host Developer Toolsl
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)
 
Vs2010 Apiit Mix On Campus_Ngan Seok Chern
Vs2010 Apiit Mix On Campus_Ngan Seok ChernVs2010 Apiit Mix On Campus_Ngan Seok Chern
Vs2010 Apiit Mix On Campus_Ngan Seok Chern
 
Microsoft .NET 6 -What's All About The New Update
Microsoft .NET 6 -What's All About The New UpdateMicrosoft .NET 6 -What's All About The New Update
Microsoft .NET 6 -What's All About The New Update
 
Visual Studio 2010 RTMtoSP1
Visual Studio 2010 RTMtoSP1Visual Studio 2010 RTMtoSP1
Visual Studio 2010 RTMtoSP1
 
Vb essentials
Vb essentialsVb essentials
Vb essentials
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net Framework
 
Exploring Visual Studio 2010
Exploring Visual Studio 2010Exploring Visual Studio 2010
Exploring Visual Studio 2010
 
Working in Visual Studio.Net
Working in Visual Studio.NetWorking in Visual Studio.Net
Working in Visual Studio.Net
 
Top 10 IDEs for React.js Developers in 2021
Top 10 IDEs for React.js Developers in 2021Top 10 IDEs for React.js Developers in 2021
Top 10 IDEs for React.js Developers in 2021
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0

  • 1. A Sneak Peek at Visual Studio 2010 & .NET Framework 4.0Antonio Chagoury December 2009 1
  • 2. About Me Principal & Software Architect of Inspector IT, Inc. Microsoft MVP – Visual Basic DotNetNuke Core Team Member and Project Lead, Blog and Install Utility Co-Founder and President of the Capital DotNetNuke User Group (CDUG) Uses DotNetNuke as the Development Platform for large Web 2.0 and Enterprise Implementations I do not like PowerPoint… but… 2
  • 3. Too Much Stuff to Cover in 1.5 hours Breakpoint Labeling, Breakpoint Searching, Breakpoint Import/Export, Dynamic Data Tooling, WPF Tree Visualizer, Call Hierarchy, Improved WPF Tooling, Historical Debugging, Mini-Dump Debugging, Quick Search, Better Multi-Monitor Support, Highlight References, Parallel Stacks Window, Parallel Tasks Window, Document Map Margin, Generate From Usage, Concurrency Profiler, Inline Call Tree, Extensible Test runner, MVC Tooling, Web Deploy, JQuery Intellisense, SharePoint Tooling, HTML Snippets, Web.config Transformation, Click-Once Enhancements for Microsoft Office, IDE Rewritten in WPF, New Gadgets Subsystem, Zoom, Box Selection, Call Hierarchy, Navigate To, Highlighting References, Intellisense Suggestion Mode, Generate From Usage… 3
  • 4. Too Much Stuff to Cover in 1.5 Hours – Cont’d …and that was a short-list of new IDE features ALONE! Focus of this presentation is on: Visual Studio 2010: A close look at the new IDE .NET 4.0, Visual Basic 10, C# ASP.NET Web Development Web Forms Review MVC 2.0 features CAVEAT: I’ll cover the stuff I liked the most  We’re going to move fast, so fasten your seatbelts! 4
  • 5. .NET Framework Timeline & Roadmap 2002: Visual Studio .NET 2002 (.NET 1.0) 2003: Visual Studio .NET 2003 (.NET 1.1) 2005: Visual Studio 2005 (.NET 2.0) 2007: Visual Studio 2008 (.NET 2.0/3.0/3.5) 2010: Visual Studio 2010 (.NET 2.0/3.0/3.5/4.0) 5
  • 6. What’s New in General Improvements Debugging Parallelism Web Extensibility UI rewritten in WPF Visual Studio is no longer just a CodeEditor, it is also a Platform! 6
  • 7. as an Editor Editor improvements focus primarily on: Writing code Understanding code Navigating and debugging code Publishing code Editor improvements focus on Productivity! 7
  • 8. as an Editor – Cont’d General improvements Zoom Docking Windows and Multi-Monitor Support Call Hierarchy Highlighting References “Generate From” Usage “Navigate To” Usage Intellisense Consume-First Mode Multi-Targeting 8
  • 9. as an Editor – Cont’d Zoom CTRL + Mouse Wheel Enhances the ability to zoom the code editor canvas Very useful for pair programming, peer code reviews, training,presentations, etc. 9
  • 10. as an Editor – Cont’d Docking Windows and Multi-Monitor Support New docking visuals Windows can be docked anywhere Better use with multiple monitors 10
  • 11. as an Editor – Cont’d Call Hierarchy Keyboard shortcut: CTRL + K, T Available in C# Used to see calls to and from a method Great way to see calls at design time 11
  • 12. as an Editor – Cont’d Highlighting References Automatic highlighting of a symbol Can be used with declarations and references, and many other symbols 12
  • 13. as an Editor – Cont’d “Generate From” Used to automatically create stub code Enables you to use classes and members before defining them Great for refactoring code If you are familiar with ReSharper then you’ll like this 13
  • 14. as an Editor – Cont’d “Navigate To” Keyboard shortcut: CTRL + , Provides search-as-you-type support for files, types, and members Enables quick searching based on case usage 14
  • 15. as an Editor – Cont’d Intellisense Consume First Mode Keyboard shortcut: CTRL + ALT + SPACE Used when classes and members are used before they are defined Helps to reduce situations where IntelliSense inserts unintended text into the editor 15
  • 16. as an Editor – Cont’d Multi-Targeting VS 2008 was the first release of Visual Studio that included multi-targeting support for .NET .NET 2.0, .NET 3.0, and .NET 3.5 all ran on top of the same version of the CLR Worked, but wasn’t perfect VS 2010 now ships with “reference assemblies” for each version of .NET.  A “reference assembly” contains only the metadata of a particular framework assembly – much smaller in size. Ensures that VS 2010 can always provide 100% accurate intellisense when targeting a particular version of the .NET framework VS 2010 debugger, profiler and compilers are able to target multiple versions of the CLR. 16
  • 17. as an Editor – Cont’d Breakpoints Can add labels to breakpoints All breakpoints are now searchable Import / Export now available Floating Data Tips DataTips that float in the source window Floating DataTips remain visible until the debugging session ends New Threading Window Provides filtering, call-stack searching, expansion, and grouping New columns added: Affinity masks, Process names, Managed IDs 17
  • 18. DEMO What’s new in Visual Studio 2010: Editor 18
  • 19. as a Platform Integrated Online Gallery Extension Manager 19
  • 20. DEMO What’s new in Visual Studio 2010: Platform 20
  • 21. What’s New in .NET Framework 4.0 C# and VB Language Parity Microsoft combined C# and VB teams into one group with the goal of merging the two languages features set IDE still behaves differently and function vary from language to language 21
  • 22. What’s New in .NET Framework 4.0 Visual Basic 10 Auto-Implemented PropertiesShortened syntax that enables you to quickly specify a property of a class without having to write code Collection InitializersShortened syntax that enables you to create a collection and populate it with an initial set of values. (This was in C#) Implicit Line ContinuationEnables you to continue a statement on the next consecutive line without using the underscore character Improved Lambda SupportAction Queries and Multiline Lambda are now supported 22
  • 23. What’s New in .NET Framework 4.0 C# Optional and Named Parameters Named arguments enable you to specify an argument for a particular parameter by associating the argument with the parameter's name rather than with the parameter's position in the parameter list. Optional arguments enable you to omit arguments for some parameters. Both techniques can be used with methods, indexers, constructors, and delegates. Dynamic Type Operations that contain expressions of type dynamic are not resolved or type checked by the compiler. The compiler packages together information about the operation, and that information is later used to evaluate the operation at run time 23
  • 24. DEMO What’s new in .NET Framework 4.0: Languages Changes (C#, VB) 24
  • 25. What’s New in .NET Framework 4.0: ASP.NET Web Forms (Yep, its still here!) New full-featured project templates Leaner Web.Config More control over view state Access to meta tags ASP.NET routing Auto-Start web applications Compress session state with Gzip Extensible output caching Permanent redirects (301) 25
  • 26. What’s New in .NET Framework 4.0: ASP.NET Web Forms – CONTROLS Control over HTML mark-up rendered by Templated controls New charting control Semantic menu generation RadioButtonList and CheckBoxListenhancements Persist selected rows in data controls Control over generated Client-Side IDs Filtering support for data source controls ListView control enhancements 26
  • 27. What’s New in .NET Framework 4.0: ASP.NET Web Forms – Cont’d “Microsoft’s major underlying theme with the Web Forms enhancements is the tremendous focus it placed on semantic and standard compliant HTML markup generation of controls” 27
  • 28. DEMO What’s new in ASP.NET Web Forms 28
  • 29. What’s New in .NET Framework 4.0: ASP.NET MVC 2 Templated Helpers Display Enhancements Support for DataAnnotations Data Entry Enhancements Areas Client-Side validation with jQuery Async Controller Actions 29
  • 30. What’s NOT Covered, but Deserve Mentioning Silverlight Microsoft Entity Framework Azure Microsoft SharePoint Microsoft Office Unit Testing Toolset 30
  • 31. Resources Download Visual Studio 2010 Beta 2 Visual Studio 2010 on Channel 9 Visual Studio 2010 Quick-Hit Videos ASP.NET 4.0 Quick-Hit Videos Visual Studio 2010 and .NET Framework 4 Training Kit Extending Visual Studio 2010 My Blog My Company Website Follow me on Twitter! 31

Editor's Notes

  1. Auto-implemented properties enable you to quickly specify a property of a class without having to write code to Get and Set the property. When you write code for an auto-implemented property, the Visual Basic compiler automatically creates a private field to store the property variable in addition to creating the associated Get and Set procedures.PublicProperty Owner AsString = "DefaultName"=================================================================Collection InitializersPublicProperty Items AsNew List(OfString) From {"M", "T", "W"} =================================================================
  2. Control over generated Client-Side IDs: -- Inherit (Default) -- AutoId -- Predictable -- StaticViewState Control: -- Enabled -- Disabled -- InheritPersist selected rows in data controls: -- Now remembers selections even after navigating to the next/previous pages of data. (Property: EnablePersistedSelection)