GithubHelp home page GithubHelp logo

vscode-node-azure-pack's Introduction

Azure Tools for Visual Studio Code

Microsoft Azure support for Visual Studio Code is provided through a rich set of extensions that make it easy to discover and interact with the cloud services that power your applications.

Azure Explorer in VS Code

If you do not have an Azure subscription, sign up today for a free account. You'll get 12 months of popular free services, $200 in Azure Credits to try out any combination of Azure services, and access to 25+ always free services such as Azure Container Service, DevTest Labs, and Service Fabric.

Azure Services

  • Host your Single Page and Serverless Web Apps (SPA & Jamstack) using Azure Static Web Apps. Connect your GitHub repo to publish your apps directly to Azure and seamlessly add serverless backends powered by Azure Functions.

  • Host your full stack web sites and APIs using App Service, Azure's fully-managed Platform as a Service (PaaS) that let's you deploy and scale web, mobile, and API apps. The Azure App Service extension lets you quickly create sites, deploy them, view logs, and even set environment variables (such as a Connection String), right from within VS Code. For more information, see the App Service Walkthrough.

  • If you are using MongoDB you can seamlessly store and retrieve your data using Databases, Azure's globally distributed database service. Cosmos DB is "multi-model", meaning it supports a variety of common database APIs such as MongoDB, Graph, SQL, and Apache Cassandra. If your application already uses one of these database services, you can take advantage of CosmosDB's low latency and global scalability without changing a line of code. VS Code's Cosmos DB support lets you create and manage databases as well as write MongoDB command scripts in a scrapbook, with rich completions (IntelliSense) just as if you were writing JavaScript, Python, or C#.

  • "Serverless computing" is done using Functions, Azure's event driven, compute on demand service. You focus on writing the code and Azure will managed the infrastructure. The Functions support in VS Code lets you quickly browse, create, manage, deploy, and even debug functions locally. For more information, please see the Functions Walkthrough.

  • Have a static site you want to host? You can use Azure Static Web Apps to host your site quickly and inexpensively. Accelerate your app development with managed global availability for static content hosting and dynamic scale for integrated serverless APIs. Experience high productivity with a tailored local development experience, CI/CD workflows to build and deploy your app, and unified hosting and management in the cloud. For more information, please see the Azure Static Web Apps Quickstart.

  • Manage your Virtual Machines in VS Code. Use the Azure Virtual Machines extension to quickly create Virtual Machines with pre-configured SSH access. Use your VMs for deploying apps or connect to them directly using the Remote-SSH extension.

  • View all of your Azure Resources Groups and quickly navigate to them in the Azure View with the Azure Resource Groups extension.

Azure Developer CLI

Use the Azure Developer CLI extension to create complete applications from templates then create the infrastructure and deploy the app in just a few simple commands.

Installation

Intalling the Azure Tools installs all of the extensions listed above. Some of these extensions will also install the Azure Account extension which provides a single Azure login and subscription filtering experience.

You can easily uninstall individual extensions if you are not interested in using them, without affecting other extensions provided by this pack. You can uninstall all of the extensions by uninstalling the Azure Tools extension.

Sign In

To sign in to your Azure Account, simply press F1 and type in Azure: Sign in (or click on the Sign in to Azure... node in the Explorer).

Sign in to Azure through the Command Palette

Note: You may be prompted for access to your computer's secure credential storage service (e.g. Keychain Access on MacOS or Windows Credential Manager) so you don't need to sign in every time you start VS Code.

Azure Explorer

Once signed in, you can access your Azure resources through the Azure Resource Explorer. If you have not signed into Azure yet, or if you don't have an Azure subscription, you can click on the approriate links. Use the Workspace explorer for commands related to your code such as deploying and creating new Azure-specific projects.

Command Palette

You can access almost all Azure Services provided by these extensions through the Command Palette. Simply press F1, then type in Azure to find the available commands.

Command Palette searching for the term Azure

Docker commands can be found in the Command Palette in the same way, by pressing F1 and then typing in Docker.

Contributing

Got a suggestion for the Azure Tools extension? Submit a new issue and a PR with an updated package.json and README.md and we'll take a look!

Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

MIT

vscode-node-azure-pack's People

Contributors

alexweininger avatar bradygaster avatar bwateratmsft avatar chrisdias avatar fiveisprime avatar formulahendry avatar marcusfelling avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar nturinski avatar pjmeyer avatar vicenteherrera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-node-azure-pack's Issues

"Connect to Host" via it's private vlan address, not public address

Version | 1.0.0

Is it possible (if not this is a feature request) to connect to a VM listed under the Resources via it's private ip address (e.g. the one on the vnet) rather than the public.

