First published on MSDN on Jun 13, 2016
Today, we are releasing Service Fabric SDK v2.1.150. This release includes a number of new features, along with a set of important bug fixes. You can get the updated SDK from the links below:
We've added an ASP.NET Core project template so that you can easily include a web app or web service in your Service Fabric application. To learn how you can add an ASP.NET frontend to your application, take a look at
Azure Active Directory for client authentication
You can now use Azure Active Directory to authenticate clients to your cluster management endpoint, as an alternative to using client certificates. Follow
to get started.
Build Service Fabric applications without installing the SDK or Visual Studio
Many of you asked for a way to perform automated builds of Service Fabric applications without requiring the SDK and Visual Studio to be installed. With this release, we've encapsulated all build artifacts into a standalone NuGet package that can travel with your project so that all you need is MSBuild. This enables the use of Visual Studio Team Services (VSTS) hosted build agents. To learn how to set up continuous integration with Service Fabric, follow
Package guest executables in Visual Studio
Service Fabric enables the packaging and running of arbitrary executables as services, providing the availability and scalability benefits of the platform to software written in any language or framework. These services are referred to as
and with this release, it's much easier to work with them in Visual Studio. Simply tell VS where it can find your executable and how you want it started and it will take care of the rest, including creating a service manifest and updating the application manifest. You can learn more about guest executables
RunAsync cancellation delays generate health warnings
When the cancellation token provided in RunAsync is signaled, you are expected to shut down quickly and gracefully to enable the platform to complete the operation in progress. With this release, long delays in responding to cancellation will automatically generate a health warning to help diagnose issues that arise as a result.
Fix for blue screens/crashes that occurred when sleeping/waking onebox machines
Several customers reported blue screens when coming out of sleep on their development machines. This has been resolved.
We have completed the rollout of the Service Fabric runtime upgrade (v5.1.150) to Azure clusters worldwide. If your cluster was not upgraded, it likely means that it was not in a healthy state or that it went into an unhealthy state during the upgrade and was rolled back. You can learn more about the upgrade process
Starting with this release, we will maintain at least the last two minor versions of the Service Fabric SDK in the Web Platform Installer feed. Simply search WebPI for "service fabric" to see all available releases.
Questions, issues and feedback
As always, we're watching out for your feedback and bug reports. See
for a list of places you can find us.