About Me

Part time developer, but mostly I like to play with things. Pretty much anything is fair game -whether it be PowerShell, ASP.NET, C#, SharePoint or whatever.  I live in the Seattle area.

 

26 thoughts on “About Me

    • I answered this recently on Stack Overflow. In the C# .NET project, there is a App_Start\Startup.MobileApp.cs file – this contains the startup for the C# edition of Azure Mobile Apps. The JWT definition is in there (rather clearly) – you will need the same stuff – Audience, Issuer and ClientSecret.

      Like

  1. Hi Adrian,

    I followed your tutorial on asp.net authentication providers. I use the following code to get the email address of a social provider but seems to get stuck on twitter :
    return credentials.UserClaims
    .Where(claim => claim.Type.EndsWith(“/emailaddress”))
    .First()
    .Value;

    To get a email address from twitter your app has to be whitelisted on their development portal. I have done this already but not sure how to extract the email address from within azure. I found some resources but that all involves sending oath request to twitter with all access keys.

    I’m hoping azure gives me an easy way to get the email address as I use the service for authentication and dont really want to build a seperate process for twitter. Thanks.

    Like

    • It’s really a matter of figuring out the right incantation to get Twitters OAuth provider to return the email address. Since Twitter uses a username instead of an email address as an identifier, you probably have to ask for additional claims. I’m writing about auth this week, so I’ll take a look at the problem and write a blog post about it if/when I figure it out.

      Like

  2. Adrian,

    I’m trying to implement a Azure App Service to be consumed by a Xamarin.Forms app.

    I want to share a common PCL of the data objects between the Xamarin client and the Azure App service – so the objects are only implemented once. I looked at your client app and you derive the classes from an EntityData on the client that has the required properties that are “shared” between the client and server for the id, creation time, update time…

    On the server side you have the object basically repeated (not shared with the client) and that object is derived from EntityData (the real one) that implements ITableData. Instead of duplicating the data model classes in the server and client, do you know of a way to literally share the PCL between the client and the server? It seems the issue will be EntityData on the server side that cannot be used in the client.

    (Good meeting you at Evolve)

    Thanks
    Alan

    Like

  3. Hello Adrian,

    I am following your brilliant tutorial Develop Cloud Connected Mobile Apps with Xamarin and Microsoft Azure and I have a question about the client flow for social authentication.

    I’m struggling to understand how to implement the dependency service for FB on Android. I understand the iOS example that you provided but the LogInWithReadPermissions on the FB Android SDK does not have a method argument for a handler.

    Did you ever try to implement it on Android? If so, do you have any pointers?

    Thanks

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s