The simplest code asp.net open source QQ login for Oauth2.0

Source: Internet
Author: User

Use the VS2005 development environment, and if you want to use VS2008 or VS2010, replace the accompanying Newtonsoft.Json.dll version yourself.

1, set up web.config of app_id and App_key

2, local debugging, please set the host file, Notepad open C:\Windows\System32\drivers\etc, add the following

#本机IP your domain name.
127.0.0.1 www. your domain name. com

3, the establishment of IIS site, open www. your domain name. com/login.aspx

The Logs folder txt contains detailed logging of the returned results before and after each step is sent.

When debugging is complete, be sure to remove the Write log feature for security.



Qqloginoauth2.0.rar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.