.NET - Solution for 401 Unauthorized

dotnet
oauth

#1

It turns out the default .NET implementation of UrlEncode outputs the percent encoding in lower case. Looks like Twitter expects uppercase encoding, returning a 401 when parameters are lower case.

The workaround is to override the .NET default implementation.