Last active
August 18, 2020 11:07
-
-
Save acerzhou/00e20a6a4d6abf6f0f28932af52e92ce to your computer and use it in GitHub Desktop.
[DotNet Core CLI] some useful dotnet core cli #dotnetcore #cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installation | |
sudo apt-get update | |
sudo apt-get install azure-functions-core-tools-3 | |
# create function app | |
func init LocalFunctionProj --dotnet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create an new console app in current folder | |
dotnet new console --name <project_name> --output . | |
# Add Nuget package | |
dotnet add package <package_name> --verion <specific_version> | |
# Build proejct | |
dotnet build | |
# Create an WebApi in current folder | |
dotnet new webapi --output . --name <name> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment