Get started with VS Code using C# and .NET Core on Ubuntu

Sign in to queue

Description

This is a quick tutorial for getting started with C# in VS Code on Ubuntu 14.04 with .NET Core!

Embed

Download

Download this episode

The Discussion

  • User profile image
    Sharath C V

    This is awesome!

  • User profile image
    Damon A

    Great video :)

  • User profile image
    Defstun

    Great video! 

    When referring to your choice of distro.

    "if anyone is rustled by this you can comment below and tell me everything I am doing wrong in my life"

    Nearly spat my coffee over my laptop!

  • User profile image
    Federico Di Gregorio

    Great, but wouldn't be nice to have dotnet core run on a modern linux? Say Ubuntu 16.4 with a modern kernel or a Debian? Only that it crashes... :/

  • User profile image
    KelsonJBall

    Thanks! This is fantastic!

  • User profile image
    EliSantana

    Those puns gave me cancer :(

  • User profile image
    Virtual​Insanity

    Wow, finally. A few more missing pieces though for this to work on my needs A full version SQL Server and an IIS Server for Linux (No Mono and Preview please.) :P

  • User profile image
    rob_fulwell

    Funny stuff! Good work!

  • User profile image
    DarkoL

    Straight to the point. Awesome :)

  • User profile image
    FrankLaVigne

    I never thought I'd watch a video on Linux and laugh out loud. :)

  • User profile image
    trust

    Work with Ubuntu to get .Net Core and VS Code pre-installed in the next Ubuntu Release. like Python

  • User profile image
    reckface

    I'm crying :D

    But wow, in spite of the punishing puns, that was incredibly straightforward.

  • User profile image
    tarzr

    Good teacher

  • User profile image
    Prorok213

    One thing I would mention to the users running a Linux Distro like Ubuntu 14.04 32-Bit is that the Visual Studio Code DOES install on a 32-Bit LINUX OS but the .NET CORE SDK only runs x64.deb :( Bummer for me.

  • User profile image
    Evaldo Araujo

    Yes!!! Very nice.

  • User profile image
    AndyPT

    Ahahaha! Great video. All the right information, yet not boring at all. ;)

  • User profile image
    roman

    Super! Thank you ))

  • User profile image
    Dmitriy

    What about ARM architecture?

  • User profile image
    SilentRobot

    Nice Thank you very much.:)

  • User profile image
    mabbs

    These short howto vids are a lifesaver for dev shops tackling different platforms. Loved the Kendra Treatment®

  • User profile image
    Pikkuteemu

    U good !

  • User profile image
    kendrahavens

    @mabbs:"Kendra Treatment®" ROFL!

     

    Thanks everyone for the positive feedback! <3

  • User profile image
    eric hexter

    you are crazy, it the best way possible.. great stuff here!!!!

  • User profile image
    win

    I'll be waiting for some more tutorials on ch9 hope that its free too. thank so much kendra!

  • User profile image
    Afdhal Atiff Tan

    Any plan for featuring Python on VS Code?

  • User profile image
    duds 1993

    thanks a lot ^_^

  • User profile image
    Larry Tindell

    PLS Note that for Ubuntu 16.10 (vs. 16.04) there is, as
    Expected, a different 'sources list' for 'apt-get' BUT
    . . . The same .Net core " PREVIEW 2 " is then installed.
    . . .
    . . . Is a new "Preview 3 " for Linux anticipated soon ?
    . . .
    Also, I will later test under Mint (same .Net core as Ubuntu)
    . . . [ NO " DE-Minted " Puns / ' Punishment ', Please :) ]

  • User profile image
    Peter

    Super cool!

  • User profile image
    Frederick

    great vid. not sure about the puns. :p

  • User profile image
    ManWith​Camera

    Thank you for providing these tutorials and for making it fun!

  • User profile image
    Marc Cuban

    Puntastic!!!

  • User profile image
    NexWebSites

    Great introductory tutorial. Very cute.  

  • User profile image
    Amivit

    Ubuntu, really? Why aren't you compiling Arch from source? What are you doing with your life!? :)

  • User profile image
    halan

    ...err ... I do actually compile stuff on Arch from source.

    I still enjoyed the video though.

  • User profile image
    Matthew

    Could anybody share the `launch.json` config? I don't get the automatic setup for .NET core configurations, despite everything else with this working. When trying to 'Add configuration' in `launch.json`, I get a list of suggestions, but .NET core is not one of them. Thanks!

  • User profile image
    supr

    Great micro-tutorial - funny, succinct!  You will go a long way.  Thanks.

  • User profile image
    padev

    Thank you Kendra! You're awesome! <3

  • User profile image
    lucaskuatt

    @kendrahavens:beautiful very beautiful

  • User profile image
    Naughtylus

    @kendrahavens: Hey great video, but IMO you should never show yourself copying and pasting commands in a tutorial, or at least you should explain what they do (especially if it's also intended for users who are new to linux).

    It's funny but the major security threat for a company is actually it's very own employees. If you don't teach people to be mindful when they copy/paste commands (especially those that involve sudo) the day will come when they open a door for an intruder without even realising.


    PS: Yes, I admit it : this is only because the video has yet to have some negative feedback. I was itching. I couldn't help myself. I'm not sorry.

  • User profile image
    Etani

    I just saw the video because of Kendra.

  • User profile image
    Thanks ForVideo

    Great video, informative, creative and well humored. Also it helps that you are extensively easy on the eyes. ;)

  • User profile image
    Genysis78

    Hi, I've followed the steps in this video and have reached the point where I have installed .NET Core, VSCode, set up a project folder in my Documents folder and opened said project folder in VS Code. Now, when I open the terminal and type dot net new it does not populate the project folder with a .cs and .json files, it just lists the options for dot net new... Any ideas?

  • User profile image
    kendrahavens

    @Genysis78: You need to use one of the project types in when you type `dotnet new` now. Before it defaulted to the console project type. The new command is `dotnet new console` since we updated the cli to initialize a console project. Further Reading

  • User profile image
    cycsky

    Nice girl, Thank you!

  • User profile image
    Charlie

    PERSONALITY! Fun to watch and helpful. Thanks.

  • User profile image
    edu

    marry me? lol
    funny video ! haha love it !

  • User profile image
    Wilberth

    Thanks!!!

    Is Mono recommended or only .net core works??

    Blessings

    XOXO

  • User profile image
    kendrahavens

    @Wilberth: Mono can cover certain scenarios such as wanting to use the full .NET Framework cross-platform. I'm not sure if anyone in the community has made an extension so that you can actually debug with it in VS Code and set breakpoints. For brand new projects I highly recommend .NET Core because we are actively making awesome tooling experiences focused on .NET Core development. (Like good templates, cool demos, active support communities, and all the cool features in Visual Studio Code, Visual Studio for Mac, and, of course, Visual Studio.)

Add Your 2 Cents