views:

260

answers:

3

I downloaded the latest dotnetopenauth from here https://www.ohloh.net/p/dotnetopenauth/download?package=DotNetOpenAuth&release=3.4.1

I open the sample solution, now i just want to test "OAuthServiceProvider", how do i do this? it doesn't work.

Project Link: http://www.dotnetopenauth.net/

A: 

From the Menu, select the follwong commands in steps

Step1 build the project: Build - > Build Solution

Step2: Run the project: Debug -> Start Debugging / Start without Debugging.

Asad Butt
I did this, but it didn't work, errorhttp://i.imagehost.org/0945/vserror.jpg----------
K001
A: 

Please check out this page on our website which should help you get things sorted out.

http://www.dotnetopenauth.net/developers/quickstart-environment/

David Christiansen
+2  A: 

The OAuthServiceProvider sample is designed to work with the OAuthConsumer sample. But the consumer sample's web.config file needs to be modified to allow for making HTTP requests to localhost if you host it locally. Then make sure the port numbers line up. Finally, you have to add your own data to the database in OAuthServiceProvider so that it works meaningfully for you.

Overall, this is one of the worst samples that come with DNOA for purposes of running the sample to see it work. We need to improve that story. But it may still be useful to just code review for your own project.

Andrew Arnott