Skip to content

Commit

Permalink
Merge pull request #10308 from MicrosoftDocs/main638563431216725659sy…
Browse files Browse the repository at this point in the history
…nc_temp

For protected branch, push strategy should use PR and merge to target branch method to work around git push error
learn-build-service-prod[bot] authored Jul 12, 2024
2 parents 9e33a26 + 6aad2f2 commit 5e81348
Showing 14 changed files with 155 additions and 227 deletions.
15 changes: 15 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"redirections": [
{
"source_path": "docs/help-viewer/logical-operators-search-expressions.md",
"redirect_url": "/visualstudio/help-viewer/find-topics",
"redirect_document_id": "false"
},
{
"source_path": "docs/help-viewer/find-topics-toc.md",
"redirect_url": "/visualstudio/help-viewer/find-topics",
"redirect_document_id": "false"
},
{
"source_path": "docs/help-viewer/find-topics-index.md",
"redirect_url": "/visualstudio/help-viewer/find-topics",
"redirect_document_id": "false"
},
{
"source_path": "docs/ide/how-to-manage-build-configurations-with-visual-basic-developer-settings-applied.md",
"redirect_url": "/visualstudio/ide/understanding-build-configurations",
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
title: "Deploy your Visual Studio app to a folder, IIS, Azure, or another destination"
titleSuffix: ""
description: Learn more about publishing options for your app using the Publish tool.
ms.date: 05/12/2023
ms.date: 07/10/2024
ms.topic: "ui-reference"
f1_keywords:
- vs.publish
@@ -25,21 +25,18 @@ Get help for your deployment task:
- Not sure what deployment option to choose? See [What publishing options are right for me?](#what-publishing-options-are-right-for-me)
- For help with deployment issues for Azure App Service or IIS, see [Troubleshoot ASP.NET Core on Azure App Service and IIS](/aspnet/core/test/troubleshoot-azure-iis).
- For help with configuring .NET deployment settings, see [Configure .NET deployment settings](#configure-net-deployment-settings).
::: moniker range="<=vs-2019"
- To deploy to a new target, if you have previously created a publish profile, select **New** from the **Publish** window for a configured profile.

![Screenshot of Create a new publish profile.](../deployment/media/create-a-new-publish-profile.png)
- To deploy to a new target, if you have previously created a publish profile, select **New** from the **Publish** screen for the previously configured profile. The **Publish** tool appears.

Then, choose a deployment option in the Publish tool. For information on your publishing options, see the following sections.
::: moniker range="<=vs-2019"
![Screenshot of Create a new publish profile.](../deployment/media/create-a-new-publish-profile.png)
::: moniker-end
::: moniker range=">=vs-2022"
- To deploy to a new target, if you have previously created a publish profile, select **Publish Selection** from the **Build** menu for a configured profile.

![Screenshot of Create a new publish profile.](../deployment/media/vs-2022/create-a-new-publish-profile.png)

Then, choose a deployment option in the Publish tool. For information on your publishing options, see the following sections.
::: moniker-end

Then, choose a deployment option in the **Publish** tool. For information on your publishing options, see the following sections.

## What publishing options are right for me?

From within Visual Studio, applications can be published directly to the following targets:
@@ -83,6 +80,19 @@ When you choose Azure, you can choose between:

::: moniker-end

### Azure Container Apps

[Azure Container Apps](/azure/container-apps/overview) helps developers create and manage containerized web applications and services.

While you can deploy a containerized app to Azure App Service, Azure Container Apps is optimized to use resources more efficiently for containerized apps, so there are cost savings as well as other benefits of using Azure Container Apps.

#### When to choose Azure Container Apps

- Your apps and services run in a container or multiple containers
- You need high availability and flexible scaling
- Your app is a good match for a microservices architectural pattern, with functionality broken into a set of modular single-task services implemented typically as [Azure Functions](/azure/azure-functions/functions-overview). For example, sets of single-task services that run as discrete jobs, respond to events, or that process requests from queues or triggers.
- You want the benefits of container orchestration (Kubernetes), but don't want to manage Kubernetes directly. (If you want deep control over the Kubernetes infrastructure that supports your containerized services, consider using [Azure Kubernetes Service (AKS)](/azure/aks/intro-kubernetes).

### Azure App Service

[Azure App Service](/azure/app-service/app-service-web-overview) helps developers quickly create scalable web applications and services without maintaining infrastructure. An App Service runs on cloud-hosted virtual machines in Azure, but those virtual machines are managed for you. Each app in an App Service will be assigned a unique \*.azurewebsites.net URL; all pricing tiers other than Free allow assigning custom domain names to the site.
Binary file modified docs/deployment/media/create-a-new-publish-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/deployment/media/vs-2022/create-a-new-publish-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion docs/deployment/quickstart-deploy-aspnet-web-app.md
Original file line number Diff line number Diff line change
@@ -99,6 +99,8 @@ Next, you see the summary page for the new [publish profile](./publish-overview.

You can come back to this summary page after you close it. Next time you right-click and choose **Publish**, Visual Studio opens this summary page. (To get back to the Publish wizard just click **New** in the summary page.)

To view or change the settings, select the **Show all settings** link, or click on any of the pencil icons. The **Settings** page appears. Here, you can change the configuration to publish, the target framework, the [deployment mode](/dotnet/core/deploying/), or the target Runtime ID (RID) (see [.NET RID catalog](/dotnet/core/rid-catalog)). You can choose to delete all the existing files in the target folder every time you publish, or not. If you expect to add files that aren't part of what Visual Studio deploys, clear the checkbox.

## [FTP/FTPS](#tab/ftp-ftps)
## Publish your web app to an FTP/FTPS server

@@ -152,4 +154,8 @@ Next, you see the summary page for the new [publish profile](./publish-overview.

You can import publish settings [from IIS](./tutorial-import-publish-settings-iis.md) and [Azure App Service](./tutorial-import-publish-settings-azure.md#create-the-publish-settings-file-in-azure-app-service)

---
---

## Related Content

- [.NET appliction deployment](/dotnet/core/deploying/)
77 changes: 0 additions & 77 deletions docs/help-viewer/find-topics-index.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/help-viewer/find-topics-toc.md

This file was deleted.

110 changes: 101 additions & 9 deletions docs/help-viewer/find-topics.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,60 @@
---
title: Search for topics (Help Viewer)
description: Learn how to search for topics in the Microsoft Help Viewer. Customize searches by using wildcard expressions, logical operators, and advanced search operators.
ms.date: 05/17/2022
title: Find articles in the Help Viewer
description: Learn how to search for articles in the Microsoft Help Viewer, use the index, and filter the table of contents. Customize searches by using wildcard expressions, logical operators, and advanced search operators.
ms.date: 07/10/2024
ms.topic: how-to
author: jasonchlus
ms.author: jasonchlus
manager: mijacobs
ms.subservice: help-viewer
---
# Search for topics in Help Viewer
# Find articles in the Help Viewer

You use the table of contents (TOC), index, and search to find articles in the Help Viewer. This article describes the features of the Help Viewer that can help you find articles more quickly.

For historical reasons, articles in Help Viewer are referred to as *Help topics* or just *topics*.

## Filter the Table of Contents

You can filter the TOC to narrow the scope of topics that appear in the **Contents** tab. Titles appear in the list only if they contain the root of the term that you specify. For example, if you specify "troubleshooting" as a filter, only titles that contain "troubleshoot" or "troubleshooting" appear. Nodes whose titles don't contain the term are collapsed to a single node with an ellipsis (**...**).

1. Choose the **Contents** tab.

2. In the **Filter Contents** text box, enter a term.

> [!NOTE]
> If the filter takes a long time to run, you might display results more quickly by using the `title:` advanced search operator.
### Synchronize a topic with the TOC

If you have opened a topic using the index or full-text search features, you can determine where this topic is in the TOC by synchronizing the TOC with the topic window.

1. View a topic.

2. Click the **Show Topic in Contents** button on the toolbar, or press **Ctrl**+**S**.

The **Contents** tab opens and displays the topic's location in the TOC.

## Find topics by using the Help Viewer index

The index contains a list of keywords that are associated with topics in the installed content. Each topic might have more than one keyword associated with it, and each keyword might be associated with more than one topic. Use this index in the same way as you would use an index in a book.

### To find a topic by using the index

On the **Index** tab, perform either of the following tasks:

- Specify the keyword to search for in the text box. For example, specify "update" to find topics with keywords such as "update," "updated," and "updating."

By choosing the filter button near the top of the tab, you can display either all entries that contain the text that you specify or only those entries that start with the text that you specify.

> [!NOTE]
> When the filter button appears on a darker background with a border, entries must *contain* the text that you specify. If the background and border don't appear, entries must *start with* the text that you specify.
- Scroll through the index, and choose a keyword.

If the keyword that you specify is associated with only one topic, it appears. Otherwise, a list of all topics that are associated with that keyword appears.

## Use the Search feature to find articles

You can use the full-text search feature of Microsoft Help Viewer to locate all topics that contain a particular word. You can also refine and customize your search by using wildcard expressions, logical operators, and advanced search operators.

@@ -72,9 +118,55 @@ The search algorithm applies certain criteria to help rank search results higher

Commonly occurring words or numbers, which are sometimes called stop words, are automatically ignored during a full-text search. For example, if you search for the phrase "pass through," search results display topics that contain the word "pass" but not "through."

## See also
## Logical and advanced operators in search expressions

You can use logical operators and advanced search operators to refine your search of the Help content in **Help Viewer**.

### Logical operators

Logical operators specify how multiple search terms should be combined in a search query. The following table shows the logical operators AND, OR, NOT and NEAR.

|To search for|Use|Example|Result|
|-------------------|---------|-------------|------------|
|Both terms in the same article|AND|dib AND palette|Topics that contain both "dib" and "palette".|
|Either term in an article|OR|raster OR vector|Topics that contain either "raster" or "vector".|
|First term without the second term in the same article|NOT|"operating system" NOT DOS|Topics that contain "operating system" but not "DOS".|
|Both terms, close together in an article|NEAR|user NEAR kernel|Topics that contain "user" within close proximity of "kernel".|

> [!IMPORTANT]
> You must enter logical operators in all capital letters for the search engine to recognize them.
### Advanced operators

Advanced search operators refine your search for content by specifying where in an article to look for the search term. The following table describes the four available advanced search operators.

|To search for|Use|Example|Result|
|-------------------|---------|-------------|------------|
|A term in the title of the article|`title:`|`title:binaryreader`|Topics that contain "binaryreader" in their titles.|
|A term in a code example|`code:`|`code:readdouble`|Topics that contain "readdouble" in a code example.|
|A term in an example of a specific programming language|`code:vb:`|`code:vb:string`|Topics that contain "string" in a Visual Basic code example.|
|An article that is associated with a specific index keyword|`keyword:`|`keyword:readbyte`|Topics that are associated with the "readbyte" index keyword.|

> [!IMPORTANT]
> You must enter advanced search operators with a final colon and no intervening space before the colon for the search engine to recognize them.
#### Programming languages for code examples

You can use the `code:` operator to find content about any of several programming languages. To return examples for a specific programming language, use one of the following programming language values:

|Programming Language|Search operator syntax|
| - |---------|
|Visual Basic|`code:vb`<br/>`code:visualbasic`|
|C#|`code:c#`<br/>`code:csharp`|
|C++|`code:cpp`<br/>`code:c++`<br/>`code:cplusplus`|
|F#|`code:f#`<br/>`code:fsharp`|
|JavaScript|`code:javascript`<br/>`code:js`|
|XAML|`code:xaml`|

> [!NOTE]
> The `code:` operator only finds content that is marked up with a programming language label, as opposed to content that is generically marked up as code.
## Related content

- [Logical and advanced operators](../help-viewer/logical-operators-search-expressions.md)
- [How to: Find topics in the index](../help-viewer/find-topics-index.md)
- [How to: Find topics in the TOC](../help-viewer/find-topics-toc.md)
- [Microsoft Help Viewer](../help-viewer/overview.md)
- [Shortcut keys in the Help Viewer](shortcut-keys.md)
- [Microsoft Help Viewer](../help-viewer/overview.md)
65 changes: 0 additions & 65 deletions docs/help-viewer/logical-operators-search-expressions.md

This file was deleted.

12 changes: 2 additions & 10 deletions docs/help-viewer/toc.yml
Original file line number Diff line number Diff line change
@@ -17,16 +17,8 @@
href: command-line-arguments.md
- name: Override Help Content Manager defaults
href: behavior-overrides.md
- name: Find content in Help Viewer
items:
- name: Use the index
href: find-topics-index.md
- name: Use the Table of Contents
href: find-topics-toc.md
- name: Use full-text search
href: find-topics.md
- name: Advanced search with Logical and Advanced Operators
href: logical-operators-search-expressions.md
- name: Find articles
href: find-topics.md
- name: Accessibility
href: accessibility-features.md
- name: Shortcut Keys
7 changes: 5 additions & 2 deletions docs/ide/finding-and-replacing-text.md
Original file line number Diff line number Diff line change
@@ -102,7 +102,10 @@ Open the **Find and Replace** dialog box by pressing **Ctrl**+**Shift**+**F**, o

:::moniker-end

Limit the scope of your search to:
To expose the **Replace** text box, use the down arrow to the left of the **Find** text.

Set the scope of your search and replace operation to:

- The currently open file
- All open documents
- The entire solution
@@ -112,7 +115,7 @@ Limit the scope of your search to:

The **Find and Replace** tool does not search directories with the `Hidden` or `System` attribute.

To cancel a Find operation, press **Ctrl**+**Break**.
To cancel a Find or Replace operation, press **Ctrl**+**Break**.

### Find Results

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions docs/ide/visual-studio-search.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Use Visual Studio search to find code & do queries
description: Explore the Visual Studio search feature and discover how to find settings, menus, code, and work with filters, queries, and more.
ms.date: 08/08/2023
ms.date: 07/02/2024
ms.topic: how-to
helpviewer_keywords:
- environments [Visual Studio], navigation
@@ -51,13 +51,15 @@ To quickly get a filtered experience, you can type the corresponding prefixes be
|files |`f:` | **Ctrl**+**Shift**+**T** |
|types |`t:` | **Ctrl**+**1**, **Ctrl**+**T** |
|members |`m:` | **Alt**+**\\** |
|text |`x:` | **Shift**+**Alt**+**F** |

> [!TIP]
> To learn more about the new search experience, see both the [Better search in Visual Studio](https://devblogs.microsoft.com/visualstudio/new-better-search-in-visual-studio/) and [All-In-One Search available in 17.6](https://devblogs.microsoft.com/visualstudio/all-in-one-search-available-in-17-6/) blog posts.
> [!TIP]
> Text support (**Shift**+**Alt**+**F**) in Code Search has been added in preview as of 17.9 Preview 2. See the [17.9 Preview 3 brings exciting changes to Code Search
](https://devblogs.microsoft.com/visualstudio/17-9-preview-3-brings-exciting-changes-to-code-search/) blog post to learn more.
The text filter (**Shift**+**Alt**+**F**) in Code Search is available in preview as of 17.9 Preview 2. See [17.9 Preview 3 brings exciting changes to Code Search
](https://devblogs.microsoft.com/visualstudio/17-9-preview-3-brings-exciting-changes-to-code-search/). Search for a text string, with options to match the case, match whole words, or use a regular expression. The regular expression format is described at [Regular expressions](/dotnet/standard/base-types/regular-expression-language-quick-reference).

:::image type="content" alt-text="Screenshot of text search with various options." source="./media/vs-2022/search-text-search-text-options-highlighted.png" :::

::: moniker-end

0 comments on commit 5e81348

Please sign in to comment.