Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

How do apps handle different user accounts

Hi guy's I just had a wonder moment I want to create an app for c# & android where users manage information I have read how to create authentication with windows azure ( which seems awesome ) but I was wondering how do apps link a user to their info i.e. when you log into treehouse you only get your Info , how do apps do this after authenticating the user just wondering any guidance would be helpful in c# especially

1 Answer

Treehouse is built with Ruby on Rails. Once you enter an email and password and this is authenticated, it populates the view (page) with that users data that is stored in a database. It's alot more complicated than that using MVC. But you would really want to look into creating user accounts and sessions really.

So the part of the app that sort of links the user to their info uses sessions ?

Yes and it will pull data from a database