public EngageController() { //TODO: you should move the setting of the static EngageProvider.Settings to your global.asax or other setup code if (EngageProvider.Settings == null) { EngageProvider.ApplicationDomain = "your-site-name.rpxnow.com"; //TODO: set your site's Application Domain EngageProvider.Settings = new EngageNetSettings("YOUR_API_KEY"); //TODO: set your API key } _engage = EngageProvider.Build(); }
public EngageController(IEngageNet engage) { _engage = engage; }