开发者

How to test Sample Solution from dotnetopenauth

I downloaded the latest dotnetopenauth from here https://www.ohloh.net/p/dotnetopenauth/download?package=DotNetOpenAuth&am开发者_StackOverflow社区p;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/


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.


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.


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

https://github.com/DotNetOpenAuth/DotNetOpenAuth/wiki/ContributorQuickStart

**Edit: Fixed link.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