官术网_书友最值得收藏!

Preparing your system

To get started with developing applications on Service Fabric, you will need to the following:

  1. Install the runtime, SDK, and tools.
  2. A Service Fabric cluster to deploy your applications.
  3. Configure PowerShell to enable SDK script execution.

We are going to use C#, Visual Studio 2015, and Windows 10 to develop all samples in this book.

You can find the steps to to prepare your development environment on various operating systems at this link: https://azure.microsoft.com/en-us/documentation/articles/service-fabric-get-started/.

To install the SDK, tools, and Service Fabric runtime, use the Web Platform Installer (Visual Studio 2015) or enable Service Fabric workload (Visual Studio 2017). You can read more about these options at:

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started.

Service Fabric uses Windows PowerShell scripts for creating a local development cluster and for deploying applications from Visual Studio. By default, Windows blocks these scripts from running. To enable them, you must modify your PowerShell execution policy. Open PowerShell as an administrator and enter the following command:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser

After you have completed the installation steps, you should be able to find the Service Fabric local cluster manager installed in your system, along with new Service Fabric project templates in your Visual Studio. Let's get started with building our first application on Service Fabric in the next chapter.

主站蜘蛛池模板: 林芝县| 海兴县| 苍山县| 郯城县| 芦山县| 元阳县| 永康市| 神木县| 临汾市| 邵武市| 武穴市| 织金县| 三都| 海盐县| 郧西县| 潞西市| 铜川市| 嘉义县| 明水县| 蛟河市| 周至县| 永城市| 六安市| 临颍县| 稻城县| 正阳县| 宿松县| 大庆市| 赤城县| 靖远县| 堆龙德庆县| 道孚县| 三门峡市| 绥滨县| 中卫市| 敖汉旗| 丰顺县| 杭锦后旗| 海门市| 江口县| 平陆县|