visual studio 2015 and .net core 5 – get ready to rumble
TRANSCRIPT
![Page 1: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/3.jpg)
.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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/6.jpg)
.NET Compiler Platform (“Roslyn”)
Source: https://github.com/dotnet/roslyn
![Page 7: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/7.jpg)
.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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/8.jpg)
.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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/9.jpg)
.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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/10.jpg)
.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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/11.jpg)
.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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/14.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/16.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/17.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/18.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/19.jpg)
Visual Studio 2015 and C# 6.0 – Null Conditional operator
![Page 20: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/20.jpg)
Visual Studio 2015 and C# 6.0 – Exception filters
![Page 21: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/21.jpg)
Visual Studio 2015 – smart code editor
![Page 22: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/22.jpg)
Visual Studio 2015 – IntellTest (Visual Studio Enterprise)
![Page 23: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/23.jpg)
Visual Studio 2015 – IntellTest (Visual Studio Enterprise)
![Page 24: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/24.jpg)
Visual Studio 2015 - CodeLens
![Page 25: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/25.jpg)
Visual Studio Code
![Page 26: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/26.jpg)
Visual Studio Code• Available for Windows, Linux and Mac
• Intellisense
• Debugger
• GIT support
![Page 27: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/27.jpg)
Useful links:• https://github.com/dotnet/core
• http://www.asp.net/vnext
• https://github.com/aspnet/home
• http://blogs.msdn.com/b/cesardelatorre/archive/2014/11/18/what-is-net-core-5-and-asp-net-5-within-net-2015-preview.aspx
• http://docs.asp.net/en/latest/
![Page 28: Visual studio 2015 and .net core 5 – get ready to rumble](https://reader036.vdocuments.net/reader036/viewer/2022062522/58799e591a28ab082c8b51c3/html5/thumbnails/28.jpg)
Questions?