Tool to detect blocking constructions in .Net(C#) application and convert them to asynchronous version.
Blocking code descriptions can be found here
The tool was developed to conduct an experiment to complete master thesis on "Research on Refactoring Methods for Ensuring Async Code in .NET Applications".
The tool can be utilized as extension to Visual Studio.
Currently, only methods and local functions are processed.
In order to use the VS extension follow the next steps:
- Open context menu on any .cs file and select "Find and Fix async issues"
- The next step is to select the start point, which will be used to create a processable code graph
- Press "Apply" and wait utill dialog with suggested changes appear. In case of huge solution it may take few minutes
- Select changes to be applied. In case change is not required checkbox can be unmarked. If required, suggested change can be edited on dialog directly
- Press "Apply" and changes will be saved to file system