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/service-fabric-mesh/index.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,11 @@ sections:
34
34
- title: Step-by-Step Tutorials
35
35
items:
36
36
- 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.
38
38
- type: list
39
39
style: unordered
40
40
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>
* 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
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)
Copy file name to clipboardExpand all lines: articles/service-fabric-mesh/service-fabric-mesh-tutorial-create-dotnetcore.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
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
3
3
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.
4
4
services: service-fabric-mesh
5
5
documentationcenter: .net
@@ -12,22 +12,24 @@ ms.devlang: dotNet
12
12
ms.topic: tutorial
13
13
ms.tgt_pltfrm: NA
14
14
ms.workload: NA
15
-
ms.date: 07/17/2018
15
+
ms.date: 09/18/2018
16
16
ms.author: twhitney
17
17
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.
19
19
---
20
20
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
22
22
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.
24
26
25
27
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).
26
28
27
29
In part one of the series, you learn how to:
28
30
29
31
> [!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.
31
33
> * Create a model to represent to-do items.
32
34
> * Create a back-end service & retrieve data from it.
33
35
> * 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:
36
38
37
39
In this tutorial series you learn how to:
38
40
> [!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)
* 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.
52
56
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
56
58
57
59
Run Visual Studio and select **File** > **New** > **Project...**
58
60
@@ -208,10 +210,7 @@ public static class DataContext
208
210
209
211
staticDataContext()
210
212
{
211
-
ToDoList=newModel.ToDoList("Main List");
212
-
213
213
// Seed to-do list
214
-
215
214
ToDoList.Add(Model.ToDoItem.Load("Learn about microservices", 0, true));
216
215
ToDoList.Add(Model.ToDoItem.Load("Learn about Service Fabric", 1, true));
217
216
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
364
363
365
364
> [!IMPORTANT]
366
365
> 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.
367
367
368
368
Your **WebFrontEnd** project's **service.yaml** file should look something like this although your `ApiHostPort` value will probably be different:
369
369
@@ -376,7 +376,7 @@ Now you are ready to build and deploy the image the Service Fabric Mesh applicat
376
376
In this part of the tutorial, you learned how to:
377
377
378
378
> [!div class="checklist"]
379
-
> * Create a Service Fabric Mesh application consisting of an ASP.NET web frontend.
379
+
> * Create a Service Fabric Mesh app consisting of an ASP.NET web front-end.
380
380
> * Create a model to represent to-do items.
381
381
> * Create a back-end service & retrieve data from it.
382
382
> * 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:
385
385
386
386
Advance to the next tutorial:
387
387
> [!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)
0 commit comments