This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* *********************************************************** | |
* CanaryTracer.cs | |
* Found at: https://jonasr.app/canary | |
* Created by: Jonas Rapp https://jonasr.app/ | |
* | |
* Writes everything from an IExecutionContext to the Plugin Trace Log. | |
* | |
* Sample call: | |
* tracingservice.TraceContext(context, | |
* includeparentcontext, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ConnectionListController : Controller | |
{ | |
public ActionResult Index() | |
{ | |
var model = new CrmConnections | |
{ | |
Connections = new ConnectionDetails | |
{ | |
Proxy = new Proxy(), | |
Name = "Client CRM Connections", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Contains details of the web proxy to be used to connect to each CRM instance | |
/// </summary> | |
public class Proxy | |
{ | |
public bool UseCustomProxy { get; set; } | |
public bool UseInternetExplorerProxy { get; set; } | |
public string Address { get; set; } = ""; | |
public string Username { get; set; } = ""; | |
public string Password { get; set; } = ""; |