Skip to content

Commit e3eca3b

Browse files
authored
Merge pull request #50325 from v-thpra/azure-triage-fix-1044125
Technical Review 1044125: Develop, test, and deploy an Azure Function with Visual Studio
2 parents e524917 + be9cb28 commit e3eca3b

15 files changed

+36
-36
lines changed

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: Introduction
7-
ms.date: 03/01/2023
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/2-develop-and-test-azure-functions-locally.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.develop-test-deploy-azure-functions-with-visual-studio.2-develop-and-test-azure-functions-locally
3-
title: Create and test a simple Azure Function locally with Visual Studio
3+
title: Create and test an Azure Function locally with Visual Studio
44
metadata:
5-
title: Create and test a simple Azure Function locally with Visual Studio
6-
description: Create and test a simple Azure Function locally with Visual Studio.
7-
ms.date: 03/01/2023
5+
title: Create and test an Azure Function locally with Visual Studio
6+
description: Create and test an Azure Function locally with Visual Studio.
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/3-exercise-develop-and-test-azure-functions-locally.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.develop-test-deploy-azure-functions-with-visual-studio.3-exercise-develop-and-test-azure-functions-locally
3-
title: Exercise - Create and test a simple Azure Function locally with Visual Studio
3+
title: Exercise - Create and test an Azure Function locally with Visual Studio
44
metadata:
5-
title: Exercise - Create and test a simple Azure Function locally with Visual Studio
6-
description: Exercise - Create and test a simple Azure Function locally with Visual Studio
7-
ms.date: 03/01/2023
5+
title: Exercise - Create and test an Azure Function locally with Visual Studio
6+
description: Exercise - Create and test an Azure Function locally with Visual Studio.
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/4-publish-azure-functions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.develop-test-deploy-azure-functions-with-visual-studio.4-publish-azure-functions
3-
title: Publish a simple Azure Function
3+
title: Publish an Azure Function
44
metadata:
5-
title: Publish a simple Azure Function
6-
description: Publish a simple Azure Function
7-
ms.date: 03/01/2023
5+
title: Publish an Azure Function
6+
description: Publish an Azure Function
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/5-exercise-publish-azure-functions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.develop-test-deploy-azure-functions-with-visual-studio.5-exercise-publish-azure-functions
3-
title: Exercise - Publish a simple Azure Function
3+
title: Exercise - Publish an Azure Function
44
metadata:
5-
title: Exercise - Publish a simple Azure Function
6-
description: Exercise - Publish a simple Azure Function
7-
ms.date: 03/01/2023
5+
title: Exercise - Publish an Azure Function
6+
description: Exercise - Publish an Azure Function
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/6-unit-test-azure-functions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Unit test an Azure Function
44
metadata:
55
title: Exercise - Unit test an Azure Function
66
description: Exercise - Unit test an Azure Function
7-
ms.date: 03/01/2023
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/7-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: Summary
7-
ms.date: 03/01/2023
7+
ms.date: 05/07/2025
88
author: ggailey777
99
ms.author: glenga
1010
manager: jmartens

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ In this module, you will:
2424
- Experience developing solutions in Visual Studio or a similar integrated development environment
2525

2626
> [!IMPORTANT]
27-
> The exercises in this module require a local installation of Visual Studio 2022 (hereafter referred to as Visual Studio) in a Windows environment.
27+
> The exercises in this module require a local installation of Visual Studio 2022 in a Windows environment.

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/includes/2-develop-and-test-azure-functions-locally.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Users can write, debug, and deploy an Azure Function from within the Azure portal. However, writing functions directly in a production, staging, or test environment might not be suitable. For example, writing automated unit tests for Azure Functions, or using on-demand deployment of Azure Functions to Function Apps in Azure. Usually, developers prefer to use a code editor and development tools rather than the environment provided by the Azure portal. Visual Studio enables you to develop and manage Azure Functions code using other code and services in a single project.
1+
Users can write, debug, and deploy an Azure Function from within the Azure portal. However, writing functions directly in a production, staging, or test environment might not be suitable. For example, writing automated unit tests for Azure Functions, or using on-demand deployment of Azure Functions to Function Apps in Azure. Usually, developers prefer to use a code editor and development tools rather than the environment provided by the Azure portal. Visual Studio enables you to develop and manage Azure Functions code by using other code and services in a single project.
22

33
In the online luxury watch scenario, developers are already familiar with Visual Studio 2022. So, you decide to use Visual Studio as the primary development environment for creating Azure Functions. Additionally, Visual Studio provides an excellent environment for testing your functions locally before deploying them to Azure.
44

@@ -36,7 +36,7 @@ A function app hosts one or more functions. It provides the environment and runt
3636
A function is triggered by an event rather than being called directly from an app. You specify the type of event that triggers each function in your Azure Function App. The events available include:
3737

3838
- **Blob trigger**. This type of function runs when a file is uploaded or modified in Azure Blob storage.
39-
- **Event Hub trigger**. An Event Hubs trigger runs the function when an event hub receives a message.
39+
- **Event Hub trigger**. This trigger runs the function when an event hub receives a message.
4040
- **Azure Cosmos DB trigger**. This trigger runs when a document is added to, or modified in an Azure Cosmos DB database. You can use this trigger to integrate Azure Cosmos DB with other services. For example, if a document representing a customer's order is added to a database, you could use a trigger to send a copy of the order to a queue for processing.
4141
- **Http trigger**. An HTTP trigger runs the function when an HTTP request occurs in a web app. You can also use this trigger to respond to webhooks. A webhook is a callback that occurs when an item hosted by a website is modified. For example, you can create a function triggered by a webhook from a GitHub repository when an item in the repository changes.
4242
- **Queue trigger**. This trigger starts the function when a new item is added to an Azure Storage Queue.
@@ -109,7 +109,7 @@ public static class Function2
109109
}
110110
```
111111

112-
In all cases, a function is passed an *ILogger* parameter. The function can use this parameter to write log messages, which the function app writes to storage for later analysis.
112+
In all cases, a function is passed an `ILogger` parameter. The function can use this parameter to write log messages, which the function app writes to storage for later analysis.
113113

114114
A function also contains metadata that specifies the type of the trigger, security requirements, and any other specific information requirements. You can modify metadata using the *HttpTrigger*, *BlobTrigger*, or other trigger attributes, as shown in the examples. The *FunctionName* attribute that precedes a function is an identifier for the function used by the Function App. This name doesn't have to be the same as the name of the function, but it's good practice to keep them synchronized to avoid confusion.
115115

learn-pr/azure/develop-test-deploy-azure-functions-with-visual-studio/includes/3-exercise-develop-and-test-azure-functions-locally.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In the luxury watch online website scenario, there's a requirement for a functio
55
In this exercise, you implement and test a version of this function locally using Visual Studio.
66

77
> [!NOTE]
8-
> Before starting this exercise, make sure you have VS 2022 installed, along with the Web & Cloud workload extensions **ASP.NET and web development** and **Azure development**.
8+
> Before starting this exercise, make sure you have Visual Studio 2022 installed, along with the Web & Cloud workload extensions **ASP.NET and web development** and **Azure development**.
99
1010
## Create an Azure Function App
1111

0 commit comments

Comments
 (0)