Skip to content

Commit 5bff8c1

Browse files
committed
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents b63c2cd + 0fbbbb0 commit 5bff8c1

26 files changed

+174
-74
lines changed

bridge/articles/bridge-to-kubernetes-sample.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switc
4444

4545
## Deploy the application
4646

47-
Clone the [mindaro repo](https://github.com/Microsoft/mindaro) and open a command window with the current working folder to *samples/todo-app*.
47+
Clone the [Bridge to Kubernetes repo](https://github.com/Azure/Bridge-To-Kubernetes) and open a command window with the current working folder to *samples/todo-app*.
4848

4949
Create a namespace for the sample.
5050

docs/containers/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Get to know the tools available in Visual Studio for working with D
44
author: ghogen
55
ms.author: ghogen
66
ms.topic: overview
7-
ms.date: 10/27/2021
7+
ms.date: 10/07/2022
88
ms.technology: vs-container-tools
99
---
1010
# Visual Studio Container Tools for Docker

docs/data-tools/connect-to-data-in-an-access-database-windows-forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Connect to data in an Access database
33
description: Understand how to connect to data in an Access database (either an .mdb file or an .accdb.file) in Visual Studio.
44
ms.custom: SEO-VS-2020
5-
ms.date: 11/02/2021
5+
ms.date: 10/07/2022
66
ms.topic: how-to
77
helpviewer_keywords:
88
- data [Visual Studio], connecting

docs/data-tools/create-a-simple-data-application-by-using-adonet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a simple data application by using ADO.NET
33
description: Learn to create a simple forms-to-data application by using Windows Forms and ADO.NET in Visual Studio.
44
ms.custom: SEO-VS-2020
5-
ms.date: 12/03/2021
5+
ms.date: 10/07/2022
66
ms.topic: conceptual
77
dev_langs:
88
- VB

docs/data-tools/create-and-configure-datasets-in-visual-studio.md

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create and configure datasets
33
description: Create and configure datasets in Visual Studio. A dataset is a set of objects that store data from a DB in memory and supports CRUD operations on that data.
44
ms.custom: SEO-VS-2020
5-
ms.date: 11/21/2018
5+
ms.date: 10/07/2022
66
ms.topic: how-to
77
helpviewer_keywords:
88
- typed datasets, creating
@@ -27,39 +27,47 @@ You can create a typed <xref:System.Data.DataSet> class in Visual Studio at desi
2727

2828
1. Open your project in Visual Studio, and then choose **Project** > **Add New Data Source** to start the **Data Source Configuration Wizard**.
2929

30-
2. Choose the type of data source to which you'll be connecting.
30+
1. Choose the type of data source to which you'll be connecting.
3131

32-
![Data Source Configuration Wizard](../data-tools/media/data-source-configuration-wizard.png)
32+
![Screenshot showing Data Source Configuration Wizard.](../data-tools/media/vs-2022/data-source-configuration-wizard.png)
3333

34-
3. Choose the database or databases that will be the data source for your dataset.
34+
1. Choose `DataSet` from the list of options.
3535

36-
![Data source choose a connection](../data-tools/media/data-source-choose-a-connection.png)
36+
![Screenshot showing choosing DataSet as the database model.](./media/vs-2022/data-source-configuration-wizard-2.png)
3737

38-
4. Choose the tables (or individual columns), stored procedures, functions, and views from the database that you want to be represented in the dataset.
38+
1. Choose the database or databases that will be the data source for your dataset.
3939

40-
![Choose database objects](../data-tools/media/raddata-chose-objects.png)
40+
![Screenshot showing how to choose a connection.](../data-tools/media/data-source-choose-a-connection.png)
4141

42-
5. Click **Finish**.
42+
1. Choose whether to save the connection string in *app.config*.
43+
44+
![Screenshot showing option to save connection string to the application configuration file.](./media/vs-2022/save-connection-string-to-app-config.png)
45+
46+
1. Choose the tables (or individual columns), stored procedures, functions, and views from the database that you want to be represented in the dataset.
47+
48+
![Screenshot showing how to choose your database objects.](../data-tools/media/vs-2022/choose-your-database-objects.png)
49+
50+
1. Click **Finish**.
4351

4452
The dataset appears as a node in **Solution Explorer**.
4553

46-
![DataSet in Solution Explorer](../data-tools/media/dataset-in-solution-explorer.png)
54+
![Screenshot showing DataSet in Solution Explorer.](../data-tools/media/vs-2022/dataset-in-solution-explorer.png)
4755

48-
6. Click the dataset node in **Solution Explorer** to open the dataset in the **DataSet Designer**. Each table in the dataset has an associated `TableAdapter` object, which is represented at the bottom. The table adapter is used to populate the dataset and optionally to send commands to the database.
56+
1. Click the dataset node in **Solution Explorer** to open the dataset in the **DataSet Designer**. Each table in the dataset has an associated `TableAdapter` object, which is represented at the bottom. The table adapter is used to populate the dataset and optionally to send commands to the database.
4957

50-
![DataSet Designer](../data-tools/media/dataset-designer.png)
58+
![Screenshot showing data tables in DataSet Designer.](../data-tools/media/vs-2022/dataset-in-dataset-designer.png)
5159

52-
7. The relation lines that connect the tables represent table relationships, as defined in the database. By default, foreign-key constraints in a database are represented as a relation only, with the update and delete rules set to none. Typically, that is what you want. However, you can click the lines to bring up the **Relation** dialog, where you can change the behavior of hierarchical updates. For more information, see [Relationships in datasets](../data-tools/relationships-in-datasets.md) and [Hierarchical update](../data-tools/hierarchical-update.md).
60+
1. The relation lines that connect the tables represent table relationships, as defined in the database. By default, foreign-key constraints in a database are represented as a relation only, with the update and delete rules set to none. Typically, that is what you want. However, you can click the lines to bring up the **Relation** dialog, where you can change the behavior of hierarchical updates. For more information, see [Relationships in datasets](../data-tools/relationships-in-datasets.md) and [Hierarchical update](../data-tools/hierarchical-update.md).
5361

54-
![Dataset Relation dialog](../data-tools/media/raddata-relation-dialog.png)
62+
![Dataset Relation dialog](../data-tools/media/vs-2022/dataset-relation-dialog.png)
5563

56-
8. Click a table, table adapter, or column name in a table to see its properties in the **Properties** window. You can modify some of the values here. Just remember that you are modifying the dataset, not the source database.
64+
1. Click a table, table adapter, or column name in a table to see its properties in the **Properties** window. You can modify some of the values here. Just remember that you are modifying the dataset, not the source database.
5765

58-
![DataSet column properties](../data-tools/media/dataset-column-properties.png)
66+
![Screenshot showing DataSet column properties.](../data-tools/media/vs-2022/data-column-properties.png)
5967

60-
9. You can add new tables or table adapters to the dataset, or add new queries for existing table adapters, or specify new relations between tables by dragging those items from the **Toolbox** tab. This tab appears when the **DataSet Designer** is in focus.
68+
1. You can add new tables or table adapters to the dataset, or add new queries for existing table adapters, or specify new relations between tables by dragging those items from the **Toolbox** tab. This tab appears when the **DataSet Designer** is in focus.
6169

62-
![Dataset Toolbox](../data-tools/media/raddata-dataset-toolbox.png)
70+
![Screenshot showing Dataset Toolbox.](../data-tools/media/vs-2022/dataset-designer-toolbox.png)
6371

6472
Next, you might want to specify how to populate the dataset with data. For that, you use the **TableAdapter Configuration Wizard**. For more information, see [Fill datasets by using TableAdapters](../data-tools/fill-datasets-by-using-tableadapters.md).
6573

@@ -69,23 +77,23 @@ This procedure shows how to add a table from the same database that you used to
6977

7078
1. Click the dataset node in **Solution Explorer** to bring the **DataSet Designer** into focus.
7179

72-
2. Click the **Data Sources** tab in the left margin of Visual Studio, or type **data sources** in the search box.
80+
1. Click the **Data Sources** tab in the left margin of Visual Studio, or type **data sources** in the search box.
7381

74-
3. Right-click the dataset node and select **Configure Data Source with Wizard**.
82+
1. Right-click the dataset node and select **Configure Data Source with Wizard**.
7583

76-
![Data Source context menu](../data-tools/media/data-source-context-menu.png)
84+
![Screenshot showing Data Source context menu.](../data-tools/media/vs-2022/configure-data-source-with-wizard-context-menu.png)
7785

78-
4. Use the wizard to specify which additional tables, stored procedures, or other database objects to add to the dataset.
86+
1. Use the wizard to specify which additional tables, stored procedures, or other database objects to add to the dataset.
7987

8088
## Add a stand-alone data table to a dataset
8189

8290
1. Open your dataset in the **Dataset Designer**.
8391

84-
2. Drag a <xref:System.Data.DataTable> class from the **DataSet** tab of the **Toolbox** onto the **Dataset Designer**.
92+
1. Drag a <xref:System.Data.DataTable> class from the **DataSet** tab of the **Toolbox** onto the **Dataset Designer**.
8593

86-
3. Add columns to define your data table. Right-click on the table and choose **Add** > **Column**. Use the **Properties** window to set the data type of the column and a key if necessary.
94+
1. Add columns to define your data table. Right-click on the table and choose **Add** > **Column**. Use the **Properties** window to set the data type of the column and a key if necessary.
8795

88-
Stand-alone tables need to Implement `Fill` logic in stand-alone tables so that you can fill them with data. For information on filling stand-alone data tables, see [Populating a DataSet from a DataAdapter](/dotnet/framework/data/adonet/populating-a-dataset-from-a-dataadapter).
96+
Stand-alone tables need to implement `Fill` logic so that you can fill them with data. For information on filling data tables, see [Populating a DataSet from a DataAdapter](/dotnet/framework/data/adonet/populating-a-dataset-from-a-dataadapter).
8997

9098
## See also
9199

docs/data-tools/how-to-add-update-or-remove-a-wcf-data-service-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Add, update, or remove a WCF data service reference
33
description: Review how to add, update, or remove a Windows Communication Foundation (WCF) data service reference.
4-
ms.date: 11/22/2021
4+
ms.date: 10/07/2022
55
ms.custom: SEO-VS-2020
66
ms.topic: how-to
77
helpviewer_keywords:

docs/data-tools/how-to-save-and-edit-connection-strings.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'How to: Save and Edit Connection Strings'
33
description: Know how to save and edit connection strings in Visual Studio applications. Save or edit a connection string directly in application settings.
44
ms.custom: SEO-VS-2020
5-
ms.date: 11/04/2016
5+
ms.date: 10/07/2022
66
ms.topic: how-to
77
ms.assetid: f8ef3a2c-029c-423b-9d9e-a4f1add4f640
88
author: ghogen
@@ -15,11 +15,18 @@ ms.workload:
1515
# How to: Save and edit connection strings
1616

1717
[!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)]
18-
Connection strings in Visual Studio applications are saved in the application configuration file (also referred to as application settings), or hard-coded directly in your application. Saving connection strings in the application configuration file simplifies the task of maintaining your application. If the connection string needs to be changed, you can update it in the application settings file (as opposed to having to change it in the source code and recompile the application).
1918

20-
Storing sensitive information (such as the password) within the connection string can affect the security of your application. Connection strings saved to the application configuration file are not encrypted or obfuscated, so it may be possible for someone to access the file and view its contents. Using Windows integrated security is a more secure way to control access to a database.
19+
> [!NOTE]
20+
> This article provides guidance for handling connection strings in Windows applications; for cloud and web applications, more secure techniques are available. You can use [Connected Services](../azure/overview-connected-services.md) to add support for Secrets.json for local development, and then migrate to Azure Key Vault for secrets storage when you deploy to Azure. See [Protect secrets during development.](/aspnet/core/security/app-secrets?tabs=windows).
21+
22+
Properly handling the connection string in a Visual Studio application requires care to avoid presenting security risks. Connection strings in Visual Studio applications are often saved in the application configuration file (also referred to as application settings), or hard-coded directly in your application. Hard-coding directly into the application is not recommended, because the sensitive information in the connection string, such as the database credentials, can be read directly from the unencrypted binaries. Saving connection strings in the application configuration file simplifies the task of maintaining your application. If the connection string needs to be changed, you can update it in the application settings file (as opposed to having to change it in the source code and recompile the application).
23+
24+
Storing sensitive information (such as the password) within the connection string can affect the security of your application. Connection strings saved to the application configuration file are not encrypted or obfuscated, so it may be possible for someone to access the file and view its contents.
25+
26+
For databases that support it, using Windows integrated security is a more secure way to control access to a database.
2127

2228
If you do not choose to use Windows integrated security and your database requires a user name and password, you can omit them from the connection string, but your application will need to provide this information to successfully connect to the database. For example, you can create a dialog box that prompts the user for this information and dynamically builds the connection string at run time. Security can still be an issue if the information is intercepted on the way to the database.
29+
2330
For more information, see [Protecting connection information](/dotnet/framework/data/adonet/protecting-connection-information).
2431

2532
## To save a connection string from within the Data Source Configuration Wizard
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

docs/get-started/csharp/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
description: Create C# apps by using Visual Studio.
99
ms.custom: vs-acquisition
1010
ms.topic: landing-page
11-
ms.date: 10/25/2021
11+
ms.date: 10/07/2022
1212
author: ghogen
1313
ms.author: ghogen
1414
manager: jmartens

docs/get-started/csharp/run-program.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "How to run a program (C#)"
33
description: "Beginner's guide on how to run a C# program in Visual Studio."
44
ms.custom: "vs-acquisition, get-started"
5-
ms.date: 09/14/2021
5+
ms.date: 10/07/2022
66
ms.technology: vs-ide-general
77
ms.prod: visual-studio-windows
88
ms.topic: tutorial

docs/ide/building-and-cleaning-projects-and-solutions-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Building and Cleaning Projects and Solutions
33
description: Learn how you can build, rebuild, or clean all or some of the projects or project items in a solution.
44
ms.custom: SEO-VS-2020
5-
ms.date: 09/14/2021
5+
ms.date: 10/07/2022
66
ms.technology: vs-ide-compile
77
ms.topic: conceptual
88
f1_keywords:

docs/ide/compiling-and-building-in-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Compiling building
33
description: Learn how you use the Visual Studio IDE build method, the MSBuild command-line tools build method, or Azure Pipelines build method to build an application.
44
ms.custom: SEO-VS-2020
5-
ms.date: 09/14/2021
5+
ms.date: 10/07/2022
66
ms.technology: vs-ide-compile
77
ms.topic: conceptual
88
helpviewer_keywords:
@@ -26,7 +26,7 @@ You can use any of the following methods to build an application: the Visual Stu
2626
| Build Method | Benefits |
2727
| --- |--- | --- |
2828
| IDE |- Create builds immediately and test them in a debugger.<br />- Run multi-processor builds for C++ and C# projects.<br />- Customize different aspects of the build system. |
29-
| CMake | - Build projects using the CMake tool<br />- Use the same build system across Linux and Windows platforms. |
29+
| CMake | - Build C++ projects using the CMake tool<br />- Use the same build system across Linux and Windows platforms. |
3030
| MSBuild command line| - Build projects without installing Visual Studio.<br />- Run multi-processor builds for all project types.<br />- Customize most areas of the build system.|
3131
| Azure Pipelines | - Automate your build process as part of a continuous integration/continuous delivery pipeline.<br />- Apply automated tests with every build.<br />- Employ virtually unlimited cloud-based resources for build processes.<br />- Modify the build workflow and create build activities to perform deeply customized tasks.|
3232

docs/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ productDirectory:
5656
- title: GitHub Codespaces
5757
imageSrc: /media/logos/logo_octokitty.svg
5858
links:
59-
- url: https://docs.github.com/github/developing-online-with-codespaces/
59+
- url: https://docs.github.com/codespaces
6060
text: Documentation
6161
- url: https://code.visualstudio.com/docs/remote/codespaces/
6262
text: Use with Visual Studio Code

docs/msbuild/customize-your-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Customize your build | Microsoft Docs
33
description: Learn about several extensibility hooks you can use to customize MSBuild projects that use the standard build process.
44
ms.custom: SEO-VS-2020
5-
ms.date: 09/13/2021
5+
ms.date: 10/07/2022
66
ms.topic: conceptual
77
helpviewer_keywords:
88
- MSBuild, transforms

0 commit comments

Comments
 (0)