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

Preview:

Citation preview

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

Tadeusz Balcer

Presentation Plan

1. .NET 2015

2. ASP.NET 5

3. Visual Studio 2015

.NET 2015

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

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

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

.NET Compiler Platform (“Roslyn”)

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

.NET Compiler Platform (“Roslyn”)

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

.NET Framework 4.6• Updates to the Base Class Library

• Support for RyuJIT

• Event Tracing Enhacements

• Support for Code Page Encodings

• And Other Enhacements…

.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

.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

.NET Execution Environment (DNX)

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

Presentation Plan

1. .NET 2015

2. ASP.NET 5

3. Visual Studio 2015

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

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

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)

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)

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

Presentation Plan

1. .NET 2015

2. ASP.NET 5

3. Visual Studio 2015

Visual Studio 2015 and C# 6.0 – Null Conditional operator

Visual Studio 2015 and C# 6.0 – Exception filters

Visual Studio 2015 – smart code editor

Visual Studio 2015 – IntellTest (Visual Studio Enterprise)

Visual Studio 2015 – IntellTest (Visual Studio Enterprise)

Visual Studio 2015 - CodeLens

Visual Studio Code

Visual Studio Code• Available for Windows, Linux and Mac

• Intellisense

• Debugger

• GIT support

Questions?

Recommended