English 中文(简体)
On what .NET Framework(s) is DotNetOpenAuth available?
原标题:

Most (all?) OAuth resources - both information about the protocol and code libraries for easily using them in your own applications - one seems to find on the internet seem to assume the application you are using it in is a web application.

I would however like to start using OAuth in my windows mobile Twitter client for interactions with Twitter where I now use Basic Authentication through a set of simple methods I hand rolled.

If I m correct, Basic Authentication is about to be deprecated by Twitter in June of 2010, so I have a hard deadline to keep my Twitter client working after this summer. Also, I would like to be able to easily start adding some support for other services that use OAuth, such a Foursquare.

My questions for now are of course simple:

  1. Is DotNetOpenAuth only usable on the regular .NET framework, or is there a compact framework version as well?

  2. Do any of you know of any (other?) OAuth libraries that I could use OAuth on a .NET Compact Framework 3.5 application?

Can anyone help with simple answers? ;-)

最佳回答

DotNetOpenAuth currently only works on the full desktop .NET Framework 3.5 and later.

There are mild designs to support .NET Compact Framework in the future for OAuth consumers as you need, but it needs an actual feature request filed, and funding. If you can do one or both of these it will increase the speed that this feature can be delivered.

That said, someone has already published a sample OAuth 1.0a implementation for .NET Compact Framework that may be useful to you.

Similar question: Looking for OAuth 1.0a sample code for .NET compact framework

问题回答

Looks like TweetSharp might be an option. Will keep you all posted as/if I learn more.





相关问题
How would you refactor this bit of code?

This bit of code runs on Windows Compact Framework and what it does is obvious. It looks as it should be refactored (especially considering that I may want to add cmd.ExecuteResultSet() later), but I ...

Using maps on Windows Mobile

I m experimenting with maps on different mobile platforms. Getting Google Maps to work on Android was easy, following this tutorial. Getting the same to work on Windows Mobile is a different matter. ...

Upload file to server in Windows mobile C# project

We have a setup of server and windows mobile device as a client. In server CSI script ready to accept single file from client. In Desktop we have use WebClient.UploadFile method to upload file to ...

Custom listview control for windows mobile in c#

I need to develop a custom listview control (ie, i need two labels and a progress bar in each list item) . I am new to windows mobile so please help me with code samples.

sending USSD in C#?

I want to write a simple c# application runs on windows mobile 6 which can send USSD messages Is there any library that could help me in doing this?? or is there any examples that explains how to ...

Do mobile phones have a Server : Port Scheme ?

I am new to mobile phone programming, find networking very interesting, and have this question: Does a phone running Windows Mobile or other OS s have Server:Port scheme, and what are the ports? ...

compact framework 2.0 detecting enter key in a textbox

I am developing a small app for a Motorola 9090-G using .net compact framework 2.0. My problem is that I can t seem to detect an enter keypress in a textbox. How do you detect an enter keypress in a ...

热门标签