Dajbych.net


How to set up a Service Fabric development environment

, 2 minutes to read

Set­t­ing up a de­vel­op­ment ma­chine for Azure Ser­vice Fab­ric ap­pli­ca­tions al­lows de­vel­op­ers to test and de­bug mi­croser­vices lo­cally. Lo­cal clus­ter use the same run­time that will run in Azure.

Operating System

If you don’t have a li­cense of Win­dows 10, you can in­stall a free Win­dows 10 In­sider Pre­view.

Down­load Win­dows 10 In­sider Pre­view

You will be prompted ev­ery time dur­ing Vi­sual Stu­dio launch. To turn User Ac­count Con­trol off, press Start, type User­Ac­count­Con­trolSet­t­ings and press En­ter. Move the slider to Never no­tify po­si­tion and click OK.

IDE

There is a Com­mu­nity edi­tion of Vi­sual Stu­dio which is free and ideal for start­ing with Win­dows de­vel­op­ment. You can use it along­side with Vi­sual Stu­dio Team Ser­vices which of­fers source con­trol and work items man­age­ment.

Down­load Vi­sual Stu­dio Com­mu­nity edi­tion

Get started with Vi­sual Stu­dio Team Ser­vices

You have to launch the Vi­sual Stu­dio as an ad­min­is­tra­tor. To do this ev­ery time au­to­mat­i­cally, pin Vi­sual Stu­dio to the task bar, right click to the icon, then Vi­sual Stu­dio 2017Prop­er­tiesAd­vanced… → and check Launch as ad­min­is­tra­tor.

SDK & Tools

Ser­vice Fab­ric Lo­cal Clus­ter is use­ful for de­vel­op­ment. Ser­vice Fab­ric Tools are part of the Azure De­vel­op­ment and Man­age­ment work­load in Vi­sual Stu­dio 2017. Tools for Vi­sual Stu­dio 2015 needs to be in­stalled sep­arately.

In­stall the SDK for Vi­sual Stu­dio 2017

In­stall the SDK and tools for Vi­sual Stu­dio 2015

Local cluster

To set up a lo­cal clus­ter, press Start and type Ser­vice Fab­ric Lo­cal Clus­ter Man­ager and press En­ter. From sys­tem tray right click to the Ser­vice Fab­ric icon and nav­i­gate to Setup Lo­cal Clus­ter 1 Node. Wait few sec­onds un­til you see a no­ti­fi­ca­tion Ser­vice Fab­ric Lo­cal Clus­ter Man­ager setup com­pleted suc­cess­fully.