I have a project for creating a summer reading program registration tool (in ASP.NET c#) for a local library.
They require me to develop a "log in with Facebook" and "log in with Google" button that will take care of the account creation process. However, I am new to ASP.NET and do not know where to begin with this process!
All I can find on the Facebook developer page is the Javascript SDK, but my application will be built in C#, so can I still use that SDK? Also, I am trying to figure out how to build my database, so that one account (linked to Facebook/Google) can register multiple "children" in the reading program.
Does anyone know any good resources for where I can start?
Thank you in advance!
ASP.NET MVC 5 and new WebForms (as of 2013 VS Update 3, 2013 Express works too) support all kind of authentication
In visual studio 2013
go to File = New Project Visual C# => ASP.nET Web Application and choose ASP.NET MVC or WebForms. This will give you a template ready to start-setting up for Facebook, Google, MicrosoftAcc, twitter, OAuth. This "Start template" will also give you a good base to start your project.
Inside Startup.Auth.cs you can specify your AppIds for facebook/google etc
Read about details : http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio#auth
3b. (for WebForms) http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio#auth
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.