About Me

Part time developer, but mostly I like to play with things and then write about the experience.  Most recently, my attention has been on cloud-connected mobile apps, specifically with React Native, Redux, and the AWS Cloud.

The views shared here are mine alone and may not reflect the views of my employer, Amazon Web Services.


47 thoughts

    • 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.


  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”))

    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.


    • 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.


  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)



  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?



  4. Hi Adrian,

    In one of the where you explain getting Auth0Lock into Webpack you set authOptions with a few of the possible options. I have been trying to set the “container” option for Auth0Lock to blend it with my React Component but have not been successful. Can you give me some pointers? I am just getting an error that id of the “div” that I am trying to assign to “container” is coming up as unknown.



  5. Hi Adrian,

    First of all thank you so much for your book about Xamarin Development with Azure. It is a very useful guide for me. During my reading I saw that some of your code examples may be changed to newer method (as MapApiController in the custom HTTP Endpoints chapter, that is now included in UseDefaultConfiguration as you stated here https://github.com/Azure/azure-mobile-apps-net-server/wiki/What-is-a-Default-Configuration%3F). So my question is : Are you willing to update the book and if so do you have a channel where we can send you what we think could be updated ?

    Best regards,
    Edgar Maucourant


  6. Hey I see you left MS and went to Amazon. Are you involved at all with AWS AppSync? If you are or have any inside information, I’m wondering if there are plans to release an SDK for Xamarin?


  7. Hi..I am your huge fan!! You make complicated things very easy. Have read most of your blogs well headlines for all,But facing difficulties figuring out aws Appsync,My app scenario is only Admin can post, update,delete data and all other users can see posts.

    I got “BUILDING A MULTI-USER GRAPHQL TABLE WITH AWS APPSYNC” relevant.It will be helpful if you could write a blog on it.

    Thank you


  8. Hello Adrian, how are you?

    You’ve a beautiful article about how to make a real-time chat application with AWS AppSync. But it is for JavaScript.
    – Would you have a sample for Android?
    – Or some guide that I can use to do the same approach with Android? The schemas are the same, mas the code I think is a little different.

    Thank you,


  9. Hi Adrian, I followed your tutorial on creating a bridging module in react native and am encountering an issue with my build. The Github link you posted was deleted, is there a way I could take a look at the source project?


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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s