C# 网络编程之豆瓣OAuth2.0认证API开发详解和实现(源码)

上传者: eastmount | 上传时间: 2021-06-09 16:14:28 | 文件大小: 641KB | 文件类型: RAR
该资源参考博客:http://blog.csdn.net/eastmount/article/details/26872793主要介绍豆瓣API开发过程中如何通过OAuth2.0认证授权访问用户自己信息的.豆瓣API的资源较少,有的基本是php和java的,所以想通过该资源讲述C#认证的过程.主要分为三个步骤:获取autorization_code、获取access_token和使用access_token.详解参考博客,其中需要引用Newtonsoft.Json.dll解析JSON格式数据. 采用VS2012 .NET4.5开发,以下版本可能不能运行.同时需要填写自己的API Key,Sercet和回调地址.程序里的被我改过,一定填写自己的才能运行,如果不懂的建议参考博客完成. 该资源为免费资源供对豆瓣API感兴趣或正在开发而不知所措人解忧.

文件下载

资源详情

[{"title":"( 35 个子文件 641KB ) C# 网络编程之豆瓣OAuth2.0认证API开发详解和实现(源码)","children":[{"title":"(博客版)DoubanAPI程序","children":[{"title":"Net45","children":[{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 463.74KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 488.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.pdb <span style='color:#111;'> 1.19MB </span>","children":null,"spread":false}],"spread":true},{"title":"DoubanAPI.sln <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"DoubanAPI","children":[{"title":"DoubanAPI.csproj <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"DoubanAPI.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"DoubanAPI.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"DoubanAPI.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DoubanAPI.csprojResolveAssemblyReference.cache <span style='color:#111;'> 10.33KB </span>","children":null,"spread":false},{"title":"DoubanAPI.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"DoubanAPI.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DoubanAPI.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"DoubanAPI.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"DoubanAPI.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"DoubanAPI.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 488.50KB </span>","children":null,"spread":false},{"title":"DoubanAPI.vshost.exe <span style='color:#111;'> 22.45KB </span>","children":null,"spread":false},{"title":"DoubanAPI.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"DoubanAPI.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"DoubanAPI.v11.suo <span style='color:#111;'> 34.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • ke280563116 :
    还行,对于OAuth2.0不大了解的可以看下。
    2019-08-13
  • qq42918586 :
    虽然要分比较多,还好能用
    2018-10-27
  • l444304541 :
    不错的资源,下载了。
    2018-08-29
  • gaosiji :
    可以使用,还行
    2018-06-22
  • hostpc :
    已经无法下载了,找不到资源
    2018-04-03

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明