Skip to content

Instantly share code, notes, and snippets.

Avatar

Mark Carrington MarkMpn

View GitHub Profile
@MarkMpn
MarkMpn / CanaryTracer.cs
Created Jul 3, 2020 — forked from rappen/CanaryTracer.cs
Extension that writes everything from an IExecutionContext to the Plugin Trace Log
View CanaryTracer.cs
/* ***********************************************************
* 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,
@MarkMpn
MarkMpn / ConnectionListController.cs
Created Mar 4, 2019
ASP.NET MVC Controller to generate XrmToolBox Connection List
View ConnectionListController.cs
public class ConnectionListController : Controller
{
public ActionResult Index()
{
var model = new CrmConnections
{
Connections = new ConnectionDetails
{
Proxy = new Proxy(),
Name = "Client CRM Connections",
@MarkMpn
MarkMpn / XrmToolBoxConnection.cs
Created Mar 4, 2019
XrmToolBox Connection Serialization
View XrmToolBoxConnection.cs
/// <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; } = "";
You can’t perform that action at this time.