Skip to content

Commit 4fd54a6

Browse files
author
Cory Fowler
authored
Merge pull request #52924 from MicrosoftDocs/release-ignite-service-fabric
Ignite Merge Down
2 parents a3337d9 + a5c05ad commit 4fd54a6

11 files changed

+1124
-82
lines changed

articles/service-fabric-mesh/TOC.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,28 @@
1313
href: service-fabric-mesh-quickstart-dotnet-core.md
1414
- name: Tutorials
1515
items:
16-
- name: Create, debug and deploy a multi-service Service Fabric Mesh web app
16+
- name: Build and deploy a Mesh app with Visual Studio
1717
items:
18-
- name: 1- Build a Service Fabric Mesh web app
18+
- name: 1- Create a Mesh app
1919
href: service-fabric-mesh-tutorial-create-dotnetcore.md
20-
- name: 2- Debug a Service Fabric Mesh web app
20+
- name: 2- Debug a Mesh app
2121
href: service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md
22-
- name: 3- Deploy a Service Fabric Mesh web app
22+
- name: 3- Deploy a Mesh app
2323
href: service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md
24+
- name: 4- Upgrade a Mesh app
25+
href: service-fabric-mesh-tutorial-upgrade.md
26+
- name: 5- Clean up Mesh resources
27+
href: service-fabric-mesh-tutorial-cleanup-resources.md
28+
- name: Deploy, scale, and upgrade an Service Fabric Mesh app using a template
29+
items:
30+
- name: 1- Deploy a Service Fabric Mesh app
31+
href: service-fabric-mesh-tutorial-template-deploy-app.md
32+
- name: 2- Scale services in an application
33+
href: service-fabric-mesh-tutorial-template-scale-services.md
34+
- name: 3- Upgrade an application
35+
href: service-fabric-mesh-tutorial-template-upgrade-app.md
36+
- name: 4- Remove an application
37+
href: service-fabric-mesh-tutorial-template-remove-app.md
2438
- name: Concepts
2539
items:
2640
- name: Terminology

