Service Fabric 应用程序和后续步骤Your Service Fabric application and next steps

已创建 Azure Service Fabric 应用程序。Your Azure Service Fabric application has been created. 本指南介绍一些可以尝试阅读的教程、项目构成、你可能感兴趣的其他信息,以及可能的后续步骤。This article describes some tutorials to try out, the makeup of your project, some more information you might be interested in, and potential next steps.

从教程、演练和示例入门Get started with tutorials, walk-throughs, and samples

已准备就绪?Ready to get started?

演练 .NET 应用程序教程。Work through the .NET application tutorial. 了解如何使用 ASP.NET Core 前端和有状态后端生成应用程序将应用程序部署到群集以及配置 CI/CDLearn how to build an app with an ASP.NET Core front-end and a stateful back-end, deploy the application to a cluster, and configure CI/CD.

或者,尝试阅读以下演练之一来了解:Or, try out one of the following walk-throughs and create your first...

我们还建议尝试演练示例应用程序You may also be interested in trying out our sample applications.

有问题或反馈?Have questions or feedback? 需要报告问题?Need to report an issue?

请阅读常见问题,找到有关 Service Fabric 的功能及其用法的答案。Read through common questions and find answers on what Service Fabric can do and how it should be used.

支持选项列出了 StackOverflow 和 MSDN 上可以解答问题的论坛,以及用于报告问题、获得支持和提交产品反馈的选项。Support options lists forums on StackOverflow and MSDN for asking questions as well as options for reporting issues, getting support, and submitting product feedback.

应用程序项目The application project

每个新应用程序都包含一个应用程序项目。Every new application includes an application project. 根据选择的服务类型,可能有一个或两个附加的项目。There may be one or two additional projects, depending on the type of service chosen.

应用程序项目包括:The application project consists of:

  • 对构成应用程序的服务的引用集。A set of references to the services that make up your application.
  • 三个发布配置文件(1-Node Local、5-Node Local 和 Cloud),可用于维护首选项以适应不同的环境 - 例如,与群集终结点相关的首选项,以及是否默认执行升级部署。Three publish profiles (1-Node Local, 5-Node Local, and Cloud) that you can use to maintain preferences for working with different environments--such as preferences related to a cluster endpoint and whether to perform upgrade deployments by default.
  • 三个应用程序参数文件(同上),可用于维护环境特定的应用程序配置,例如要为服务创建的分区数量。Three application parameter files (same as above) that you can use to maintain environment-specific application configurations, such as the number of partitions to create for a service. 了解如何为多个环境配置应用程序Learn how to configure your application for multiple environments.
  • 可使用部署脚本从命令行部署应用程序,或者通过自动持续集成和部署管道来部署应用程序。A deployment script that you can use to deploy your application from the command line or as part of an automated continuous integration and deployment pipeline. 详细了解如何使用 PowerShell 部署应用程序Learn more about deploying applications using PowerShell.
  • 用于描述应用程序的应用程序清单。The application manifest, which describes the application. 可以在 ApplicationPackageRoot 文件夹下查找清单。You can find the manifest under the ApplicationPackageRoot folder. 详细了解应用程序和服务清单Learn more about application and service manifests.

详细了解编程模型Learn more about the programming models

Service Fabric 提供了多种方法来编写和管理服务。Service Fabric offers multiple ways to write and manage your services. 下面是有关无状态和有状态 Reliable ServicesReliable Actors容器来宾可执行文件无状态和有状态 ASP.NET Core 服务的概述和概念信息。Here's overview and conceptual information on stateless and stateful Reliable Services, Reliable Actors, containers, guest executables, and stateless and stateful ASP.NET Core services.

了解服务通信Learn about service communication

Service Fabric 应用程序由不同的服务组成,其中每个服务执行专门的任务。A Service Fabric application is composed of different services, where each service performs a specialized task. 这些服务可以相互通信,群集外部可能有些客户端应用程序会与这些服务进行连接和通信。These services may communicate with each other and there may be client applications outside the cluster that connect to and communicate with services. 了解如何在 Service Fabric 中设置与服务进行的通信以及服务之间的通信Learn how to set up communication with and between your services in Service Fabric.

了解如何配置应用程序安全性Learn about configuring application security

可以保护群集中以不同用户帐户运行的应用程序。You can secure applications that are running in the cluster under different user accounts. 使用用户帐户进行部署时,Service Fabric 还有助于保护应用程序所使用的资源,例如文件、目录和证书。Service Fabric also helps secure the resources that are used by applications at the time of deployment under the user accounts--for example, files, directories, and certificates. 这样,即使是在共享托管环境中,运行应用程序会更加安全。This makes running applications, even in a shared hosted environment, more secure from one another. 了解如何为应用程序配置安全策略Learn how to configure security policies for your application.

应用程序可能包含敏感信息,例如存储连接字符串、密码或其他不应以明文形式处理的值。Your application may contain sensitive information, such as storage connection strings, passwords, or other values that should not be handled in plain text. 了解如何管理应用程序中的机密Learn how to manage secrets in your application.

了解应用程序生命周期Learn about the application lifecycle

与其他平台一样,Service Fabric 应用程序通常经历以下几个阶段:设计、开发、测试、部署、升级、维护和删除。As with other platforms, a Service Fabric application usually goes through the following phases: design, development, testing, deployment, upgrading, maintenance, and removal. 此文提供了有关 API 的概述,以及不同角色在 Service Fabric 应用程序生命周期的各个阶段如何使用它们。This article provides an overview of the APIs and how they are used by the different roles throughout the phases of the Service Fabric application lifecycle.

后续步骤Next steps