Skip to content

Commit 614eb5f

Browse files
committed
Merge remote-tracking branch 'MicrosoftDocs/master'
2 parents e7588a1 + 9cbd79c commit 614eb5f

File tree

769 files changed

+24370
-12985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

769 files changed

+24370
-12985
lines changed

.openpublishing.redirection.json

Lines changed: 77 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
"redirect_url": "/visualstudio/code-quality/code-analysis-for-c-cpp-overview",
9898
"redirect_document_id": false
9999
},
100+
{
101+
"source_path": "docs/code-quality/code-analysis-rule-set-reference.md",
102+
"redirect_url": "/visualstudio/code-quality/managed-minimun-rules-rule-set-for-managed-code",
103+
"redirect_document_id": false
104+
},
100105
{
101106
"source_path": "docs/code-quality/creating-and-using-code-analysis-check-in-policies.md",
102107
"redirect_url": "/visualstudio/code-quality/how-to-create-or-update-standard-code-analysis-check-in-policies",
@@ -652,6 +657,16 @@
652657
"redirect_url": "/visualstudio/debugger/graphics/walkthrough-using-graphics-diagnostics-to-debug-a-compute-shader",
653658
"redirect_document_id": false
654659
},
660+
{
661+
"source_path": "docs/debugger/first-look-at-the-debugger.md",
662+
"redirect_url": "/visualstudio/debugger/getting-started-with-the-debugger",
663+
"redirect_document_id": false
664+
},
665+
{
666+
"source_path": "docs/debugger/debugger-basics.md",
667+
"redirect_url": "/visualstudio/debugger/getting-started-with-the-debugger",
668+
"redirect_document_id": false
669+
},
655670
{
656671
"source_path": "docs/deployment/installshield-limited-edition.md",
657672
"redirect_url": "/visualstudio/deployment/deploying-applications-services-and-components",
@@ -1472,6 +1487,21 @@
14721487
"redirect_url": "/visualstudio/profiling/profiling-feature-tour",
14731488
"redirect_document_id": false
14741489
},
1490+
{
1491+
"source_path": "docs/profiling/peopletrax-sample-profiling-tools.md",
1492+
"redirect_url": "/visualstudio/profiling/performance-explorer",
1493+
"redirect_document_id": false
1494+
},
1495+
{
1496+
"source_path": "docs/profiling/walkthrough-command-line-profiling-using-instrumentation.md",
1497+
"redirect_url": "/visualstudio/profiling/command-line-profiling-of-stand-alone-applications",
1498+
"redirect_document_id": false
1499+
},
1500+
{
1501+
"source_path": "docs/profiling/walkthrough-identifying-performance-problems.md",
1502+
"redirect_url": "/visualstudio/profiling/beginners-guide-to-cpu-sampling",
1503+
"redirect_document_id": false
1504+
},
14751505
{
14761506
"source_path": "docs/python/code-editing.md",
14771507
"redirect_url": "/visualstudio/python/editing-python-code-in-visual-studio",
@@ -1807,6 +1837,11 @@
18071837
"redirect_url": "/vsts/build-release/test/getting-started-with-continuous-testing",
18081838
"redirect_document_id": false
18091839
},
1840+
{
1841+
"source_path": "docs/test/create-and-run-unit-tests-for-a-store-app-in-visual-studio.md",
1842+
"redirect_url": "/visualstudio/test/unit-test-your-code",
1843+
"redirect_document_id": false
1844+
},
18101845
{
18111846
"source_path": "docs/test/index.md",
18121847
"redirect_url": "/visualstudio/test/improve-code-quality",
@@ -1817,6 +1852,16 @@
18171852
"redirect_url": "/visualstudio/test/lab-management/install-configure-test-agents",
18181853
"redirect_document_id": false
18191854
},
1855+
{
1856+
"source_path": "docs/test/lab-management/upgrade-scvmm-2008-r2-scvmm-2012.md",
1857+
"redirect_url": "/visualstudio/test/lab-management/using-a-lab-environment-for-your-application-lifecycle",
1858+
"redirect_document_id": false
1859+
},
1860+
{
1861+
"source_path": "docs/test/run-unit-tests-for-store-apps-in-visual-studio.md",
1862+
"redirect_url": "/visualstudio/test/run-unit-tests-with-test-explorer",
1863+
"redirect_document_id": false
1864+
},
18201865
{
18211866
"source_path": "docs/test/testing-store-apps-with-visual-studio.md",
18221867
"redirect_url": "/visualstudio/test/create-and-run-unit-tests-for-a-store-app-in-visual-studio/",
@@ -1848,8 +1893,8 @@
18481893
"redirect_document_id": false
18491894
},
18501895
{
1851-
"source_path": "docs/test/lab-management/upgrade-scvmm-2008-r2-scvmm-2012.md",
1852-
"redirect_url": "/visualstudio/test/lab-management/using-a-lab-environment-for-your-application-lifecycle",
1896+
"source_path": "docs/test/upgrading-coded-ui-tests-from-visual-studio-2010.md",
1897+
"redirect_url": "/visualstudio/test/use-ui-automation-to-test-your-code",
18531898
"redirect_document_id": false
18541899
},
18551900
{
@@ -2137,6 +2182,36 @@
21372182
"source_path": "docs/ide/quickstart-visual-basic-winforms.md",
21382183
"redirect_url": "/visualstudio/ide/create-a-visual-basic-winform-in-visual-studio",
21392184
"redirect_document_id": false
2185+
},
2186+
{
2187+
"source_path": "subscriptions/buy-vs-subscriptions.md",
2188+
"redirect_url": "http://www.visualstudio.com/vs/pricing/",
2189+
"redirect_document_id": false
2190+
},
2191+
{
2192+
"source_path": "subscriptions/compare-subscriptions.md",
2193+
"redirect_url": "http://www.visualstudio.com/vs/pricing/",
2194+
"redirect_document_id": false
2195+
},
2196+
{
2197+
"source_path": "subscriptions/vscloud-first-purchase.md",
2198+
"redirect_url": "/visualstudio/subscriptions/vscloud-overview",
2199+
"redirect_document_id": false
2200+
},
2201+
{
2202+
"source_path": "subscriptions/vscloud-renewals.md",
2203+
"redirect_url": "/visualstudio/subscriptions/vscloud-overview",
2204+
"redirect_document_id": false
2205+
},
2206+
{
2207+
"source_path": "subscriptions/vscloud-buy-more.md",
2208+
"redirect_url": "/visualstudio/subscriptions/vscloud-overview",
2209+
"redirect_document_id": false
2210+
},
2211+
{
2212+
"source_path": "subscriptions/vscloud-cancel.md",
2213+
"redirect_url": "/visualstudio/subscriptions/vscloud-overview",
2214+
"redirect_document_id": false
21402215
}
21412216
]
21422217
}

