A C# Project which allows you to locally debug Azure Data Factory Custom .Net Activities
Azure Data Factory's Cusotm Activities are quite powerful but are also quite painful when it comes to development and debugging. This tool should help you to ease these pains by enabling you to run your Custom C# Activity in a kind of local environment. It retrieves all information and settings from your local Azure Data Factory project folder to set up this environment and allows you debug the Custom Activity like any other C# code. The C# Console Application is supposted to be run from within Visual Studio mainly.
This repository contains:
- Custom Activity Debugger (can be copied to/used with any other Custom C# Activity)
- Sample ADF Custom .Net Activity
- Sample ADF Project calling the Custom .Net Activity from above
The Custom Activity Debugger can be copied to and integrate with any other ADF Custom .Net Activity by simply following the steps below:
- Copy the CustomActivityDebugger Folder to your Solution-Folder (already done in this sample)
- Add the Custom ActivityDebugger Project to the Solution
- Add a Reference to the ADF Custom Activity C# Project which must reside in same Solution
- Add the Namespace of your ADF Custom Activity to this file
- Change the static values in the Program-Class below to match your environment
- Set Breakpoints in your Custom Activity Code
- Start the Debugger (and/or set as Startup-Project)
- Happy Debugging!