serving the solutions day and night

Pages

Showing posts with label .NET Core CLI. Show all posts
Showing posts with label .NET Core CLI. Show all posts

Sunday, August 16, 2020

ASP.NET Core Application with Docker

Create new ASP.NET Core MVC application through Visual Studio with Dockerfile.

OR Using Visual Studio Code, type "code .". Install the VSC extension named Docker by Microsoft, which help us to edit the Docker files.  

OR Create by .NET Core CLI

Create new folder c:\frontendmvc, use powershell to run the below commands

  • mkdir c:\frontendmvc
  • cd c:\frontendmvc
  • dotnet new mvc 
  • dotnet run