File => Attach To Process, pick devenv.exe
.symfix
.reload
.loadby sos clr
using System; | |
using System.Runtime.InteropServices; | |
class Program | |
{ | |
static void Main() | |
{ | |
dynamic calc = Activator.CreateInstance(Marshal.GetTypeFromCLSID(new Guid(148736, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70))); | |
Console.WriteLine(calc.Evaluate("2+3*5")); | |
} |
using System.Net; | |
// Get the URI that the Microsoft Push Notification Service returns to the push client when creating a notification channel. | |
// Normally, a web service would listen for URIs coming from the web client and maintain a list of URIs to send | |
// notifications out to. | |
string subscriptionUri = "YOUR PUSH NOTIFICATION URL"; | |
HttpWebRequest sendNotificationRequest = (HttpWebRequest)WebRequest.Create(subscriptionUri); |
I've had lots of discussions with people over the past few days around how open source projects in the .NET space have poor documentation (if it exists). So how do we fix this?
At a high-level, I've got these goals in mind:
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: