Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I run a Service Fabric exe locally

How do I go about running a service built on top of the service fabric runtime just run locally by executing the *.exe file?

Currently it just throw an exception then the application is terminated.

I want to be able to spin up the service in isolating so I can test the service end to end before creating the service package before deploying it as part of an application. I've done this previously with TopShelf and Web Jobs but this doesnt seem to work with Service Fabric even though it's just built on top of a console application.

like image 425
Kevin Smith Avatar asked Jan 05 '17 21:01

Kevin Smith


1 Answers

You need a local service fabric cluster to debug Service Fabric applications, but first you need to install the The Azure Service Fabric SDK, check this article to help you do that.

And then deploy your application in your local cluster, this Microsoft's article might be useful doing that.

like image 129
Tha'er M. Al-Ajlouni Avatar answered Oct 11 '22 19:10

Tha'er M. Al-Ajlouni