Implement an endpoint settings plugin
The endpoint settings are configured using the endpoint template. In this example, settings such as the path of the file that can be read and whether the first line of the file contains column headers can be configured.
The endpoint template provides design-time access to the endpoint settings. Runtime access to the endpoint settings is provided through plugins. You must use a plugin to handle the specific settings on the endpoint.
To implement an endpoint settings plugin:
-
In Visual Studio, add the following class:
-
Add the following class:
This extension method makes it easier to access the plugin when it is needed.
Providing extension methods to access a plugin is a best practice to consider when implementing a provider for Data Exchange Framework.