SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Components of .NET Framework
Components of .NET FrameworkComponents of .NET Framework
Components of .NET FrameworkRoshith S Pai
 
Introduction to .NET Programming
Introduction to .NET ProgrammingIntroduction to .NET Programming
Introduction to .NET ProgrammingKarthikeyan Mkr
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet frameworkNitu Pandey
 
The .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewThe .NET Platform - A Brief Overview
The .NET Platform - A Brief OverviewCarlos Lopes
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .netpinky singh
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net frameworkThen Murugeshwari
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version Historyvoltaincx
 
.NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits .NET Framework 4.0 – Changes & Benefits
.NET Framework 4.0 – Changes & Benefits Deepika Chaudhary
 
dot net technology
dot net technologydot net technology
dot net technologyImran Khan
 
.Net framework architecture
.Net framework architecture.Net framework architecture
.Net framework architectureFad Zulkifli
 
Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clrSanSan149
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra SolutionsQUONTRASOLUTIONS
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsQUONTRASOLUTIONS
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsQuontra Solutions
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET FrameworkKamlesh Makvana
 

Was ist angesagt? (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
 

Andere mochten auch

Using MongoDB with the .Net Framework
Using MongoDB with the .Net FrameworkUsing MongoDB with the .Net Framework
Using MongoDB with the .Net FrameworkStefano Paluello
 
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.raj upadhyay
 
Using The .NET Framework
Using The .NET FrameworkUsing The .NET Framework
Using The .NET FrameworkLearnNowOnline
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net frameworkFaisal Aziz
 
.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.0ligaoren
 
Overview of .Net Framework 4.5
Overview of .Net Framework 4.5Overview of .Net Framework 4.5
Overview of .Net Framework 4.5Bhushan Mulmule
 
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.5Jeff Blankenburg
 
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 OverviewHarish Ranganathan
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework OverviewDoncho Minkov
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To DotnetSAMIR BHOGAYTA
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net frameworkArun Prasad
 

Andere mochten auch (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
 

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

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 21stWoody Pewitt
 
A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010Abram John Limpin
 
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 DevelopersDave Bost
 
Moving to Microsoft Visual Basic .NET
Moving to Microsoft Visual Basic .NETMoving to Microsoft Visual Basic .NET
Moving to Microsoft Visual Basic .NETV Sanchez
 
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 2010Adil Mughal
 
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.0Clint Edmonson
 
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 V1llangit
 
Frequently Used Off Host Developer Toolsl
Frequently Used Off Host Developer ToolslFrequently Used Off Host Developer Toolsl
Frequently Used Off Host Developer ToolslSharan S
 
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)Steve Lange
 
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 ChernQuek Lilian
 
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 UpdateAdam John
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net FrameworkNeha Singh
 
Exploring Visual Studio 2010
Exploring Visual Studio 2010Exploring Visual Studio 2010
Exploring Visual Studio 2010Sven Vanoirbeek
 
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 2021WrapPixel
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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 FresherRemote DBA Services
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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...Miguel Araújo
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Kürzlich hochgeladen (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - 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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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

Hinweis der Redaktion

  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)