Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

This is the slide deck for my "A Sneak Peek at Visual Studio 2010 and .NET Framework 4.0" presentation I gave at the CapArea.NET user group on December 15th, 2009 where we had upwards of 70 attendees.

  • Be the first to comment

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

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

    Be the first to comment

    Login to see the comments

  • codenamesantosh

    Apr. 14, 2010

This is the slide deck for my "A Sneak Peek at Visual Studio 2010 and .NET Framework 4.0" presentation I gave at the CapArea.NET user group on December 15th, 2009 where we had upwards of 70 attendees.


Total views


On Slideshare


From embeds


Number of embeds