Presentation is loading. Please wait.

Presentation is loading. Please wait.

C# and VB code-focused development with Visual Studio

Similar presentations


Presentation on theme: "C# and VB code-focused development with Visual Studio"— Presentation transcript:

1 C# and VB code-focused development with Visual Studio
Microsoft 2016 1/26/2018 6:15 AM BRK3195 C# and VB code-focused development with Visual Studio Kasey Uhlenhuth Program Manager © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Agenda Intro Visual Studio 2015 “Roslyn” Productivity Languages
1/26/2018 6:15 AM Agenda Intro Visual Studio 2015 “Roslyn” Productivity Languages Foundation: performance, reliability © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Visual Studio 2015 Microsoft 2016 1/26/2018 6:15 AM
© 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Roslyn Write new features faster Provide open source API

5 1/26/2018 6:15 AM Exploring the power of Roslyn in Visual Studio 2015 & Visual Studio ‘15’ © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 1/26/2018 6:15 AM Exploring the power of Roslyn in Visual Studio 2015 & Visual Studio Next © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Productivity Refactoring support Navigation/search Style enforcement
Microsoft 2016 1/26/2018 6:15 AM Productivity Refactoring support Navigation/search Style enforcement Better IntelliSense Testing © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Productivity Demo 1/26/2018 6:15 AM
© 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Productivity Takeaways
In-the-box refactorings Enhanced navigation Smarter IntelliSense Configurable code style Custom analyzers

10 Visual Studio “Next” Visual Studio 2015 C#6.0 & VB14 C#7.0 & VB15
Microsoft 2016 1/26/2018 6:15 AM C#6.0 & VB14 Go To Implementation Refactorings/Code Actions Extract method, inline temporary variable, introduce local, change method signature, remove unnecessary usings/Imports make method synchronous adding using/Import from reference assembly add using/Import for types in NuGet fuzzy matching delegate simplifier convert method to property C# Interactive Baseline Diagnostics Solution-wide analysis toggle/perf improvements FX Cop rules as analyzers (via NuGet) C#7.0 & VB15 “Go To” redesign Suggestion severity Refactorings/Code Actions move type to matching file add missing switch case convert property to method use string interpolation add braces IntelliSense Improvements highlighting/filtering target type preselection Code Style prefer var/explicit type, etc. naming conventions basic .editorconfig support Visual Studio 2015 Visual Studio “Next” © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 C# 6.0 & Visual Basic 14 String interpolation
Microsoft 2016 1/26/2018 6:15 AM C# 6.0 & Visual Basic 14 String interpolation Expression-bodied members Null-conditional operator Nameof expressions Using static © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 1/26/2018 6:15 AM Language Demo © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 C# 7.0 & Visual Basic 15 Tuples Pattern matching Local functions
Microsoft 2016 1/26/2018 6:15 AM C# 7.0 & Visual Basic 15 Tuples Pattern matching Local functions Ref returns ValueTask<T> © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Tuples Return multiple values from a method

15 Pattern matching Functions can operate over plain old data

16 Local functions Improve code organization & unclutter IntelliSense

17 1/26/2018 6:15 AM Language Demo © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 C# 7.0 & Visual Basic 15 Tuples Pattern matching Local functions
Microsoft 2016 1/26/2018 6:15 AM C# 7.0 & Visual Basic 15 Tuples Pattern matching Local functions Ref returns ValueTask<T> © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 C# 7.0 & Visual Basic 15 Tuples Pattern matching Local functions
Microsoft 2016 1/26/2018 6:15 AM C# 7.0 & Visual Basic 15 Tuples Pattern matching Local functions Ref returns ValueTask<T> © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Performance on large solutions
Microsoft 2016 1/26/2018 6:15 AM Performance on large solutions Performance is the biggest issue. It takes an actual minute or so to start VS. Similarly loading projects can be painfully slow. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Full Solution Analysis
1/26/2018 6:15 AM Full Solution Analysis © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 1/26/2018 6:15 AM CodeLens © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Out-of-process Visual Studio Next
1/26/2018 6:15 AM Out-of-process Visual Studio Next © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Deferred Project Load Visual Studio Next
1/26/2018 6:15 AM Deferred Project Load Visual Studio Next © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 Performance Recap Out-of-process Deferred Project load
1/26/2018 6:15 AM Performance Recap Out-of-process Deferred Project load More performance tips for large solutions at © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

26 Takeaways Visual Studio 2015 + “Roslyn” Productivity boosts
1/26/2018 6:15 AM Takeaways Visual Studio “Roslyn” Productivity boosts New Language features Foundation: performance, reliability © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 Related Sessions Unlock the essential toolbox for production debugging of .NET Web Applications Ido Flatow Maximize web development productivity with Visual Studio Mads Kristensen Learn debugging tips and tricks for .NET Developers Kaycee  Anderson Learn Microsoft Visual Studio tips & tricks - part 1 & 2

28 Resources GitHub Repo: http://roslyn.io
Microsoft 2016 1/26/2018 6:15 AM Resources GitHub Repo: Performance tips: Roslyn Twitter: C# Interactive Walkthrough: Writing Custom Analyzers: © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 Free IT Pro resources To advance your career in cloud technology
Microsoft Ignite 2016 1/26/2018 6:15 AM Free IT Pro resources To advance your career in cloud technology Plan your career path Cloud role mapping Expert advice on skills needed Self-paced curriculum by cloud role $300 Azure credits and extended trials Pluralsight 3 month subscription (10 courses) Phone support incident Weekly short videos and insights from Microsoft’s leaders and engineers Connect with community of peers and Microsoft experts Microsoft IT Pro Career Center Get started with Azure Microsoft IT Pro Cloud Essentials Demos and how-to videos Microsoft Mechanics Connect with peers and experts Microsoft Tech Community © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

30 Please evaluate this session
1/26/2018 6:15 AM Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 1/26/2018 6:15 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "C# and VB code-focused development with Visual Studio"

Similar presentations


Ads by Google