views:

40

answers:

0

I need to restart and gracefully close my application in case of errors. Now i have two options one is using OnThreadedException handler and other is to use Application Recovery and Restart model. If anybody has worked in them , can he tell me that what is the major difference between both of them except the second one allow you to automatic restart

I think one of the advantage of ApplicationRecovery framework is that your application first exit and automatically restarted by the framework. For example, as in my case, my application is occupying the service endpoint which will not available to other instance. Hence only option in this case to completely exit my application and then restart which is not possible in case of OnThreadedException.