Skip to content

Commit 5d678fa

Browse files
committed
final edits
1 parent a54a94a commit 5d678fa

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

articles/service-fabric/service-fabric-tutorial-create-dotnet-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,4 +642,4 @@ To stop the debugging session, select Shift+F5.
642642

643643
Advance to the next tutorial:
644644
> [!div class="nextstepaction"]
645-
> [Deploy the application to Azure](service-fabric-tutorial-deploy-app.md)
645+
> [Deploy the application to a cluster](service-fabric-tutorial-deploy-app.md)

articles/service-fabric/service-fabric-tutorial-dotnet-app-enable-https-endpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services: service-fabric
1010
ms.date: 05/17/2024
1111
---
1212

13-
# Tutorial: Add an HTTPS endpoint to an ASP.NET Core Web API front-end service by using Kestrel
13+
# Tutorial: Add an HTTPS endpoint for a Service Fabric application by using Kestrel
1414

1515
This tutorial is *part three* in a series. Learn how to add an HTTPS endpoint in an ASP.NET Core service running in Azure Service Fabric. When you're finished, you have a voting application that has an HTTPS-enabled ASP.NET Core web front end that listens on port 443. If you don't want to manually create the voting application in [part one of the tutorial series](service-fabric-tutorial-deploy-app.md), you can [download the source code](https://github.com/Azure-Samples/service-fabric-dotnet-quickstart/) to get the completed application.
1616

articles/service-fabric/service-fabric-tutorial-monitoring-aspnet.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services: service-fabric
99
ms.date: 05/17/2024
1010
---
1111

12-
# Tutorial: Monitor and diagnose an ASP.NET Core application on Service Fabric by using Application Insights
12+
# Tutorial: Monitor and diagnose a Service Fabric application by using Application Insights
1313

1414
This tutorial is *part five* in a series. It walks through the steps to configure monitoring and diagnostics for an ASP.NET Core application running on an Azure Service Fabric cluster by using Application Insights. You collect telemetry from the application that's developed in [part one of the tutorial series](service-fabric-tutorial-create-dotnet-app.md).
1515

@@ -137,23 +137,23 @@ To set up the NuGet package:
137137
.Build();
138138
```
139139

140-
In *VotingData.cs*, your code now looks similar to this example:
140+
In *VotingData.cs*, your code now looks similar to this example:
141141

142-
```csharp
143-
return new WebHostBuilder()
144-
.UseKestrel()
145-
.ConfigureServices(
146-
services => services
147-
.AddSingleton<StatefulServiceContext>(serviceContext)
148-
.AddSingleton<IReliableStateManager>(this.StateManager)
149-
.AddSingleton<ITelemetryInitializer>((serviceProvider) => FabricTelemetryInitializerExtension.CreateFabricTelemetryInitializer(serviceContext)))
150-
.UseContentRoot(Directory.GetCurrentDirectory())
151-
.UseStartup<Startup>()
152-
.UseApplicationInsights()
153-
.UseServiceFabricIntegration(listener, ServiceFabricIntegrationOptions.UseUniqueServiceUrl)
154-
.UseUrls(url)
155-
.Build();
156-
```
142+
```csharp
143+
return new WebHostBuilder()
144+
.UseKestrel()
145+
.ConfigureServices(
146+
services => services
147+
.AddSingleton<StatefulServiceContext>(serviceContext)
148+
.AddSingleton<IReliableStateManager>(this.StateManager)
149+
.AddSingleton<ITelemetryInitializer>((serviceProvider) => FabricTelemetryInitializerExtension.CreateFabricTelemetryInitializer(serviceContext)))
150+
.UseContentRoot(Directory.GetCurrentDirectory())
151+
.UseStartup<Startup>()
152+
.UseApplicationInsights()
153+
.UseServiceFabricIntegration(listener, ServiceFabricIntegrationOptions.UseUniqueServiceUrl)
154+
.UseUrls(url)
155+
.Build();
156+
```
157157

158158
Double-check that the `UseApplicationInsights()` method is called in both *VotingWeb.cs* and *VotingData.cs* as shown in the examples.
159159

0 commit comments

Comments
 (0)