Visual studio 2015 and .net core 5 – get ready to rumble

28
VISUAL STUDIO 2015 AND .NET CORE 5 – GET READY TO RUMBLE! Tadeusz Balcer

Transcript of Visual studio 2015 and .net core 5 – get ready to rumble

Page 1: Visual studio 2015 and .net core 5  – get ready to rumble

VISUAL STUDIO 2015 AND .NET CORE 5  – GET READY TO RUMBLE!

Tadeusz Balcer

Page 2: Visual studio 2015 and .net core 5  – get ready to rumble

Presentation Plan

1. .NET 2015

2. ASP.NET 5

3. Visual Studio 2015

Page 3: Visual studio 2015 and .net core 5  – get ready to rumble

.NET 2015

Source: http://blogs.msdn.com/b/bethmassi/archive/2015/02/25/understanding-net-2015.aspx

Page 4: Visual studio 2015 and .net core 5  – get ready to rumble

RyuJIT - The next generation JIT compiler for .NET

Source: http://blogs.msdn.com/b/dotnet/archive/2013/09/30/ryujit-the-next-generation-jit-compiler.aspx

Page 5: Visual studio 2015 and .net core 5  – get ready to rumble

NET Compiler Platform (“Roslyn”)• Available on GitHub

• Multiplatform (Windows, Linux, Mac),

• “(…) through the .NET Compiler Platform (“Roslyn”), compilers become platforms—APIs that you can use for code related tasks in your tools and applications”

• Allows changing server code on ASP.NET vNEXT (MVC 6) application like on server-side scripting languages

Page 6: Visual studio 2015 and .net core 5  – get ready to rumble

.NET Compiler Platform (“Roslyn”)

Source: https://github.com/dotnet/roslyn

Page 7: Visual studio 2015 and .net core 5  – get ready to rumble

.NET Compiler Platform (“Roslyn”)

Source: http://www.pzielinski.com/wp-content/uploads/2015/07/image4.png

Page 8: Visual studio 2015 and .net core 5  – get ready to rumble

.NET Framework 4.6• Updates to the Base Class Library

• Support for RyuJIT

• Event Tracing Enhacements

• Support for Code Page Encodings

• And Other Enhacements…

Page 9: Visual studio 2015 and .net core 5  – get ready to rumble

.NET Core 5• Is build of:

– CoreCLR (small, optimized runtime)– CoreFX (set of libraries)

• Distributed via Nuget packages

• Portable – you can package and deploy core CLR with your application so it not depend on version of .NET

Page 10: Visual studio 2015 and .net core 5  – get ready to rumble

.NET Execution Environment (DNX)• Contains the code required to bootstrap and run an

application, including the compilation system, SDK tools, and the native CLR hosts.

• Can run upon CLR, CoreCLR and Mono

• Dependency Injection through the entire stack

Page 11: Visual studio 2015 and .net core 5  – get ready to rumble

.NET Execution Environment (DNX)

Source: https://github.com/aspnet/Home/wiki/DNX-structure

Page 12: Visual studio 2015 and .net core 5  – get ready to rumble

Presentation Plan

1. .NET 2015

2. ASP.NET 5

3. Visual Studio 2015

Page 13: Visual studio 2015 and .net core 5  – get ready to rumble

ASP.NET 5

Source: http://blogs.msdn.com/b/cesardelatorre/archive/2014/11/18/what-is-net-core-5-and-asp-net-5-within-net-2015-preview.aspx

Page 14: Visual studio 2015 and .net core 5  – get ready to rumble

ASP.NET 5 • Significantly redesigned

• Open-source platform

• Develop and run on Windows, Mac or Linux

• “Pay-for-what-you-use model”

• “Refresh without rebuild”

• Open source and community focused

Page 15: Visual studio 2015 and .net core 5  – get ready to rumble

ASP.NET 5 • New light-weight and modular HTTP request

pipeline

• Ability to host on IIS or self-host in your own process

• Built on .NET Core

• Ships entirely as NuGET packages

• Every ASP.NET 5 project is a DNX project (integrated through the ASP.NET Application Hosting package)

Page 16: Visual studio 2015 and .net core 5  – get ready to rumble

Entity Framework 7• Available for Windows Phone, Windows Store,

ASP.NET 5 and traditional desktop applications

• Support for Linux and Mac machines (with Mono framework)

• Supported providers: – SQL Server– SQLite– Azure Table Storage– Redis– In Memory (for unit testing)

Page 17: Visual studio 2015 and .net core 5  – get ready to rumble

Entity Framework 7• Top level experience is staying the same

(DbContext, DbSet<TEntity>, etc.)

• Changed behavior (query supports evaluating parts of the query on the client rather than database)

• Simple, lightweight components

Page 18: Visual studio 2015 and .net core 5  – get ready to rumble

Presentation Plan

1. .NET 2015

2. ASP.NET 5

3. Visual Studio 2015

Page 19: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio 2015 and C# 6.0 – Null Conditional operator

Page 20: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio 2015 and C# 6.0 – Exception filters

Page 21: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio 2015 – smart code editor

Page 22: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio 2015 – IntellTest (Visual Studio Enterprise)

Page 23: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio 2015 – IntellTest (Visual Studio Enterprise)

Page 24: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio 2015 - CodeLens

Page 25: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio Code

Page 26: Visual studio 2015 and .net core 5  – get ready to rumble

Visual Studio Code• Available for Windows, Linux and Mac

• Intellisense

• Debugger

• GIT support

Page 28: Visual studio 2015 and .net core 5  – get ready to rumble

Questions?