Introduction to .NET Core Microsoft Virtual Academy Header Introduction to .NET Core Kevin Jones Produced by
Introduction .Net Core is the new cross platform version of .Net from Microsoft Has a set of command line tools … … and is supported by Visual Studio
What we will cover Installation Command Line Tools Unit Testing Using Visual Studio Mixing .Net Core with other .Net projects
What we will cover Installation Command Line Tools Unit Testing Using Visual Studio Mixing .Net Core with other .Net projects
Installing on Windows A new set of command line tools for Windows, Mac OSX and various flavors of Linux Windows installation into Visual Studio 2015 Update 3 and .NET Core 1.0.0 - VS 2015 Tooling Preview 2 At the time of recording
Install on Linux Different for different versions (we’ll use Ubuntu 16.04) Setup the correct repository Run apt-get to get the packages
Use this slide type before code demonstrations
Windows Failed Installation Setup Failed One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file. Setup has detected that Visual Studio 2015 Update 3 may not be completely installed. Please repair Visual Studio 2015 Update 3, then install this product again.
What we will cover Installation Command Line Tools Unit Testing Using Visual Studio Mixing .Net Core with other .Net projects
.Net Core comes with a set of Command Line Tools Tools to generate, build and run applications Use the ‘dotnet’ tool to create and run applications Generates a project.json file Contains project references and application details
Build a Simple App Build a library Build a program to use the library
Use this slide type before code demonstrations
What we will cover Installation Command Line Tools Unit Testing Using Visual Studio Mixing .Net Core with other .Net projects
Unit Testing We can add unit test projects to .Net core We will use xUnit to test the library
Use this slide type before code demonstrations
What we will cover Installation Command Line Tools Unit testing Using Visual Studio Mixing .Net Core with other .Net projects
Visual Studio Supports .Net Core Need VS2015 Update 3 (at least) Can open json project files Can build and run the code Can run unit tests
Use this slide type before code demonstrations
What we will cover Installation Command Line Tools Unit testing Using Visual Studio Mixing .Net Core with other .Net projects
Using Other Project Types Can mix and match other .Net projects with .Net core
Use this slide type before code demonstrations
Summary .Net Core is cross platform Same toolset across Windows, OSX and various flavours of Linux Tooling supports multi project applications Tooling supports unit testing projects Can load projects into Visual Studio Can mix .Net core projects with .Net projects
An Introduction to .Net Core Kevin Jones @kevinrjones