Search code examples
.netazurevisual-studio-2015.net-coreazure-service-fabric

Service Fabric: Use Refresh Mode for Faster Debugging


The Service Fabric Team announced in their blog post that Service Fabric now supports Refresh Mode in Preview when debugging on a 1 Node cluster in Visual Studio 2015.

I've just installed the new Service Fabric SDK from the Web Platform Installer and have a .Net Core Web Application Service I'd like to try this out with.

Is there anything else I need to do to configure the Service/Application for Refresh Mode? I haven't noticed any new controls as such in Visual Studio. I can only hit Debug as normal.


Solution

  • As the announce states about Refresh application debug mode in Visual Studio 2015 as follows:

    In conjunction with ASP.NET Core integration support, we’ve added a new application debug mode to the Service Fabric Application project. Refresh Mode allows you to quickly iterate between writing code and debugging and supports edit and refresh for ASP.NET Core services, so you can now develop ASP.NET Core services in Service Fabric the same way you would outside of Service Fabric.

    Though LoekD has pointed it out, I also tried to install Azure Service Fabric 5.5 and SDK 2.5, you could find the Refresh Application (Preview) as follows:

    enter image description here