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: articles/app-service/webjobs-sdk-get-started.md
+61-39Lines changed: 61 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to enable your web apps to run background tasks. Use this
4
4
author: ggailey777
5
5
ms.devlang: csharp
6
6
ms.custom: devx-track-csharp
7
-
ms.date: 06/25/2021
7
+
ms.date: 01/17/2025
8
8
ms.author: glenga
9
9
ms.topic: tutorial
10
10
@@ -15,7 +15,7 @@ ms.topic: tutorial
15
15
16
16
Get started with the Azure WebJobs SDK for Azure App Service to enable your web apps to run background tasks, scheduled tasks, and respond to events.
17
17
18
-
Use Visual Studio 2022 to create a .NET Core console app that uses the WebJobs SDK to respond to Azure Storage Queue messages, run the project locally, and finally deploy it to Azure.
18
+
Use Visual Studio 2022 to create a .NET 8 console app that uses the WebJobs SDK to respond to Azure Storage Queue messages, run the project locally, and finally deploy it to Azure.
19
19
20
20
In this tutorial, you will learn how to:
21
21
@@ -37,7 +37,7 @@ In this tutorial, you will learn how to:
37
37
In this section, you start by creating a project in Visual Studio 2022. Next, you'll add tools for Azure development, code publishing, and functions that listen for triggers and call functions. Last, you'll set up console logging that disables a legacy monitoring tool and enables a console provider with default filtering.
38
38
39
39
>[!NOTE]
40
-
>The procedures in this article are verified for creating a .NET Core console app that runs on .NET 6.0.
40
+
>The procedures in this article are verified for creating a C# console app that runs on .NET 8.0.
41
41
42
42
### Create a project
43
43
@@ -64,6 +64,9 @@ Install the latest WebJobs NuGet package. This package includes Microsoft.Azure.
>The sample code in this article works with package versions 4.x. Make sure you use a 4.x version because you get build errors when using package versions 5.x.
69
+
67
70
5. In the **Package Manager Console**, execute the command. The extension list appears and automatically installs.
68
71
69
72
### Create the Host
@@ -109,10 +112,10 @@ Set up console logging that uses the [ASP.NET Core logging framework](/aspnet/co
109
112
110
113
1. Get the latest stable version of the [`Microsoft.Extensions.Logging.Console` NuGet package](https://www.nuget.org/packages/Microsoft.Extensions.Logging.Console/), which includes `Microsoft.Extensions.Logging`.
111
114
112
-
2. In the following command, replace `<6_X_VERSION>` with the current version number you found in step 1. Each type of NuGet Package has a unique version number.
115
+
2. In the following command, replace `<9_X_VERSION>` with the current version number you found in step 1. Each type of NuGet Package has a unique version number.
3. In the **Package Manager Console**, fill in the current version number and execute the command. The extension list appears and automatically installs.
118
121
@@ -126,24 +129,30 @@ Set up console logging that uses the [ASP.NET Core logging framework](/aspnet/co
126
129
```cs
127
130
builder.ConfigureLogging((context, b) =>
128
131
{
129
-
b.AddConsole();
132
+
b.SetMinimumLevel(LogLevel.Error);
133
+
b.AddFilter("Function", LogLevel.Information);
134
+
b.AddFilter("Host", LogLevel.Debug);
135
+
b.AddConsole();
130
136
});
131
137
```
132
138
133
-
The `Main` methodnowlookslikethis:
139
+
Thisaddsloggingthatcaptureslogoutputfor function executions at the `Information` level, the host at the `Debug` level, and the `error` level for all other components. The `Main` method now looks like this:
134
140
135
141
```cs
136
142
static async Task Main()
137
143
{
138
144
varbuilder=newHostBuilder();
139
145
builder.ConfigureWebJobs(b=>
140
-
{
141
-
b.AddAzureStorageCoreServices();
142
-
});
146
+
{
147
+
b.AddAzureStorageCoreServices();
148
+
});
143
149
builder.ConfigureLogging((context, b) =>
144
-
{
145
-
b.AddConsole();
146
-
});
150
+
{
151
+
b.SetMinimumLevel(LogLevel.Error);
152
+
b.AddFilter("Function", LogLevel.Information);
153
+
b.AddFilter("Host", LogLevel.Debug);
154
+
b.AddConsole();
155
+
});
147
156
varhost=builder.Build();
148
157
using (host)
149
158
{
@@ -170,7 +179,7 @@ In this section, you create a function triggered by messages in an Azure Storage
>Beginningwith5.x, Microsoft.Azure.WebJobs.Extensions.Storagehasbeen [splitbystorageservice](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage/CHANGELOG.md#major-changes-and-features) and has migrated the `AddAzureStorage()` extension method by service type.
182
+
>Beginningwith5.x, Microsoft.Azure.WebJobs.Extensions.Storagehasbeen [splitbystorageservice](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage/CHANGELOG.md#major-changes-and-features) and has migrated the `AddAzureStorage()` extension method by service type. This version also requires you to update the version of the `Microsoft.Azure.WebJobs.Host.Storage` assembly used by the SDK.
174
183
175
184
1. Getthelateststableversionofthe [Microsoft.Azure.WebJobs.Extensions.Storage](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.Storage) NuGet package, version 5.x.
176
185
@@ -179,8 +188,15 @@ Starting with version 3 of the WebJobs SDK, to connect to Azure Storage services
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-overview-vector-similarity.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.date: 04/24/2024
12
12
13
13
# What are Vector Embeddings and Vector Search in Azure Cache for Redis?
14
14
15
-
Vector similarity search (VSS) has become a popular technology for AI-powered intelligent applications. Azure Cache for Redis can be used as a vector database by combining it models like [Azure OpenAI](/azure/ai-services/openai/overview) for Retrieval-Augmented Generative AI and analysis scenarios. This article is a high-level introduction to the concept of vector embeddings, vector similarity search, and how Redis can be used as a vector database powering intelligent applications.
15
+
Vector similarity search (VSS) has become a popular technology for AI-powered intelligent applications. Azure Cache for Redis can be used as a vector database when combined with models like [Azure OpenAI](/azure/ai-services/openai/overview) for Retrieval-Augmented Generative AI and other analysis scenarios. This article is a high-level introduction to the concept of vector embeddings, vector similarity search, and how Redis can be used as a vector database powering intelligent applications.
16
16
17
17
For tutorials and sample applications on how to use Azure Cache for Redis and Azure OpenAI to perform vector similarity search, see the following:
Copy file name to clipboardExpand all lines: articles/azure-maps/power-bi-visual-add-bubble-layer.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps
4
4
description: In this article, you learn how to use the bubble layer in an Azure Maps Power BI visual.
5
5
author: deniseatmicrosoft
6
6
ms.author: limingchen
7
-
ms.date: 12/04/2023
7
+
ms.date: 01/17/2025
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
10
10
ms.subservice: power-bi-visual
@@ -14,9 +14,13 @@ ms.subservice: power-bi-visual
14
14
15
15
The **Bubble layer** renders location data as scaled circles on the map.
16
16
17
-
:::image type="content" source="./media/power-bi-visual/bubble-layer-with-legend-color.png" alt-text="A map displaying point data using the bubble layer":::
17
+
:::image type="content" source="./media/power-bi-visual/bubble-layer-no-legend.png" lightbox="./media/power-bi-visual/bubble-layer-no-legend.png"alt-text="A map displaying point data using the bubble layer, all bubbles are blue.":::
18
18
19
-
Initially all bubbles have the same fill color. If a field is passed into the **Legend** bucket of the **Fields** pane, the bubbles are colored based on their categorization. The outline of the bubbles is white be default but can be changed to a new color or by enabling the high-contrast outline option. The **High-contrast outline** option dynamically assigns an outline color that is a high-contrast variant of the fill color. This helps to ensure the bubbles are clearly visible regardless of the style of the map. The following are the primary settings in the **Format** pane that are available in the **Bubble layer** section.
19
+
Initially all bubbles have the same fill color. If a field is passed into the **Legend** bucket of the **Fields** pane, the bubbles are colored based on their categorization.
20
+
21
+
:::image type="content" source="./media/power-bi-visual/bubble-layer-with-legend-color.png" lightbox="./media/power-bi-visual/bubble-layer-with-legend-color.png"alt-text="A map displaying point data using the bubble layer, the bubbles are colored based on their categorization with a legend showing what color is associated with which business.":::
22
+
23
+
The outline of the bubbles is white be default but can be changed to a new color or by enabling the high-contrast outline option. The **High-contrast outline** option dynamically assigns an outline color that is a high-contrast variant of the fill color. This helps to ensure the bubbles are clearly visible regardless of the style of the map. The following are the primary settings in the **Format** pane that are available in the **Bubble layer** section.
20
24
21
25
| Setting | Description |
22
26
|----------------|----------------|
@@ -41,8 +45,6 @@ If a field is passed into the **Size** bucket of the **Fields** pane, the bubble
41
45
42
46
When the **bubble layer** displays on a map, the **Category labels** settings become active in the **Format visual** pane.
43
47
44
-
:::image type="content" source="./media/power-bi-visual/category-labels.png" alt-text="A screenshot showing the category labels settings in the format visual section of Power BI." lightbox="./media/power-bi-visual/category-labels.png":::
45
-
46
48
The **Category labels** settings enable you to customize font setting such as font type, size and color as well as the category labels background color and transparency.
47
49
48
50
:::image type="content" source="./media/power-bi-visual/category-labels-example.png" alt-text="A screenshot showing the category labels on an Azure Maps map in Power BI." lightbox="./media/power-bi-visual/category-labels-example.png":::
Copy file name to clipboardExpand all lines: articles/azure-maps/power-bi-visual-add-tile-layer.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,19 @@ titleSuffix: Azure Maps Power BI visual
4
4
description: This article demonstrates how to use the tile layer in Azure Maps Power BI visual.
5
5
author: deniseatmicrosoft
6
6
ms.author: limingchen
7
-
ms.date: 07/18/2023
7
+
ms.date: 01/17/2025
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
10
10
ms.subservice: power-bi-visual
11
11
---
12
12
13
13
# Add a tile layer
14
14
15
-
The tile layer feature, like the reference layer feature, allows additional data to be overlaid on the map to provide more context. Tile layers allow you to superimpose images on top of the Azure Maps base map tiles. Superimposing images is a great way to overlay large or complex datasets such as imagery from drones, or millions of rows of data.
15
+
The tile layer feature, like the reference layer feature, allows other data to be overlaid on the map to provide more context. Tile layers allow you to superimpose images on top of the Azure Maps base map tiles. Superimposing images is a great way to overlay large or complex datasets such as imagery from drones, or millions of rows of data.
16
16
17
-
:::image type="content" source="./media/power-bi-visual/radar-tile-layer-with-bubbles.png"alt-text="A map displaying a bubble layer above a tile layer showing current infrared weather data from Azure Maps.":::
17
+
:::image type="content" source="./media/power-bi-visual/tile-layer.png" lightbox="./media/power-bi-visual/tile-layer.png"alt-text="A map displaying an open street map tile layer in an Azure Maps Power BI Visual.":::
18
18
19
-
A tile layer loads in tiles from a server. These images can either be prerendered or dynamically rendered. prerendered images are stored like any other image on a server using a naming convention that the tile layer understands. Dynamically rendered images use a service to load the images close to real time. Tile layers are a great way to visualize large datasets on the map. Not only can a tile layer be generated from an image, vector data can also be rendered as a tile layer too.
19
+
A tile layer loads in tiles from a server. These images can either be prerendered or dynamically rendered. Prerendered images are stored like any other image on a server using a naming convention that the tile layer understands. Dynamically rendered images use a service to load the images close to real time. Tile layers are a great way to visualize large datasets on the map. Not only can a tile layer be generated from an image, vector data can also be rendered as a tile layer too.
20
20
21
21
The bounding box and zoom range of where a tile service is available can be passed as settings to limit where tiles are requested, a performance enhancement for both the visual and the tile service. The following table gives an overview of all settings available in the **Format** pane available in the **Tile layer** section.
0 commit comments