1 / 19

A Lap Around Visual Studio 2010 for the Visual Basic Developer

A Lap Around Visual Studio 2010 for the Visual Basic Developer. Lisa Feigenbaum Program Manager Microsoft Corporation http://blogs.msdn.com/lisa. A Lap Around VS 2010 for the VB Dev. Session Objectives Discover what’s available See how to take advantage of new features Agenda

brier
Télécharger la présentation

A Lap Around Visual Studio 2010 for the Visual Basic Developer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Lap Around Visual Studio 2010 for the Visual Basic Developer Lisa Feigenbaum Program Manager Microsoft Corporation http://blogs.msdn.com/lisa

  2. A Lap Around VS 2010 for the VB Dev • Session Objectives • Discover what’s available • See how to take advantage of new features • Agenda • New Editor & Shell • VB IDE • VB Language • VS 2010 & .NET 4 Highlights

  3. New Editor & Shell • WPF User Interface • New Look, Rich Experience • Start Page • Remove or pin projects, View directory, Customize • Editor • Zoom, Multi-Monitor, Block selection, Outlining • Extensibility • Visual Studio Gallery, Extension Manager

  4. Code-Focused VB IDE • Understanding • Highlight References • Type Colorization • Navigating • Navigate To: Files & Members, Ctrl+, • Writing & Testing • IntelliSense: Non-aggressive, Substring,PascalCase • Generate From Usage: Type, Method, Property

  5. VB Language • Syntax Enhancements • Multiline Statement Lambdas • Auto-implemented Properties • Collection Initializers • Array Literals • Implicit Line Continuation • Co/contravariance • Office Deployment: No PIA • Dynamic Language Interop on the DLR

  6. Dynamic Versus Static

  7. Open Source versus Commercial

  8. Dynamic Languages On .NET IronPython IronRuby C# VB.NET Others… Dynamic Language Runtime Expression Trees Dynamic Dispatch Call Site Caching ObjectBinder JavaScriptBinder PythonBinder RubyBinder COMBinder

  9. VB 10, C# 4.0 And Dynamic Visual C# Visual Basic DimcalcAs Calculator = GetCalculator() Dimsum As Integer = calc.Add(10, 20) Calculator calc = GetCalculator(); int sum = calc.Add(10, 20); DimcalcAs Object = GetCalculator() Dimsum As Integer = calc.Add(10, 20) object calc = GetCalculator(); TypecalcType = calc.GetType(); object res = calcType.InvokeMember("Add", BindingFlags.InvokeMethod, null, newobject[] { 10, 20 }); int sum = Convert.ToInt32(res); Static binding Binding to ScriptObjects (JavaScript) DimcalcAsScriptObject = GetCalculator() Dimres As Object= calc.Invoke("Add", 10, 20) Dim sum As Integer = Convert.ToInt32(res) Dynamic binding (pre-VS 2010) ScriptObject calc = GetCalculator(); object res = calc.Invoke("Add", 10, 20); int sum = Convert.ToInt32(res); Statically typed to be dynamic dynamic calc = GetCalculator(); int sum = calc.Add(10, 20); DimcalcAs Object = GetCalculator() Dimsum As Integer = calc.Add(10, 20) Dynamic method invocation Dynamic conversion Dynamic conversion Dynamic method invocation

  10. VB & C# 2010 Language New in VS 2010 Already exists in VS 2008

  11. VB & C# 2010 IDE New in VS 2010 Already exists in VS 2008

  12. VS 2010 / .NET 4 Highlights • DGML Graphs • WPF Drag & Drop • IntelliTrace • Parallel Extensions • New Editor & Shell

  13. Summary • What We’ve Seen • New Editor & Shell • VB IDE • VB Language • VS 2010 & .NET 4 Highlights • Call to Action • Download Beta2 • Use the resources and try it out • Tell us your feedback

  14. Resources Visual Basic Developer Centerhttp://msdn.com/vbasic VB 2010 Resourceshttp://msdn.microsoft.com/en-us/vbasic/dd819153.aspx Blogshttp://blogs.msdn.com/vbteam (VB Team) http://blogs.msdn.com/lisa (Lisa) Visual Basic Forumshttp://forums.msdn.microsoft.com/en-US/tag/visualbasic/forums/ Connecthttps://connect.microsoft.com/VisualStudio

  15. VB 2010 Resources

  16. question & answer

  17. http://blogs.msdn.com/lisaLisa.Feigenbaum@microsoft.com THANK YOU!

More Related