windows-live

Windows Live ID in ASP.NET MVC

放肆的年华 提交于 2019-12-30 06:43:12
问题 does anyone know is there a way to implement Windows Live ID authentication into your ASP.NET MVC site. There is some info about OpenID implementations and it uses some libraries. So is there a way to implement Live ID or it is not yet supported. Thank you 回答1: The same way you would with Memberships: http://www.eggheadcafe.com/tutorials/aspnet/48857836-0c72-4efb-9d29-fbcb8e17ef3a/integrate-windows-live-id.aspx 回答2: Actually this is a valid business case, and I've gotten it to work with asp

Windows Live OAuth access XBox Live Info

为君一笑 提交于 2019-12-22 06:35:25
问题 So, I'm working on a website, and I want users to be able to log in with their xbox account to link their gamer tag to my site. I can use oauth like this: But, I can't figure out how to get xbox live permissions. Other sites that do this have permissions like this: How do I get this permissions which allow me to get info from an xbox account, like the gamertag? On the permissions page I don't see xbox anywhere. 回答1: You can do this pretty easily by using Xbox Live API, Sign up for the Xbox

Using Live Connect API in ASP.NET to retrieve a user's email address

风流意气都作罢 提交于 2019-12-19 03:12:35
问题 So I am fairly new to ASP.NET MVC and Windows Live Connect API. Basically I am trying to integrate Live sign in into my website. When users sign in, Live requests their permission to give my app certain info, sends the user to a redirect uri specified in my app settings appended with a querystring. Here, if the user is signing into the site for the first time, I want their basic info stored on my server (first name, last name, email). I have been able to get their first and last name, but am

WP8 + Upload File to Skydrive

房东的猫 提交于 2019-12-11 01:28:58
问题 I'm trying to upload a simple .cer file to SkyDrive. Regardless of the LiveConnectClient-Method I use, nothing happens. There is no compile, runtime or other Exception and my app never receives a LiveOperationResult . I'm using the emulator, and I'm able to log in to MS Live (so my internet connection is fine). Here is a excerpt of the code used: using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication()) { using(var fileStream = store.OpenFile(certPath, FileMode.Open

Importing Windows Live Contacts

陌路散爱 提交于 2019-12-10 10:58:27
问题 I've started with importing contacts from live. Now I don't know what MS is thinking, but they seriously do overcomplicate everything they put their hands to. For my app, it's very important that I get a phone number. So important in fact, that should you not have a phone number, your contact is skipped. With my method I can't see any phone numbers. I assumed that it would be shown if I loop through each contact one by one, but alas, no love. Here is my method: $import_id = time(); $client_id

Windows live api get email contact vs email hash

十年热恋 提交于 2019-12-10 00:31:05
问题 I am trying to get email contact from hotmail with php or javascript. I have read that windows live api return only hash of the email contact, and it is proved by the code example: http://isdk.dev.live.com/ISDK.aspx But some web site like facebook can retrieve the plaintext of email contact from hotmail. How it is possible? Thanks a lot. 回答1: You can test this code (dont forget to [SECRET API KEY] with your api key) : <?php function isEmail($email) { return filter_var($email, FILTER_VALIDATE

Get contact's phone numbers and emails using the Windows Live/OneDrive REST API

随声附和 提交于 2019-12-08 16:14:25
问题 Has anyone successfully used the Live SDK (also called OneDrive SDK) to retrieve the email addresses and/or phone numbers of an user's contacts ? The best I have been able to do is the get profiles for a users contacts but it only includes hashed email addresses and no phone numbers, like this for example : { "id": "contact.1e680c06000000000000000000000006", "first_name": "James", "last_name": "Cameron", "name": "James Cameron", "gender": null, "is_friend": false, "is_favorite": false, "user

Using REST to Login user to Windows Live

泄露秘密 提交于 2019-12-08 04:19:51
问题 I was reading through the windows live developers doc here. In that I saw they are having an authentication method something like this. GET https://oauth.live.com/authorize?client_id=CLIENT_ID&scope=SCOPES& response_type=RESPONSE_TYPE&redirect_uri=REDIRECT_URL I understood everything except for where do I give the username and password of the user ? I am planning to create an app(first one in my life) to learn the working. I also have never used or coded something over REST. 回答1: When using

WP7 how to store LiveConnectSession during TombStoning?

筅森魡賤 提交于 2019-12-06 06:48:15
问题 I'm using the windows live sign in strategy of the PhotoSkyOnTheGo example provided by MS. So when my app starts, it shows a windows live sign in page. During app runtime I remember the LiveConnectSession to connect to SkyDrive. Now when the app tombstones, I need a way to save the LiveConnectSession. IsolatedStorageSettings.ApplicationSettings does not work, probably because the LiveConnectSession is not serializable (it shows some InvalidDataContractException in the debug output). So how do

Windows Live OAuth access XBox Live Info

倖福魔咒の 提交于 2019-12-05 07:18:13
So, I'm working on a website, and I want users to be able to log in with their xbox account to link their gamer tag to my site. I can use oauth like this: But, I can't figure out how to get xbox live permissions. Other sites that do this have permissions like this: How do I get this permissions which allow me to get info from an xbox account, like the gamertag? On the permissions page I don't see xbox anywhere. You can do this pretty easily by using Xbox Live API, Sign up for the Xbox Live Creators Program and then you can call the Xbox Live REST endpoints directly to ask the user to authorize