{"id":21861725,"url":"https://github.com/alertbox/vscode-remote-try-azure-functions-isolated","last_synced_at":"2026-05-05T11:34:57.989Z","repository":{"id":53924223,"uuid":"312883651","full_name":"alertbox/vscode-remote-try-azure-functions-isolated","owner":"alertbox","description":"Azure Functions (net-iso) and its prerequisites starter project template for use with VS Code Remote - Containers and GitHub Codespaces","archived":false,"fork":false,"pushed_at":"2022-08-06T10:16:43.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T20:19:25.198Z","etag":null,"topics":["azure-cli","azure-functions","azure-functions-core-tools","azure-functions-dotnet-isolated","dotnet","dotnet-core","github-codespaces","helm","kubectl","kubernates","template-project","vscode-devcontainers"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alertbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-14T19:06:25.000Z","updated_at":"2023-03-06T22:15:37.000Z","dependencies_parsed_at":"2022-08-13T04:31:04.676Z","dependency_job_id":null,"html_url":"https://github.com/alertbox/vscode-remote-try-azure-functions-isolated","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/alertbox/vscode-remote-try-azure-functions-isolated","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alertbox%2Fvscode-remote-try-azure-functions-isolated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alertbox%2Fvscode-remote-try-azure-functions-isolated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alertbox%2Fvscode-remote-try-azure-functions-isolated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alertbox%2Fvscode-remote-try-azure-functions-isolated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alertbox","download_url":"https://codeload.github.com/alertbox/vscode-remote-try-azure-functions-isolated/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alertbox%2Fvscode-remote-try-azure-functions-isolated/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266578589,"owners_count":23951146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-cli","azure-functions","azure-functions-core-tools","azure-functions-dotnet-isolated","dotnet","dotnet-core","github-codespaces","helm","kubectl","kubernates","template-project","vscode-devcontainers"],"created_at":"2024-11-28T03:12:29.498Z","updated_at":"2026-05-05T11:34:52.964Z","avatar_url":"https://github.com/alertbox.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tryout Azure Functions .NET (Isolated)\n\n[\u003cimg align=\"right\" alt=\"Azure Functions and .NET in isolated mode\" width=\"128rem\" src=\"https://raw.githubusercontent.com/Azure/azure-functions-core-tools/master/src/Azure.Functions.Cli/npm/assets/azure-functions-logo-color-raster.png\" /\u003e][az-funcs-isolated-quickstart]\n\nThis template repo serves as a flavor of quick-starter development container for use with [VS Code Remote - Containers][vscode-dev-containers-quickstart] and [GitHub Codespaces][gh-codespaces-quickstart].\n\n\u003e Originally, this dev container was created to tryout cloud native apps and services development using [Azure Functions (Isolated)][az-funcs-isolated-quickstart] and [.NET apps and services][dotnet-quickstart] without having to install locally.\n\n[az-funcs-isolated-quickstart]: https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-csharp?tabs=azure-cli%2Cisolated-process\n[vscode-dev-containers-quickstart]: https://www.youtube.com/playlist?list=PLj6YeMhvp2S5G_X6ZyMc8gfXPMFPg3O31\n[gh-codespaces-quickstart]: https://docs.github.com/en/codespaces/getting-started/quickstart\n[dotnet-quickstart]: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oUc2ShrReCS7KoBbPEONE0p\n\n\n\n### What's in it:\n\n- Azure Functions v4 and Core Tools latest binaries\n- .NET 6.0 SDK and Runtime\n- Azure CLI for publishing and managing cloud resources\n- Kubernetes and Helm CLI for container orchestration\n- [VS Code Extensions](/.devcontainer/devcontainer.json) for .NET and Azure-related work\n- [VS Code Tasks](/.vscode/tasks.json) to build, launch, and debug from source\n- [EditorConfig](/.editorconfig) for .NET and C# coding standards\n- Git and GitHub CLI for versioning\n- ZSH integrated Terminal\n- Docker CLI with Compose v2\n\n\n\n## Using This Template\n\nIf you are completely new to functions, [Awesome Functions - Isolated discussion][awesome-list-az-funcs-isolated] is a good source to start with.\n\nNext, you want to create a copy of this template. It is easy as forking. The repo is marked as a `Template` so you will only have to [Use This Template][gh-use-this] and follow the instructions.\n\n[awesome-list-az-funcs-isolated]: https://\n[gh-use-this]: https://github.com/kosalanuwan/vscode-remote-try-azure-functions/generate\n\n\n\n## Things to Try\n\nFirst, you want to ensure source code is Reopened in Container. Then you'll be able to work with it like you would locally.\n\nWith VS Code:\n\n1. In a terminal, run `func --version` to verify Azure Functions Core Tool are version 4.x.\n2. Run `dotnet --list-sdks` to verify required versions are installed.\n3. Run `az --version` to verify Azure CLI version is 2.4 or above.\n\n\n\n### Create a functions project\n\nNext, you would want to create a serverless app, say, a functions app `test-project` that response to an HTTP trigger.\n\nWith VS Code:\n\n1. Run the `func init` command to create a functions project with specific runtime.\n   ```bash\n   func init test-project \\\n             --worker-runtime dotnet-isolated \\\n             --target-framework net6.0 \\\n             \u0026\u0026 cd test-project\n   ```\n2. Add a function to the project, say, `HttpExample` with HTTP trigger.\n   ```bash\n   func new -n HttpExample \\\n            -t \"HTTP trigger\" \\\n            --authlevel \"anonymous\"\n   ```\n\n\n\n### Build and run from source\n\nVS Code is integrated with the Azure Functions Core Tools to run the functions app on the local development computer, in this case, its this dev container.\n\nWith VS Code:\n\n1. Press `F5` to start the functions app project and call the function. The terminal displays the output from the Core Tools.\n2. When the function executes locally, a notification is raised in VS Code to spin up your favorite browser.\n3. Visit https://localhost:7071/api/httpexample\n4. Press `Ctrl+C` to stop Core Tools and disconnect the debugger.\n\n\n\n[storage-emulator-connect-vscode-remote]: https://www.maneu.net/blog/use-local-storage-emulator-remote-container/\n\n\n\n### Publishing to Azure\n\nBefore publishing the functions app to Azure, you want to create supporting resources for the function.\n\n1. Create an Azure account for free, if you haven't already.\n2. Run `az login` to sign into your Azure account, if you haven't already.\n3. Create a resource group, a general pupose storage account, and a functions app in Azure.\n4. When the resources are ready, deploy the functions app to Azure.\n   ```bash\n   # Publish using Zip deployment\n   dotnet build --configuration Release\n   dotnet publish --configuration Release --output .publish\n   # az functionapp deployment source config-zip -g \u003cresource-group-name\u003e -n \u003cfunctionapp-name\u003e --src .publish/drop.zip\n   az functionapp deployment source config-zip -g az-funcs-sandbox -n vscode-remote-try-azure-functions --src .publish/drop.zip\n   ```\n\n\n\n[ci-azure-pipelines-docs]: https://docs.microsoft.com/en-us/azure/azure-functions/functions-how-to-azure-devops?tabs=csharp\n\n\n\n## Feedback\n\nIf you have any technical problems with GitHub Codespaces or dev containers, you are better off asking [VS Code Support][feedback-channels] directly, since you'll end up getting a much faster response back that way.\n\n[feedback-channels]: https://github.com/microsoft/vscode-dev-containers#contributing-and-feedback\n\n\n\n## Contributing\n\nThe official repo to contribute would be [@microsoft/vscode-dev-containers][contrib-official-repo].\n\nHave a suggestion or a bug fix? Just open a pull request or an issue. Include the development container with clear and simplest instructions possible.\n\n[contrib-official-repo]: https://github.com/microsoft/vscode-dev-containers#readme\n\n\n\n## License\n\nCopyright (c) Kosala Nuwan Perera. All rights reserved.\n\nThe source code is license under the [MIT license](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falertbox%2Fvscode-remote-try-azure-functions-isolated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falertbox%2Fvscode-remote-try-azure-functions-isolated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falertbox%2Fvscode-remote-try-azure-functions-isolated/lists"}