Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MVC  and Google Contacts API, how to create a controller that will call a view that will display all my contact from my gmail account.

Posted on 2014-03-20
3
Medium Priority
?
1,110 Views
Last Modified: 2014-11-12
I would like to see how I can create a controller that call a view from a google API. Does anyone as any tips. I'm guessing my view will have a for loop...

Found this online but not sure it is what I'm looking....

http://stackoverflow.com/questions/5860749/mvc-3-and-google-contacts-api
0
Comment
Question by:yguyon28
3 Comments
 

Author Comment

by:yguyon28
ID: 39944237
0
 
LVL 64

Expert Comment

by:Fernando Soto
ID: 39945347
First I have not done much as far as programming in ASP.Net MVC, That said have you attempted to create a Console application and get the Google contact to make sure the code works and can retrieve the needed information?

Once you have the code working the way you want then you can integrate it with your application you are working on, into the Model. Then you should be able to create a View from the Model and return that View from the controller.
0
 
LVL 25

Accepted Solution

by:
apeter earned 1500 total points
ID: 39950020
Use the "Controllder" to talk to google api and get the contact details and populate the contact "Model" . Use this model and populate the View.

The controller mostly return "View" is just to render data.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Many of you may be aware of the recent Google Docs scam emails that have been floating around coming from various people that you know. Here's a guide on identifying How To Identify the Scam Email You will see an email from someone you’ve had co…
This Micro Tutorial demonstrates the importance of annotations in Google Analytics and how they should be used to document changes made to a site, Google updates (Ex: Panda & Penguin), marketing campaigns, and any other events that might have contri…
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question