+ All Categories
Home > Technology > Who Needs Visual Studio?

Who Needs Visual Studio?

Date post: 21-Jan-2018
Category:
Upload: christopher-gomez
View: 420 times
Download: 0 times
Share this document with a friend
29
Who needs Visual Studio? .NET Core on Linux Chris Gomez @SpaceShot www.chrisgomez.com [email protected]
Transcript

Who needs Visual Studio?.NET Core on Linux

Chris Gomez

@SpaceShot

www.chrisgomez.com

[email protected]

Who needs Visual Studio?.NET Core on Linux

Chris Gomez

@SpaceShot

www.chrisgomez.com

[email protected]

Chris Gomez

• First software was in BASIC on DOS 2.1

•Writing software professionally on Windows platforms since 1993

•Microsoft MVP in Visual Studio Tools and Development Technologies

• Publishing and Deployment Examples

• Contributor to the Static Void Podcast

www.staticvoidpodcast.com

Agenda

•What is .NET Core?

• Acquiring .NET Core

•Development Experience

• Publishing and Deployment Examples

What is .NET Core?

.NET Core is a new platform

• Cross platform implementation

• Windows

• Linux distributions

• Mac

• Current support for x64 CPUs

• X86 supported on Windows

• ARM64 and ARM32 in progress

What is .NET Core?

.NET Core is:

• Bias towards platform agnostic

• Console and ASP.NET models today

• Open Source

• Contribute to code or documentationhttps://github.com/dotnet

• Language Support: C# and F# now

• Visual Basic listed as future support

What is .NET Core?

Introducing .NET Standard - http://bit.ly/2pEk7bI•

We already have many “.NETs”

What is .NET Core?

.NET Core does not:

• Meld into your machine like .NET Framework

• Require in-place upgrade for every “app” running on a server

• Include .NET Core in your app

• Install side-by-side on machine

• Implement everything you remember from .NET Framework

• Example: Code Access Security, WPF, WCF

What about .NET Framework?

• .NET Framework 4.6.2 released in August 20161

• .NET Framework 4.7 released in April 20172

.NET Framework continues a framework for Windows.

1 https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-22 https://blogs.msdn.microsoft.com/dotnet/2017/04/05/announcing-the-net-framework-4-7/

What is ASP.NET Core?

• ASP.NET Core is an open source and cross platform frameworkhttps://github.com/aspnet

• ASP.NET Core MVC – Building presentation layers and Web APIshttps://docs.microsoft.com/aspnet/core/mvc

• Entity Framework Core – Cross platform data accesshttps://docs.microsoft.com/ef/core/

.NET FrameworkWindows

.NET CoreWindows, Linux, Mac

ASP.NET CoreRuns on .NET Framework / .NET Core

ASP.NETRuns on .NET Framework

Prerequisites(Options to get you going)

• Virtual Machine

• VirtualBox

• Hyper-V

• Or use your Mac

• Or use Linux on the metal

• You can do all this on Windows, too.

Prerequisites

• Nodejs and NPM

• Prerequisite for Yeoman and other NPM installable tools

• Yeoman (yo) – Scaffolding for apps

• generator-aspnet (yeoman generator)

• Info: https://github.com/omnisharp/generator-aspnet

• Bower – Client side package restore

• Yeoman uses bower: npm install –g bower

Acquiring .NET Core

http://dot.net - The Home for .NET

Acquiring .NET Core

https://www.microsoft.com/net/core

Acquiring .NET Core

“Hello World” on .NET Core

Whole Process: Three minutes

Tooling Options for Linux

• Visual Studio Code

• OmniSharp

• Bring your favorite editor: http://www.omnisharp.net/

• JetBrains Rider

• Prerequisites:Mono (mono-complete)MSBuild (msbuild)

Getting Visual Studio Code

Get the C# extension

DemoDevelopment Experience

Creating New Projects

• dotnet commandhttps://docs.microsoft.com/en-us/dotnet/articles/core/tools/dotnet

• Bring projects over from Visual Studio

• JetBrains Riderhttps://www.jetbrains.com/rider/

• Yeoman Generatorhttps://github.com/OmniSharp/generator-aspnet

Survey of Cloud Options

• Amazon Web Services

• Deploying an ASP.NET Core Application with AWS Elastic Beanstalk http://amzn.to/2oTcDCk

• Creating .NET Core AWS Lambda Projects without Visual Studiohttp://amzn.to/2qzUKEO

Survey of Cloud Options

• Google Cloud Platform

• Scott Hanselman tries GCP with ASP.NET Corehttp://bit.ly/2p45Y4m

• Google Cloud Platform Blog – Managing containerized ASP.NET Core apps with Kuberneteshttp://bit.ly/2pB9c0n

Survey of Cloud Options

• Containers

• DockerInstallation on Linux: http://dockr.ly/2p1wJFB

DemoPublishing and Creating Docker Images

Summary

• .NET Core

• Lightweight

• Less Intrusive

• Cross-Platform

• Acquiring .NET Core• Ubuntu Linux: apt-get

• Development Experience

• Visual Studio Code

• Publishing and Deployment Example

Further StudyKathleen DollardAn independent look at the arc of .NEThttps://www.youtube.com/watch?v=X9dFBt31UVw

Jon GallowayGetting the best out of ASP.NET Core in Azurehttps://www.youtube.com/watch?v=BzSAXSxytpQ

Further StudyJeff FritzAdvanced .NET Core and .NET Standard in 2017http://bit.ly/2p580Aw

Steve Lasker and Glenn CondronDeploying ASP.Net Core applications usingDocker Containershttp://bit.ly/2qs1GI2

Who needs Visual Studio?.NET Core on Linux

Chris Gomez

@SpaceShot

www.chrisgomez.com

[email protected]


Recommended