I'm setting up a bunch of VMs in a closed off vnet (only accessible via a vpn connector on that vnet). The VMs do not have a public ip (disassociated) or at least will have port 22 inaccessible

Deployment App Service fails with "The request was aborted"

Extension version: 1.0.0

Every time I try to deploy to an Azure App Service, I get the error: "The request was aborted"

16:55:43 AppService: Starting deployment...
16:55:58 AppService: Creating zip package...
16:56:58 AppService: Zip package size: 166 MB
16:57:21: Error: The request was aborted

Originally reported here: microsoft/vscode#156724 but closed.

Remove Azure Resources extension

Including the Azure Resources extension in the pack makes uninstalling the pack fail if there are installed extensions not in the pack that depend on Azure Resources.

Extension installed but

Type: Bug

extension is installed but not shown status bar and even cant operate it

Extension version: 1.2.0
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz (8 x 3187)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.79GB (0.26GB free)
Process Argv --crash-reporter-id ea5f1b58-abef-438e-9671-5de80367f85e
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp1r6:30993540
dsvsc020:30976470
pythonaic:30996667
dsvsc021:30996838
g1icg217:30999571

Unhandled exception when installing Azure Tools using VSIX

VS Code version : 1.75.1 (user setup)
OS : Windows NT 10.0.19044 x64
Download : ms-vscode.vscode-node-azure-pack-1.1.1.vsix

Error : Unhandled exception
Impact: Unable to use extension in VS Code

have same error for storage extension

Selecting default AzureML workspace doesn't ask for resource group

I've got some AzureML workspaces, that have the same name.
So, I cannot select any of them, b/c I cannot see which ones which.
(The sidebar shows it, once I selected one, but then I'd have to iterate all of them to find the correct one. And that doesn't guarantee that the sorting in the workspace selector doesn't change.)

Flow rn is:

  1. click bottom bar "Azure ML Workspace: xxx"
  2. in top center selector pops up where you choose the subscription
  3. then you immediately choose the AzureML workspace ๐Ÿ‘ˆ broken b/c of above reason

instead, the flow should look like this:

  1. click bottom bar "Azure ML Workspace: xxx"
  2. in top center selector pops up where you choose the subscription
  3. then select resource group (from this the plugin should be able to figure out itself which Azure Workspace it is)

Issue viewing resources linked with Azure Lighthouse

I have a customer tenant subscription onboarded on our tenant using Azure Lighthouse.

The vscode extension resource viewer (Azure Explorer) goes in error saying the subscription id that belongs to the customer is already registered and does not allow me to see any resources (of my tenant neither of the other tenant).

Error that pops-up in VSCode when I try to click refresh on any tab within the Azure Explorer

Element with id /subscriptions/xxx is already registered

Upgrade to VS Code's webview API

Hi, I'm on the VS Code team. I noticed that your extension uses the vscode.previewHtml command which is deprecated and which we are actively working to remove: microsoft/vscode#62630

We've developed a webview API that provides a much better developer experience and offers a number of important security and compatibility benefits over previewHtml. We cannot fix previewHtml without breaking backwards compatibility, and have instead opted to remove it.

To ensure that your extension continues to work properly in VS Code, please try upgrading to use the new Webview API. You can find documentation on the API usage here. Let me know if you have any questions or concerns about this migration

deploy to webApp issues

hi,

i've encountered

  1. "Offset to Central Directory cannot be held in an Int64." on **S1 pla**n
  2. "Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory." on P1v2 plan

it seems the .zip file generated by "azure tool: deploy to webapp" process was somehow facing issue at the web app end. below are some tracing at the server end when I try to unzip the file manually.

Archive:  /c/local/Temp/zipdeploy/p5gtz44z.zip
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  missing 11854 bytes in zipfile
  (attempting to process anyway)
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/18.641ade96.chunk.css.map  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/19.142bee5e.chunk.css  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/19.142bee5e.chunk.css.map  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/20.31b5b8b4.chunk.css  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/20.31b5b8b4.chunk.css.map  
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
  (attempting to re-compensate)
file #1:  bad zipfile offset (local header sig):  0
  (attempting to re-compensate)
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  attempt to seek before beginning of zipfile ...

It was all working fine before and i've upgraded to Azure Tools 1.2.0 some time ago.

Add Azure DevOps Pull Request support

While there has been PR support for GitHub for about 3 years, there is still no proper PR support for Azure DevOps.

Azure Repos being an integral part of Azure DevOps support for PR needs to be added.

I understand that GitHub has a vastly bigger user base but having increasingly more features ignoring Azure for GitHub creates a very inconsistent and unpleasant experience.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.