articles/service-fabric-mesh/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ sections:
3434
- title: Step-by-Step Tutorials
3535
items:
3636
- type: paragraph
37-
text: Learn how to create, debug, and deploy a multi-service Azure Service Fabric Mesh app.
37+
text: Learn how to build and deploy a Mesh app with Visual Studio.
3838
- type: list
3939
style: unordered
4040
items:
41-
- html: <a href="/azure/service-fabric-mesh/service-fabric-mesh-tutorial-create-dotnetcore">Create, debug, and deploy a multi-service web application to Service Fabric Mesh</a>
41+
- html: <a href="/azure/service-fabric-mesh/service-fabric-mesh-tutorial-create-dotnetcore">Create, debug, deploy and upgrade a multi-service web application to Service Fabric Mesh</a>
4242
- title: Reference
4343
items:
4444
- type: list
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: Tutorial- Cleanup Azure Service Fabric Mesh resources | Microsoft Docs
3+
description: Learn how to remove Azure Service Fabric Mesh resources so that you do not get charged for resources you are no longer using.
4+
services: service-fabric-mesh
5+
documentationcenter: .net
6+
author: TylerMSFT
7+
manager: jeconnoc
8+
editor: ''
9+
ms.assetid:
10+
ms.service: service-fabric-mesh
11+
ms.devlang: dotNet
12+
ms.topic: tutorial
13+
ms.tgt_pltfrm: NA
14+
ms.workload: NA
15+
ms.date: 09/18/2018
16+
ms.author: twhitney
17+
ms.custom: mvc, devcenter
18+
#Customer intent: As a developer, I want to avoid being charged for Azure resources I am no longer using.
19+
---
20+
21+
# Tutorial: Remove Azure resources
22+
23+
This tutorial is part five of a series and shows you how to delete the app and its resources so that you don't get charged for them.
24+
25+
In this tutorial you learn how to:
26+
> [!div class="checklist"]
27+
> * Clean up the resources used by the app so that you are not incurring a charge for them.
28+
29+
In this tutorial series you learn how to:
30+
> [!div class="checklist"]
31+
> * [Create a Service Fabric Mesh app in Visual Studio](service-fabric-mesh-tutorial-create-dotnetcore.md)
32+
> * [Debug a Service Fabric Mesh app running in your local development cluster](service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md)
33+
> * [Deploy a Service Fabric Mesh app](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)
34+
> * [Upgrade a Service Fabric Mesh app](service-fabric-mesh-tutorial-upgrade.md)
35+
> * Clean up Service Fabric Mesh resources
36+
37+
[!INCLUDE [preview note](./includes/include-preview-note.md)]
38+
39+
## Prerequisites
40+
41+
Before you begin this tutorial:
42+
43+
* If you haven't deployed the to-do app, follow the instructions in [Publish a Service Fabric Mesh web application](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md).
44+
45+
## Clean up resources
46+
47+
This is the end of the tutorial. When you are done with the resources you have created, delete them so that you are not charged for resources you are no longer using. This is particularly important because Mesh is a serverless service that bills per second. To learn more about Mesh pricing, check out https://aka.ms/sfmeshpricing.
48+
49+
One of the conveniences that Azure provides is that when you create resources that are associated to a particular resource group, deleting the resource group deletes all of the associated resources. That way you don't have to delete them one by one.
50+
51+
Since you created a new resource group to create the to-do app, you can safely delete this resource group, which will delete all of the associated resources.
52+
53+
```azurecli
54+
az group delete --resource-group sfmeshTutorial1RG
55+
```
56+
57+
```powershell
58+
Remove-AzureRmResourceGroup -Name sfmeshTutorial1RG
59+
```
60+
61+
Alternatively, you can delete the **sfmeshTutorial1RG** resource group [from the portal](../azure-resource-manager/resource-group-portal.md#delete-resource-group-or-resources).
62+
63+
## Next steps
64+
65+
Now that you have completed publishing a Service Fabric Mesh application to Azure, try the following:
66+
67+
* To see another example of service-to-service communication, explore the [Voting app sample](https://github.com/Azure-Samples/service-fabric-mesh/tree/master/src/votingapp)
68+
* To learn more about Service Fabric Resource Model, see [Service Fabric Mesh Resource Model](service-fabric-mesh-service-fabric-resources.md).
69+
* To learn more about Service Fabric Mesh, read the [Service Fabric Mesh overview](service-fabric-mesh-overview.md).
70+
* Read about the [Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview)

articles/service-fabric-mesh/service-fabric-mesh-tutorial-create-dotnetcore.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Tutorial-Create, debug, and deploy a multi-service web application to Service Fabric Mesh | Microsoft Docs
2+
title: Tutorial-Create, debug, deploy, and monitor a multi-service application to Service Fabric Mesh | Microsoft Docs
33
description: In this tutorial, you create a multi-service Azure Service Fabric Mesh application consisting of an ASP.NET Core website that communicates with a back-end web service, debug it locally, and publish it to Azure.
44
services: service-fabric-mesh
55
documentationcenter: .net
@@ -12,22 +12,24 @@ ms.devlang: dotNet
1212
ms.topic: tutorial
1313
ms.tgt_pltfrm: NA
1414
ms.workload: NA
15-
ms.date: 07/17/2018
15+
ms.date: 09/18/2018
1616
ms.author: twhitney
1717
ms.custom: mvc, devcenter
18-
#Customer intent: As a developer, I want learn how to create a Service Fabric Mesh app that communicates with another service, and then publish it to Azure.
18+
#Customer intent: As a developer, I want learn how to create a Service Fabric Mesh app that communicates with another service, debug it on my local development cluster, publish it to Azure, monitor it, upgrade it, and then clean up resources so that I am not charged for what I'm not using.
1919
---
2020

21-
# Tutorial: Create, debug, and deploy a multi-service web application to Service Fabric Mesh
21+
# Tutorial: Create, debug, deploy and upgrade a multi-service Service Fabric Mesh app
2222

23-
This tutorial is part one of a series. You'll learn how to create an Azure Service Fabric Mesh application that has an ASP.NET web front end and an ASP.NET Core Web API back-end service. Then you'll debug the app on your local development cluster and publish the app to Azure. When you're finished, you'll have a simple to-do app that demonstrates a service-to-service call in a Service Fabric Mesh application running in Azure Service Fabric Mesh.
23+
This tutorial is part one of a series. You'll learn how to use Visual Studio to create an Azure Service Fabric Mesh app that has an ASP.NET web front-end and an ASP.NET Core Web API back-end service. Then you'll debug the app on your local development cluster. You'll publish the app to Azure and then make config and code changes and upgrade the app. Finally, you'll clean up unused Azure resources so that you are not charged for what you aren't using.
24+
25+
When you're finished, you'll have walked through most of the phases of app lifecycle management and have built an app that demonstrates a service-to-service call in a Service Fabric Mesh app.
2426

2527
If you don't want to manually create the to-do application, you can [download the source code](https://github.com/azure-samples/service-fabric-mesh) for the completed application and skip ahead to [Debug the app locally](service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md).
2628

2729
In part one of the series, you learn how to:
2830

2931
> [!div class="checklist"]
30-
> * Create a Service Fabric Mesh application consisting of an ASP.NET web front end.
32+
> * Use Visual Studio to create a Service Fabric Mesh app consisting of an ASP.NET web front end.
3133
> * Create a model to represent to-do items.
3234
> * Create a back-end service & retrieve data from it.
3335
> * Add a controller and DataContext as part of that Model View Controller pattern for the back-end service.
@@ -36,9 +38,11 @@ In part one of the series, you learn how to:
3638
3739
In this tutorial series you learn how to:
3840
> [!div class="checklist"]
39-
> * Build a Service Fabric Mesh application
40-
> * [Debug the app locally](service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md)
41-
> * [Publish the app to Azure](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)
41+
> * Create a Service Fabric Mesh app in Visual Studio
42+
> * [Debug a Service Fabric Mesh app running in your local development cluster](service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md)
43+
> * [Deploy a Service Fabric Mesh app](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)
44+
> * [Upgrade a Service Fabric Mesh app](service-fabric-mesh-tutorial-upgrade.md)
45+
> * [Clean up Service Fabric Mesh resources](service-fabric-mesh-tutorial-cleanup-resources.md)
4246
4347
[!INCLUDE [preview note](./includes/include-preview-note.md)]
4448

@@ -50,9 +54,7 @@ Before you begin this tutorial:
5054

5155
* Make sure that you've [set up your development environment](service-fabric-mesh-howto-setup-developer-environment-sdk.md) which includes installing the Service Fabric runtime, SDK, Docker, and Visual Studio 2017.
5256

53-
* The app for this tutorial must, for now, be built using the English locale.
54-
55-
## Create a Service Fabric Mesh project
57+
## Create a Service Fabric Mesh project in Visual Studio
5658

5759
Run Visual Studio and select **File** > **New** > **Project...**
5860

@@ -208,10 +210,7 @@ public static class DataContext
208210

209211
static DataContext()
210212
{
211-
ToDoList = new Model.ToDoList("Main List");
212-
213213
// Seed to-do list
214-
215214
ToDoList.Add(Model.ToDoItem.Load("Learn about microservices", 0, true));
216215
ToDoList.Add(Model.ToDoItem.Load("Learn about Service Fabric", 1, true));
217216
ToDoList.Add(Model.ToDoItem.Load("Learn about Service Fabric Mesh", 2, false));
@@ -364,6 +363,7 @@ In the service.yaml file, add the following variables under `environmentVariable
364363

365364
> [!IMPORTANT]
366365
> Spaces, not tabs, must be used to indent the variables in the service.yaml file or it won't compile. Visual Studio may insert tabs as you create the environment variables. Replace all tabs with spaces. Although you'll see errors in the **build** debug output, the app will still launch. It won't work, however, until you convert the tabs to spaces. To ensure that no tabs are in the service.yaml file, you can make whitespace visible in the Visual Studio editor with **Edit** > **Advanced** > **View White Space**.
366+
> Note that service.yaml files are processed using the English locale. For example, if you need to use a decimal separator, use a period rather than a comma.
367367
368368
Your **WebFrontEnd** project's **service.yaml** file should look something like this although your `ApiHostPort` value will probably be different:
369369

@@ -376,7 +376,7 @@ Now you are ready to build and deploy the image the Service Fabric Mesh applicat
376376
In this part of the tutorial, you learned how to:
377377

378378
> [!div class="checklist"]
379-
> * Create a Service Fabric Mesh application consisting of an ASP.NET web front end.
379+
> * Create a Service Fabric Mesh app consisting of an ASP.NET web front-end.
380380
> * Create a model to represent to-do items.
381381
> * Create a back-end service & retrieve data from it.
382382
> * Add a controller and DataContext as part of that Model View Controller pattern for the back-end service.
@@ -385,4 +385,4 @@ In this part of the tutorial, you learned how to:
385385
386386
Advance to the next tutorial:
387387
> [!div class="nextstepaction"]
388-
> [Debug a Service Fabric Mesh application running locally](service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md)
388+
> [Debug a Service Fabric Mesh application running in your local development cluster](service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md)

articles/service-fabric-mesh/service-fabric-mesh-tutorial-debug-service-fabric-mesh-app.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Tutorial- Debug an Azure Service Fabric Mesh web application | Microsoft Docs
2+
title: Tutorial- Debug an Azure Service Fabric Mesh web application running in your local development cluster | Microsoft Docs
33
description: In this tutorial, debug an Azure Service Fabric Mesh application running on your local cluster.
44
services: service-fabric-mesh
55
documentationcenter: .net
@@ -12,15 +12,15 @@ ms.devlang: dotNet
1212
ms.topic: tutorial
1313
ms.tgt_pltfrm: NA
1414
ms.workload: NA
15-
ms.date: 07/17/2018
15+
ms.date: 09/18/2018
1616
ms.author: twhitney
1717
ms.custom: mvc, devcenter
18-
#Customer intent: As a developer, I want learn how to debug a Service Fabric Mesh app that communicates with another service.
18+
#Customer intent: As a developer, I want learn how to debug a Service Fabric Mesh app on my local development cluster
1919
---
2020

21-
# Tutorial: Debug a Service Fabric Mesh web application
21+
# Tutorial: Debug a Service Fabric Mesh application running in your local development cluster
2222

23-
This tutorial is part two of a series and shows you how to debug an Azure Service Fabric Mesh web application on your local development cluster.
23+
This tutorial is part two of a series and shows you how to build and debug an Azure Service Fabric Mesh app on your local development cluster.
2424

2525
In this tutorial you will learn:
2626

@@ -30,9 +30,11 @@ In this tutorial you will learn:
3030
3131
In this tutorial series you learn how to:
3232
> [!div class="checklist"]
33-
> * [Build a Service Fabric Mesh application](service-fabric-mesh-tutorial-create-dotnetcore.md)
34-
> * Debug the app locally
35-
> * [Publish the app to Azure](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)
33+
> * [Create a Service Fabric Mesh app in Visual Studio](service-fabric-mesh-tutorial-create-dotnetcore.md)
34+
> * Debug a Service Fabric Mesh app running in your local development cluster
35+
> * [Deploy a Service Fabric Mesh app](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)
36+
> * [Upgrade a Service Fabric Mesh app](service-fabric-mesh-tutorial-upgrade.md)
37+
> * [Clean up Service Fabric Mesh resources](service-fabric-mesh-tutorial-cleanup-resources.md)
3638
3739
[!INCLUDE [preview note](./includes/include-preview-note.md)]
3840

@@ -101,4 +103,4 @@ In this part of the tutorial, you learned:
101103
102104
Advance to the next tutorial:
103105
> [!div class="nextstepaction"]
104-
> [Publish a Service Fabric Mesh web application](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)
106+
> [Deploy a Service Fabric Mesh app](service-fabric-mesh-tutorial-deploy-service-fabric-mesh-app.md)

0 commit comments

Comments
 (0)