You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/tutorial-kubernetes-tools.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ ms.workload:
14
14
15
15
The Visual Studio Kubernetes Tools help streamline the development of containerized applications targeting Kubernetes. Visual Studio can automatically create the configuration-as-code files needed to support Kubernetes deployment, such as Dockerfiles and Helm charts. You can debug your code in a live Azure Kubernetes Service (AKS) cluster using Azure Dev Spaces, or publish directly to an AKS cluster from inside Visual Studio.
16
16
17
+
This tutorial covers using Visual Studio to add Kubernetes support to an project and publish to AKS. If you are primarily interested in using [Azure Dev Spaces](http://aka.ms/get-azds) to debug and test your project running in AKS, you can jump to the [Azure Dev Spaces tutorial](https://docs.microsoft.com/azure/dev-spaces/get-started-netcore-visualstudio) instead.
18
+
17
19
## Prerequisites
18
20
19
21
To leverage this new functionality, you'll need:
@@ -22,9 +24,9 @@ To leverage this new functionality, you'll need:
22
24
23
25
- The [Kubernetes tools for Visual Studio](https://aka.ms/get-vsk8stools), available as a separate download.
24
26
25
-
-[Docker for Windows](https://store.docker.com/editions/community/docker-ce-desktop-windows) installed on your development workstation (that is, where you run Visual Studio), if you wish to build Docker images, debug Docker containers running locally, or publish to AKS.
27
+
-[Docker for Windows](https://store.docker.com/editions/community/docker-ce-desktop-windows) installed on your development workstation (that is, where you run Visual Studio), if you wish to build Docker images, debug Docker containers running locally, or publish to AKS. (Docker is *not* required for building and debugging Docker containers in AKS using Azure Dev Spaces.)
26
28
27
-
- If you wish to publish to AKS from Visual Studio:
29
+
- If you wish to publish to AKS from Visual Studio (*not* required for debugging in AKS using Azure Dev Spaces):
28
30
29
31
1. The [AKS publishing tools](https://aka.ms/get-vsk8spublish), available as a separate download.
30
32
@@ -74,11 +76,11 @@ The added files are:
74
76
75
77
## Publish to Azure Kubernetes Service (AKS)
76
78
77
-
With all these files in place, you can use the Visual Studio IDE to write and debug your application code, just as you always have.
79
+
With all these files in place, you can use the Visual Studio IDE to write and debug your application code, just as you always have. You can also use [Azure Dev Spaces](http://aka.ms/get-azds) to quickly run and debug your code running live in an AKS cluster. For more information, please reference the [Azure Dev Spaces tutorial](https://docs.microsoft.com/azure/dev-spaces/get-started-netcore-visualstudio)
78
80
79
81
Once you have your code running the way you want, you can publish directly from Visual Studio to an AKS cluster.
80
82
81
-
To do this, you first need to double-check that you've installed everything as described in the [Prerequisites](#prerequisities) section under the item for publishing to AKS, and run through all the command line steps given in the links. Then, set up a publish profile that publishes your container image to Azure Container Registry (ACR). Then AKS can pull your container image from ACR and deploy it into the cluster.
83
+
To do this, you first need to double-check that you've installed everything as described in the [Prerequisites](#prerequisites) section under the item for publishing to AKS, and run through all the command line steps given in the links. Then, set up a publish profile that publishes your container image to Azure Container Registry (ACR). Then AKS can pull your container image from ACR and deploy it into the cluster.
82
84
83
85
1. In **Solution Explorer**, right-click on your *project* and choose **Publish**.
84
86
@@ -115,3 +117,5 @@ Congratulations! You can now use the full power of Visual Studio for all your Ku
115
117
## Next steps
116
118
117
119
Learn more about Kubernetes development on Azure by reading the [AKS documentation](/azure/aks).
120
+
121
+
Learn more about Azure Dev Spaces by reading the [Azure Dev Spaces documentation](http://aka.ms/get-azds)
Copy file name to clipboardExpand all lines: docs/extensibility/extensibility-hello-world.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.workload:
12
12
---
13
13
# Create your first extension: Hello World
14
14
15
-
This Hello World example walks you through creating your first extension for Visual Studio. This tutorial will show you how to add a new command to Visual Studio.
15
+
This Hello World example walks you through creating your first extension for Visual Studio. This tutorial shows you how to add a new command to Visual Studio.
16
16
17
17
In the process, you will learn how to:
18
18
@@ -29,11 +29,12 @@ For this example, you'll use Visual C# to add a custom menu button named "Say He
29
29
30
30
Before you start, make sure you have installed the **Visual Studio extension development** workload which includes the VSIX template you'll need and sample code.
31
31
32
-
Note: You can use any version of Visual Studio (Community, Professional, or Enterprise) to create a Visual Studio Extensibility project.
32
+
> [!NOTE]
33
+
> You can use any edition of Visual Studio (Community, Professional, or Enterprise) to create a Visual Studio extensibility project.
33
34
34
35
## Create an extensibility project
35
36
36
-
Step 1. From the **File** menu, click **New Project**. At the bottom of the screen, you can enter the name of your project.
37
+
Step 1. From the **File** menu, click **New Project**. At the bottom of the screen, enter the name of your project.
37
38
38
39
Step 2. From the **Templates** menu, click **Visual C#**, click **Extensibility**, and then click **VSIX Project**.
39
40
@@ -47,15 +48,15 @@ If you need to leave this tutorial and come back to it, you can find your new He
47
48
48
49
Step 1. If you select the manifest, you can see what options are changeable, for instance, metadata, description, and version.
49
50
50
-
Step 2. Right-click the project (not the solution). On the context menu, click **Add**, and then click **User Control**.
51
+
Step 2. Right-click the project (not the solution). On the context menu, click **Add**, and then click **New Item**.
51
52
52
-
Step 3. Go back to the **Extensibility** section, and then click **Custom Command**.
53
+
Step 3. Select the **Extensibility** section, and then click **Custom Command**.
53
54
54
55
Step 4. In the **Name** field at the bottom, give it a name, for instance *Command.cs*.
Your new command will be listed in the**Solution Explorer** under the **Resources** branch. This is also where you'll find other files related to your command, such as the PNG and ICO files if you wish to modify the image.
59
+
Your new command is listed in **Solution Explorer** under the **Resources** branch. This is also where you'll find other files related to your command, such as the PNG and ICO files if you wish to modify the image.
59
60
60
61
## Modify the source code
61
62
@@ -110,7 +111,7 @@ Make sure to save your changes to each file.
110
111
111
112
You can now run the source code in the Visual Studio Experimental Instance.
112
113
113
-
Step 1. Click **Start** in the Toolbar. This will build your project and start the debugger, launching a new instance of Visual Studio called the **Experimental Instance**.
114
+
Step 1. Click **Start** in the Toolbar. This builds your project and starts the debugger, launching a new instance of Visual Studio called the **Experimental Instance**.
114
115
115
116
You will see the words **Experimental Instance** in the Visual Studio title bar.
116
117
@@ -128,4 +129,4 @@ Now that you know the basics of working with Visual Studio Extensibility, here's
128
129
129
130
*[Start to develop Visual Studio extensions](starting-to-develop-visual-studio-extensions.md) - Samples, tutorials. and publishing your extension.
130
131
*[What's new in the Visual Studio 2017 SDK](what-s-new-in-the-visual-studio-2017-sdk.md) -New extensibility features in Visual Studio 2017
131
-
*[Inside the Visual Studio SDK](internals/inside-the-visual-studio-sdk.md) - Learn the details of Visual Studio Extensibility
132
+
*[Inside the Visual Studio SDK](internals/inside-the-visual-studio-sdk.md) - Learn the details of Visual Studio Extensibility
0 commit comments