.NET Docker Development with Visual Studio 2017

Download this episode

Download Video

Description

Develop .NET Framework Apps with Windows Server Core Containers and .NET Core with Linux Containers with the productivity you'd expect from Visual Studio, while maintaining the native Docker experience.

Get started today by downloading Visual Studio 2017, visit: http://www.visualstudio.com/vs/whatsnew

For more information, check out these courses on Microsoft Virtual Academy:

Day:

0

Session Type:

Pre-recorded

Code:

T111

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      BobTabor

      Brilliant!  Any chance we can look at the entire Magic 8 Ball solution incl. the Docker project to dissect and ruminate on it?  Thanks!

    • User profile image
      SteveLas

      Hi Bob,

      Yes, the sample is located here: https://github.com/SteveLasker/AspNetCoreMultiProject

      Happy coding...

    • User profile image
      dderman

      This is amazing!!!  One question though...  Let's say I have a database on my local pc.  How do I give my API, running in a container, access to it?

    • User profile image
      dderman

      I think I figured out my own answer.  I just opened up my firewall to port 1433 (sql port).  Then I access it in the container using the ip address 10.0.75.1.  Can anyone confirm if that is the right way to do it?

    • User profile image
      NathanAlard

      Docker Support Freakin Fantastic!!!

    • User profile image
      suensky

      @dderman:Yes, it's one of the approaches. You can also host your database in a container and make the web api talk to the database hosted in another container.

    • User profile image
      rboban

       Hi,

      I don't have that option in my VS 2017 Enterprise (15.0.26228.9). I cannot find it in Visual Studio Installer too.

      Regards,
      Robert

       

    • User profile image
      lef

      I think I figured out my own answer.  I just opened up my firewall to port 1433 (sql port).  Then I access it in the container using the ip address 10.0.75.1.  Can anyone confirm if that is the right way to do it?

      Hi @dderman: I've tried to do the same, but it's still not working for me. How did you figure out the IP address? Could mine be different? and did you specify the ports 1433:1433 in compose file?

    • User profile image
      Andy

      Awesome!
      Seemless integration with docker.
      very cool indeed..
      Tks

    • User profile image
      Joe Hoeller

      In case anyone is having issues running .NET Core v1.1.1 inside a Docker Container, and then deploying to a Linux Server, I made this tut:

      https://www.linkedin.com/pulse/net-core-v111-docker-container-linux-tutorial-joe-hoeller-?published=t

    • User profile image
      Joe Hoeller

      Typo in URL above, Correction:

      https://www.linkedin.com/pulse/net-core-v111-docker-container-linux-tutorial-joe-hoeller--1

    Add Your 2 Cents