XendBridge .NET SDK
Xendbridge provides a .NET SDK which can be integrated by downloading from the Nugget Package Manager on Visual Studio or from the website.
The .NET SDK can be integrated by downloading from the Nugget Package Manager on Visual Studio or from the website.
Firstly, in your appsettings.json file, you'd need to add the following JSON object and properties and populate them with the necessary values considering the environments of your choice. See Get Your Secret and Public Keys and Environments to get your keys and urls.
Secondly, add or bind the config settings to your project by injecting it into your services using the following code snippet;
public static IServiceCollection ConfigureAppSettingsBinding(this IServiceCollection services, IConfiguration Configuration)
//Your other registered services can be here
Lastly, you'd need to register the SDK as a service in the services using the code snippet below;
public static IServiceCollection RegisterServices(this IServiceCollection services)
After adding the setup above, the following functions, objects, and params are provided for the following method calls below.