Skip to content

michaelpeng36/ps-functions-v2-programming-model-extensions

Repository files navigation

Azure Functions PowerShell New Programming Model (extensions.csproj)

This repository contains skeleton code for Azure PowerShell Functions in the V2 programming model.


Installation Instructions

  1. Install the Azure Functions Core Tools private build for your corresponding OS and architecture:
  2. (Optional) Install Azurite for storage emulation:
    • Example:
      npm install -g azurite
      
  3. Clone this repository and cd into the function app root directory:
    git clone https://github.com/michaelpeng36/ps-functions-v2-programming-model-extensions.git
    cd ps-functions-v2-programming-model-bundles
    
  1. Run the verification script: if it runs without issue, you should be all set to start local development. Otherwise, it should indicate what component of your setup is incorrect.
  2. If you are using storage emulation, run the below command in a separate PowerShell window to start storage emulation:
    azurite
    
    Otherwise, ensure that the appropriate KeyVault reference or connection string is set in the AzureWebJobsStorage property of host.json.
  3. Install the extensions specified in the extensions.csproj file:
    func extensions install
    
  4. Start Core Tools to begin local development:
    func start
    
    There should be one HTTP function pre-written for you called HttpTrigger1.
  5. Continue writing your other functions in the V2 programming model!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published