
上QQ阅读APP看书,第一时间看更新
How to do it...
After installing .NET Core on Linux, creating a new project is easy.
Let's start creating a new project:
- Run dotnet new mvc from the command line. This command will create a new ASP.NET Core MVC project with the same name as the containing folder. If we want to give a different name to the project, -n PROJECTNAME switch should be added
- Next, we need to run dotnet restore in the project folder. Most IDEs run dotnet restore in the background for us, such as Visual Studio and Visual Studio Code