connected-environment/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
# How to
3232
##[Share a development environment](how-to/share-dev-environment.md)
33+
##[Use a custom NuGet feed](how-to/use-a-custom-nuget-feed.md)
3334
##[Use kubectl with Visual Studio Connected Environment](how-to/use-kubectl-with-vsce.md)
3435

3536
# [Troubleshoot](troubleshooting.md)

connected-environment/get-started-netcore-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 1 - Install tools | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 2 - Create a Kubernetes environment in Azure | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-03.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 3 - Create an ASP.NET Core web app | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-04.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 4 - Debug a container in Kubernetes | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-05.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 5 - Call another container | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 6 - Learn about team development | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-07.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 7 - Summary | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-visualstudio-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 1 - Install tools | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-visualstudio-02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 2 - Create an ASP.NET web app | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-visualstudio-03.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 3 - Create a Kubernetes development environment | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-visualstudio-04.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 4 - Debug a container in Kubernetes | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-netcore-visualstudio-05.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 5 - Call another container | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"
@@ -55,7 +55,7 @@ Let's now write code in `webfrontend` that makes a request to `mywebapi`. Switch
5555

5656
Note how Kubernetes' DNS service discovery is employed to refer to the service as `http://mywebapi`. **Code in our development environment is running the same way it will run in production**.
5757

58-
The code example above also makes use of a `HeaderPropagatingHttpClient` class. This helper class is the file `HeaderPropagation.cs` that was added to your project when you configured it to use Connected Environment. `HeaderPropagatingHttpClient` is dervied from the well-known `HttpClient` class, and it adds functionality to propagate specific headers from an existing ASP .NET HttpRequest object into an outgoing HttpRequestMessage object. We'll see later how this facilitates a more productive development experience in team scenarios.
58+
The code example above also makes use of a `HeaderPropagatingHttpClient` class. This helper class is the file `HeaderPropagation.cs` that was added to your project when you configured it to use Connected Environment. `HeaderPropagatingHttpClient` is derived from the well-known `HttpClient` class, and it adds functionality to propagate specific headers from an existing ASP .NET HttpRequest object into an outgoing HttpRequestMessage object. We'll see later how this facilitates a more productive development experience in team scenarios.
5959

6060
## Debug across multiple services
6161
1. At this point, `mywebapi` should still be running with the debugger attached. If it is not, hit F5 in the `mywebapi` project.

