简体   繁体   中英

Azure Service Fabric reset

I am using service fabric locally.

If I stopped debug mode for a couple of mins or restart the computer and continued my work it redeploys the application again from scratch.

How to make it only deploy the changed libraries (which I think it what it should do in the first place)

There is the Application Debug Mode property you can use ( source ):

Application Debug Modes

  1. Refresh Application This mode enables you to quickly change and debug your code and supports editing static web files while debugging. This mode only works if your local development cluster is in [1-Node mode]. This is the default Application Debug Mode.
  2. Remove Application causes the application to be removed when the debug session ends.
  3. Auto Upgrade The application continues to run when the debug session ends. The next debug session will treat the deployment as an upgrade. The upgrade process preserves any data that you entered in a previous debug session.
  4. Keep Application The application keeps running in the cluster when the debug session ends. At the beginning of the next debug session, the application will be removed.

I think you are looking for option 1 or 3.

You can set the property using the Service Fabric Application project properties.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM