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/azure-signalr/signalr-tutorial-build-blazor-server-chat-app.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ description: In this tutorial, you learn how to build and modify a Blazor Server
4
4
author: vicancy
5
5
ms.service: azure-signalr-service
6
6
ms.topic: tutorial
7
-
ms.date: 05/22/2022
7
+
ms.date: 08/28/2024
8
8
ms.author: lianwei
9
9
ms.devlang: csharp
10
10
---
11
11
12
12
# Tutorial: Build a Blazor Server chat app
13
13
14
-
This tutorial shows you how to build and modify a Blazor Server app. You'll learn how to:
14
+
This tutorial shows you how to build and modify a Blazor Server app. You learn how to:
15
15
> [!div class="checklist"]
16
16
> * Build a simple chat room with the Blazor Server app template.
17
17
> * Work with Razor components.
@@ -37,7 +37,10 @@ Ready to start?
37
37
38
38
## Build a local chat room in Blazor Server app
39
39
40
-
Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built into the web application publish process to make managing the dependencies between the web app and SignalR service much more convenient. You can work in a local SignalR instance in a local development environment and work in Azure SignalR Service for Azure App Service at the same time without any code changes.
40
+
Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built into the web application publish process to make managing the dependencies between the web app and SignalR service much more convenient. You can work without any code changes at the same time:
41
+
42
+
* in a local SignalR instance, in a local development environment.
43
+
* in Azure SignalR Service for Azure App Service.
41
44
42
45
1. Create a Blazor chat app:
43
46
1. In Visual Studio, choose **Create a new project**.
@@ -106,7 +109,7 @@ Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built i
1.Create a new [Razor component](/aspnet/core/blazor/components/) called `ChatRoom.razor` under the `Pages` folder to implement the SignalR client. Follow the steps below or use the [ChatRoom.razor](https://github.com/aspnet/AzureSignalR-samples/tree/master/samples/BlazorChat/Pages/ChatRoom.razor) file.
112
+
1.To implement the SignalR client, create a new [Razor component](/aspnet/core/blazor/components/) called `ChatRoom.razor` under the `Pages` folder. Use the [ChatRoom.razor](https://github.com/aspnet/AzureSignalR-samples/tree/master/samples/BlazorChat/Pages/ChatRoom.razor) file or perform the following steps:
110
113
111
114
1. Add the [`@page`](/aspnet/core/mvc/views/razor#page) directive and the using statements. Use the [`@inject`](/aspnet/core/mvc/views/razor#inject) directive to inject the [`NavigationManager`](/aspnet/core/blazor/fundamentals/routing#uri-and-navigation-state-helpers) service.
112
115
@@ -363,7 +366,7 @@ Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built i
363
366
}
364
367
```
365
368
366
-
1.Press <kbd>F5</kbd> to run the app. Now, you can initiate the chat:
369
+
1.To run the app, press <kbd>F5</kbd>. Now, you can initiate the chat:
367
370
368
371
[](media/signalr-tutorial-build-blazor-server-chat-app/blazor-chat.gif#lightbox)
369
372
@@ -374,7 +377,7 @@ Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built i
374
377
When you deploy the Blazor app to Azure App Service, we recommend that you use [Azure SignalR Service](/aspnet/core/signalr/scale#azure-signalr-service). Azure SignalR Service allows for scaling up a Blazor Server app to a large number of concurrent SignalR connections. In addition, the SignalR service's global reach and high-performance datacenters significantly aid in reducing latency due to geography.
375
378
376
379
> [!IMPORTANT]
377
-
> In a Blazor Server app, UI states are maintained on the server side, which means a sticky server session is required to preserve state. If there is a single app server, sticky sessions are ensured by design. However, if there are multiple app servers, there are chances that the client negotiation and connection may go to different servers which may lead to an inconsistent UI state management in a Blazor app. Hence, it is recommended to enable sticky server sessions as shown below in *appsettings.json*:
380
+
> In a Blazor Server app, UI states are maintained on the server side, which means a sticky server session is required to preserve state. If there is a single app server, sticky sessions are ensured by design. However, if multiple app serversare in use, the client negotiation and connection may be redirected to different servers, which may lead to an inconsistent UI state management in a Blazor app. Hence, it is recommended to enable sticky server sessions as shown in *appsettings.json*:
378
381
>
379
382
> ```json
380
383
> "Azure:SignalR:ServerStickyMode": "Required"
@@ -393,7 +396,7 @@ When you deploy the Blazor app to Azure App Service, we recommend that you use [
393
396
394
397
[  ](media/signalr-tutorial-build-blazor-server-chat-app/blazor-chat-dependency.png#lightbox)
395
398
396
-
The service dependency will carry out the following activities to enable your app to automatically switch to Azure SignalR Service when on Azure:
399
+
The service dependency carries out the following activities to enable your app to automatically switch to Azure SignalR Service when on Azure:
397
400
398
401
* Update [`HostingStartupAssembly`](/aspnet/core/fundamentals/host/platform-specific-configuration) to use Azure SignalR Service.
399
402
* Add the Azure SignalR Service NuGet package reference.
@@ -422,7 +425,7 @@ When you deploy the Blazor app to Azure App Service, we recommend that you use [
422
425
dotnet add package Microsoft.Azure.SignalR
423
426
```
424
427
425
-
1. Add a call to `AddAzureSignalR()` in `Startup.ConfigureServices()` as demonstrated below.
428
+
1. Add a call to `AddAzureSignalR()` in `Startup.ConfigureServices()` as shown in the following example:
Copy file name to clipboardExpand all lines: articles/backup/backup-mabs-unattended-install.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Silent installation of Azure Backup Server V4
3
3
description: Use a PowerShell script to silently install Azure Backup Server V4. This kind of installation is also called an unattended installation.
4
4
ms.service: azure-backup
5
5
ms.topic: how-to
6
-
ms.date: 04/18/2024
6
+
ms.date: 09/18/2024
7
7
author: AbhishekMallick-MS
8
8
ms.author: v-abhmallick
9
9
---
@@ -28,6 +28,9 @@ To install the Backup Server, run the following command:
28
28
3. On the server that hosts Azure Backup Server V4 or later, create a text file. (You can create the file in Notepad or in another text editor.) Save the file as MABSSetup.ini.
29
29
4. Paste the following code in the MABSSetup.ini file. Replace the text inside the brackets (\<\>) with values from your environment. The following text is an example:
30
30
31
+
>[!Caution]
32
+
>Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. Ensure that you delete the **MABSSetup.ini** file once the installation is complete.
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/cli-ot-sensor.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,6 @@ Use the following commands to restart the OT sensor appliance.
60
60
|User |Command |Full command syntax |
61
61
|---------|---------|---------|
62
62
|**admin**|`system reboot`| No attributes |
63
-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|`sudo reboot`| No attributes |
64
63
|**cyberx_host** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|`sudo reboot`| No attributes |
65
64
66
65
For example, for the *admin* user:
@@ -76,7 +75,6 @@ Use the following commands to shut down the OT sensor appliance.
76
75
|User |Command |Full command syntax |
77
76
|---------|---------|---------|
78
77
|**admin**|`system shutdown`| No attributes |
79
-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|`sudo shutdown -r now`| No attributes |
80
78
|**cyberx_host**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|`sudo shutdown -r now`| No attributes |
title: Migrate to Azure Monitor Agent from Log Analytics agent
3
+
description: Procedure to migrate to Azure Monitor Agent from MMA
4
+
author: v-sreedevank
5
+
ms.author: prijaisw
6
+
ms.topic: how-to
7
+
ms.date: 09/18/2024
8
+
9
+
# Customer intent: As an azure administrator, I want to understand the process of migrating from the MMA agent to the AMA agent.
10
+
11
+
---
12
+
13
+
# Agent-based dependency analysis using Azure monitor agent (AMA)
14
+
15
+
Dependency analysis helps you to identify and understand dependencies across servers that you want to assess and migrate to Azure. We currently perform agent-based dependency analysis by downloading the [MMA agent and associating a Log Analytics workspace](concepts-dependency-visualization.md) with the Azure Migrate project.
16
+
17
+
[Azure Monitor Agent (AMA)](/azure/azure-monitor/agents/azure-monitor-agent-overview) replaces the Log Analytics agent, also known as Microsoft Monitor Agent (MMA) and OMS, for Windows and Linux machines, in Azure and non-Azure environments, on-premises, and other clouds.
18
+
19
+
This article describes the impact on agent-based dependency analysis because of Azure Monitor Agent (AMA) replacing the Log Analytics agent (also known as Microsoft Monitor agent (MMA)) and provides guidance to migrate from the Log Analytics agent to Azure Monitor Agent.
20
+
21
+
> [!IMPORTANT]
22
+
> The Log Analytics agent will be [retired on **August 31, 2024**](https://azure.microsoft.com/updates/were-retiring-the-log-analytics-agent-in-azure-monitor-on-31-august-2024/). You can expect the following when you use the MMA or OMS agent after this date.
23
+
> -**Data upload:** Cloud ingestion services will gradually reduce support for MMA agents, which may result in decreased support and potential compatibility issues for MMA agents over time. Ingestion for MMA will be unchanged until February 1 2025.
24
+
> -**Installation:** The ability to install the legacy agents will be removed from the Azure portal and installation policies for legacy agents will be removed. You can still install the MMA agents extension as well as perform offline installations.
25
+
> -**Customer Support:** You will not be able to get support for legacy agent issues.
26
+
> -**OS Support:** Support for new Linux or Windows distros, including service packs, won't be added after the deprecation of the legacy agents.
27
+
28
+
> [!Note]
29
+
> Starting July 1, 2024, [Standard Log Analytics charges](https://go.microsoft.com/fwlink/?linkid=2278207) are applicable for Agent-based dependency visualization. We suggest moving to [agentless dependency analysis](how-to-create-group-machine-dependencies-agentless.md) for a seamless experience.
30
+
31
+
> [!Note]
32
+
> The pricing estimation has been covered in [Estimate the price change](#estimate-the-price-change) section.
33
+
34
+
## Migrate from Log analytics agent (MMA) to Azure Monitor agent (AMA)
35
+
36
+
If you already set up MMA and the associated Log Analytics workspace with your Azure Migrate project, you can migrate from the existing Log analytics agent to Azure Monitor agent without breaking/changing the association of the Log Analytics workspace with the Azure Migrate project by following these steps.
37
+
38
+
1. To deploy the Azure Monitor agent, it's recommended to first clean up the existing Service Map to avoid duplicates. [Learn more](/azure/azure-monitor/vm/vminsights-migrate-from-service-map#remove-the-service-map-solution-from-the-workspace).
39
+
40
+
1. Review the [prerequisites](/azure/azure-monitor/agents/azure-monitor-agent-manage#prerequisites) to install the Azure Monitor Agent.
41
+
42
+
1. Download and run the script on the host machine as detailed in [Installation options](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal#installation-options). To get the Azure Monitor agent and the Dependency agent deployed on the guest machine, create the [Data collection rule (DCR)](/azure/azure-monitor/agents/azure-monitor-agent-data-collection) that maps to the Log analytics workspace ID.
43
+
44
+
In the transition scenario, the Log analytics workspace would be the same as the one that was configured for Service Map agent. DCR allows you to enable the collection of Processes and Dependencies. By default, it's disabled.
45
+
46
+
## Estimate the price change
47
+
48
+
You'll now be charged for associating a Log Analytics workspace with Azure Migrate project. This was earlier free for the first 180 days.
49
+
As per the pricing change, you'll be billed against the volume of data gathered by the AMA agent and transmitted to the workspace. To review the volume of data you're gathering, follow these steps:
50
+
51
+
1. Sign in to the Log analytics workspace.
52
+
1. Navigate to the **Logs** section and run the following query:
53
+
54
+
```
55
+
let AzureMigrateDataTables = dynamic(["ServiceMapProcess_CL","ServiceMapComputer_CL","VMBoundPort","VMConnection","VMComputer","VMProcess","InsightsMetrics"]); Usage
56
+
57
+
| where StartTime >= startofday(ago(30d)) and StartTime < startofday(now())
## Support for Azure Monitor agent in Azure Migrate
65
+
66
+
Install and manage Azure Monitor agent as mentioned [here](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal). Currently, you can download the Log Analytics agent through the Azure Migrate portal.
67
+
68
+
## Next steps
69
+
[Learn](how-to-create-group-machine-dependencies.md) how to create dependencies for a group.
0 commit comments