connected-environment/get-started-netcore-visualstudio-06.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 6 - Learn about team development | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"
@@ -44,7 +44,7 @@ Do the following to make sure both our `webfrontend` and `mywebapi` services are
4444
3. Switch to the Visual Studio window with the `webfrontend` project and press Ctrl+F5 to run it as well.
4545

4646
> [!Note]
47-
It is sometimes necessarry to refresh your browser after it the web page is initially displayed following a Ctrl+F5.
47+
It is sometimes necessary to refresh your browser after it the web page is initially displayed following a Ctrl+F5.
4848

4949
Anyone who opens the public URL and navigates to the web app will invoke the code path we have written which runs through both services using the default `mainline` space. Now suppose we want to continue developing `mywebapi` - how can we do this and not interrupt other developers who are using the development environment? To do that, we'll set up our own space.
5050

connected-environment/get-started-netcore-visualstudio-07.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 7 - Summary | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 1 - Install tools | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 2 - Create a Kubernetes development environment | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-03.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 3 - Create an ASP.NET web app | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-04.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 4 - Debug a container in Kubernetes | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-05.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 5 - Call another container | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 6 - Learn about team development | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started-nodejs-07.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 7 - Summary | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Create a development environment with containers using Kubernetes in the cloud | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: "How to use a custom NuGet feed in a connected environment| Microsoft Docs"
3+
author: "johnsta"
4+
ms.author: "johnsta"
5+
ms.date: "03/27/2018"
6+
ms.topic: "article"
7+
description: "Use a custom NuGet feed to access and use NuGet packages in a connected environment."
8+
keywords: "Docker, Kubernetes, Azure, AKS, Azure Container Service, containers"
9+
manager: "ghogen"
10+
---
11+
# Use a custom NuGet feed in a connected environment
12+
13+
A NuGet feed provides a convenient way to include package sources in a project. Connected Environment will need to be able to access this feed in order for dependencies to be properly installed in the Docker container.
14+
15+
To set up a NuGet feed:
16+
1. Add a [package reference](https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files) in the `*.csproj` file under the `PackageReference` node.
17+
18+
```xml
19+
<ItemGroup>
20+
<!-- ... -->
21+
<PackageReference Include="Contoso.Utility.UsefulStuff" Version="3.6.0" />
22+
<!-- ... -->
23+
</ItemGroup>
24+
```
25+
26+
2. Create a [NuGet.Config](https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file) file in the project folder.
27+
* Use the `packageSources` section to reference your NuGet feed location. Important: The NuGet feed must be publicly accessible.
28+
* Use the `packageSourceCredentials` section to configure username and password credentials.
29+
30+
```xml
31+
<packageSources>
32+
<add key="Contoso" value="https://contoso.com/packages/" />
33+
</packageSources>
34+
35+
<packageSourceCredentials>
36+
<Contoso>
37+
<add key="Username" value="[email protected]" />
38+
<add key="ClearTextPassword" value="33f!!lloppa" />
39+
</Contoso>
40+
</packageSourceCredentials>
41+
```
42+
43+
3. If you're using source code control:
44+
- Reference `NuGet.Config` in your `.gitignore` file so you don't accidentally commit credentials to your source repository.
45+
- Open the `vsce.yaml` file in your project, and locate the `build` section, and insert the following snippet to ensure that the `NuGet.Config` file will be synced to Azure so that it used during the container image build process. (By default, Connected Environment does not synchronize files that match `.gitignore` and `.dockerignore` rules.)
46+
47+
```yaml
48+
build:
49+
useGitIgnore: true
50+
ignore:
51+
- “!NuGet.Config”
52+
```
53+
54+
55+
## Next steps
56+
57+
Once you have completed the above steps, the next time you run `vsce up` (or hit `F5` in VSCode or Visual Studio), Connected Environment will synchronize the `NuGet.Config` file to Azure, which is then utilized by `dotnet restore` to install package dependencies in the container.
58+

connected-environment/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Visual Studio Connected Environment | Microsoft Docs"
2+
title: "Troubleshooting | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
55
ms.date: "02/20/2018"

connected-environment/visual-studio-connected-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: "Rapid Kubernetes development with containers and microservices on
99
keywords: "Docker, Kubernetes, Azure, AKS, Azure Container Service, containers"
1010
manager: "ghogen"
1111
---
12-
# VS Connected Environment for AKS (Preview)
12+
# VS Connected Environment for Azure Container Service (AKS) (Preview)
1313
VS Connected Environment helps you develop with speed on Kubernetes. You create a Kubernetes-based environment that is fully managed in Azure and optimized for development, and then iteratively develop containers in the cloud using familiar tools like VS Code, Visual Studio, or the command line.
1414

1515
This approach carries several benefits:

0 commit comments

Comments
 (0)