In this post we’ll take a look at installing ASP.NET core and Visual Studio code on Linux Mint.
1. Installing .NET CORE
To install .NET Core I downloaded the X64 Binary and ran these commands in a console:
After that to verify the installation you can type dotnet
:
2. Install Visual Studio Code
Go to https://code.visualstudio.com/ and select the .deb package for installation.
After installing the package Visual Studio code will show up in the menu:
3. Install the C# Extension
Click on the extensions icon to the left and search for C#
. Then click install.
4. Creating an ASP.NET Core Project
Now its time to create an ASP.NET MVC project from the terminal. These commands are copied from the Microsoft documentation
This creates a new mvc project in a folder called MvcMovie.
We can use the command line to open the newly created project in VS Code:
And to run the application run: