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-本地节点、5-本地节点和云),可用于维护首选项以适应不同的环境,诸如与群集终结点相关的首选项,以及是否按默认执行升级部署。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