Episode

Get Started with Visual Studio 2015 and .NET Core

This is a quick tutorial for getting set up with Visual Studio and .NET Core.

-----------

Transcript

Hello, this is a video tutorial for

getting set up with Visual Studio

and .NET Core to write cross

platform apps, let's get started.

First, go to your browser and

search .NET Core.

The .NET Core download page will

be one of the first results.

It's Microsoft.com/net/core.

I'm going to first take you

through downloading Visual Studio,

don't worry I'll speed it

up with movie magic, and

you guys should totally

take the survey.

I'm not going to because

everyone would steal my answers.

Go ahead and

click on the .exe and click Run.

So Visual Studio and Visual

Studio Code are very different.

While Visual Studio Code is

a lightweight cross-platform

source code editor, and

I'll select the default settings.

Visual Studio is the integrated

development environment,

the mothership, the fully

featured developer experience for

C sharp, visual basic and F sharp.

So the visual studio

install is finished.

Now let's download .NET Core.

Go back to the install page and

click on .NET Core tools install.

I'll fast forward through this one,

too, even though it is super fast.

And don't forget to read

through the license agreement,

because somebody takes

the time to write those.

All right, now let's start our first

.NET Core project in Visual Studio.

So go ahead and

launch Visual Studio.

And I'm gonna go

with the blue theme.

Now, click on New Project

on the Start page.

And I'll select .NET Core

under the C# drop-down.

And I'll make a console application,

And

wait for it to start up, okay.

There we go.

Now who wants to see Kendra

fail editing videos?

Wait for it.

There it is.

Anyway, I'm going to make

a console app that prints,

it's a brave new

cross-platform world.

And I'll add a Console.ReadLine.

And I'll run it. Cool.

So that's what it looks like

on Windows.

Now I'm actually running Windows

on an image in parallels.

So let's see that same DLL file that

I just generated execute on my Mac.

All I need to do is navigate to

my DLL in my shared folder and

type dotnet consoleapp1.dll,

cuz that's final name it generated.

So that's the dll file that made

with Visual Studio on Windows that

can run cross platform.

I swear there are some people

watching this video who just

went, that's what .NET Core does!

That's fantastic!

This is for those people.

Thanks for watching.

Windows
C#