This post is migrated from previous hosting provider. There are still some issues with old posts. Please make a comment on this post with any issues.

Presentations and code for Office 365 and Windows Azure sessions from TechDays 2011

Tags: Windows Azure, SharePoint 2010, Presentations, Office 365, AppFabric

Back in the saddle from another TechDays event here in Sweden. This year it was all about the cloud! It was as always a great show and an awesome party. Thank you Microsoft, all presenters, all attendees and sponsors.

I did two sessions - or actually one session divided into two segments about Office 365 and Windows Azure. I tried to squeeze in as much cloud technology as I could in a one big demo. For those who attended - I hope you enjoyed it. If you want to go back to the slides or take a look at the demo code you can find them below. The sessions were also recorded so you can enjoy them in full glory (keep an eye on the TechDays site for more information).

Presentations and code

Here's the code.

Interview

I was also interviewed after my sessions by Peter Nicks from Microsoft - and here's the video of that:

TechDays 2011 Interview

See ya next year...

3 Comments

  • Trackback said

    This is a continuation from my last post:  Authentication with SharePoint Online and the Client Side Object Model Part 1 tackled how to authenticate and get data from SharePoint Online (SPO) in a client application like a Windows application.  This included popping up a browser in a dialog window where the user could enter their Office 365 credentials, and then attaching the authentication cookies Office 365 issued to the SharePoint Client Side Object Model (CSOM) to query to your SPO site. This works great for when a user is involved, but its not a good solution if you client code is a service or another application where a user isn’t present.  To deal with this scenario the code needs to effectively BE the user and login on their behalf. To do this this sample queries the Office 365 STS directly using the Windows Identity Foundation (WIF) .  WIF helps with managing the security tokens and requests to the STS.  Note : To run this sample you need to have the WIF runtime installed from here . At a high level this sample: Uses WIF to login the user with the Office 365 STS Extracts the Authentication Cookies from the response (“FedAuth” and “rtfa”) Constructs a CookieContainer with those cookies Attaches the CookieContainer to the CSOM web request Calls your SPO site and returns the Title property of the site Usage:  Compile the project and then run the ExampleCmdLine.exe like this: ExampleCmdLine.exe <spo site url> <spo username> <spo password> e.g. ExampleCmdLine.exe https://chjohn.sharepoint.com cj@chjohn.onmicrosoft.com pass@word1 PS: those are not really my credentials … don’t bother trying to run that example :) Note :  Its important you use HTTPS in your site url.  It wont work otherwise. Credits:  I am not clever enough to work this stuff out.  I need all the help I can get.  There were two people instrumental in putting this together.  I simply took from their examples and put it into  a simple example/package and tweaked a few things. Steve Peschka.  Excellent posts on this topic, here here and here Wictor Wilén.  Did a talk on this topic a while back, and who’s presentation and sample code is here Before you can run this you will need to install: WIF Runtime CSOM Redistributable Unzip, compile and run from a command prompt.  All things going well it will return you the title of your SPO site. Download:     Thanks, -Chris.

Add a Comment

AWS Tracker

About Wictor...

Wictor Wilén is a Director and SharePoint Architect working at Connecta AB. Wictor has achieved the Microsoft Certified Architect (MCA) - SharePoint 2010, Microsoft Certified Solutions Master (MCSM) - SharePoint  and Microsoft Certified Master (MCM) - SharePoint 2010 certifications. He has also been awarded Microsoft Most Valuable Professional (MVP) for four consecutive years.

And a word from our sponsors...

SharePoint 2010 Web Parts in Action