Skip to main content

Command Palette for VSCode BACKND Function

When using Visual Studio Code as a development tool, after installing BackendFunctionExtension, you can use the Command Palette(shortcut F1, or Ctrl + Shift + P) to use commands related to configuration, build, and deployment.

For normal operation, the BACKND Function development tool must be installed.
If the project path includes spaces, commands may not work properly.

Available commands are as follows:

CommandDescription
BackendFunction: CreateCreate a new folder by specifying a folder and install the template inside
BackendFunction: ConfigOpen the config.json used for building and deployment.
BackendFunction: Build Current ProjectBuild using BackendFunction.csproj of the current project.
BackendFunction: Build by config.jsonBuild using the information stored in config.json.
BackendFunction: DeployDesignate the built file(package.zip) and manually set the function name to be registered and deploy it.
BackendFunction: Deploy by config.json with FuntionNameManually set and deploy the project information registered in config.json and the function name to be registered.
BackendFunction: Deploy by config.jsonDeploy using information registered in config.json.
BackendFunction: DeleteEnter the method name to remove the method deployed in BACKND.

Call commands

  1. Install the BACKND development tool and the BackendFunction extension from the marketplace in vscode.
  2. Press F1 or Ctrl + Shift + P to open the Command Palette.
  3. Enter commands into the Command Palette.
  4. Then check the result through the integrated terminal within vscode.

Create

>BackendFunction: Create

Create a new folder by specifying a folder and install the template inside that folder.
A new vscode window will open for that project.

Configure Config.Json

BackendFunction: Config

Open the config.json used for building and deployment.

Build

>BackendFunction: Build Current Project

Build using BackendFunction.csproj of the current project.
The built project is created as publish.zip in the working folder/bin/Release/netcoreapp2.1 or netcoreapp3.1/linux-x64/ folder.
After that, you can deploy it by specifying the corresponding zip.

>BackendFunction: Build by config.json

Build using the information stored in config.json.
The command BackendFunction: Config allows you to modify the config.json to be used in the build.

Deploy

>BackendFunction: Deploy

Designate the built file(package.zip) and manually set the function name to be registered in BACKND and deploy it.


  1. Specify the built file. The path is most likely /bin/Release/netcoreapp2.1/linux-x64/publish.zip.

  1. Enter the FunctionName to be registered in BACKND in the input window.

  1. Check the information you wish to deploy in the integrated terminal and press y/n to proceed.

>BackendFunction: Deploy by config.json with FuntionName

Manually set and deploy the function name to be registered in BACKND. The build file is deployed as a file in the path set in config.json.


  1. Enter the FunctionName to be registered in BACKND in the input window.

  1. Check the information you wish to deploy in the integrated terminal and press y/n to proceed.

>BackendFunction: Deploy by config.json

Deploy using the information stored in config.json.
The command BackendFunction: Config allows you to modify the config.json to be used in the build.


  1. Check the information you wish to deploy in the integrated terminal and press y/n to proceed.

Delete

>BackendFunction: Delete

Enter the method name to remove the method deployed in BACKND.