How it's made - MyGet.org - AzureConf

940 views
845 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
940
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Maarten
  • Demo:Show people around in ACS management portal and whos how easy it is to add another identity providerShow Visual Studio and how easy it is to add a federation identity provider in thereStress the fact that the app only know about ONE identity, and that’s the one from ACS. The others are transformed at the ACS level.Show the incoming claims in the accountcontroller
  • Demo:Web.config contains multiple audiences:      <audienceUris>        <add value="http://localhost:1196/" />        <add value="http://localhost:81/" />        <add value="http://www.myget.org/" />      </audienceUris>Realmis the same for every audience, ACS uses the audience to do the home realmdiscoveryDemonstrate a login on prod and one on dev
  • Demo:Demonstrate http://realdolmen.customer.myget.org/ login via RealDolmen ADFSAgain, demonstrate the audience URI’s and how this should in theory never workShow the dynamic configuration happening on login:                if (TenantContext.Tenant != null)                 {                     signInRequestMessage.Realm = TenantContext.Tenant.Realm;                     var allowedAudienceUris =                         FederatedAuthentication.ServiceConfiguration.AudienceRestriction.AllowedAudienceUris;                     if (!allowedAudienceUris.Contains(new Uri(TenantContext.Tenant.Realm)))                     {                         allowedAudienceUris.Add(new Uri(TenantContext.Tenant.Realm));                     }                 }
  • How it's made - MyGet.org - AzureConf

    1. 1. Over 60 community-led Windows Azure training events worldwide!http://globalwindowsazure.azurewebsites.net
    2. 2. http://blog.maartenballiauw.be@maartenballiauwShameless self promotion: Pro NuGet -http://amzn.to/pronuget
    3. 3. NuGet?MyGet?
    4. 4. How westarted
    5. 5. What wedid notknow…
    6. 6. Our firstarchitecture
    7. 7. Or not?Speed of light! USA was slow!Sync issues, downtime, …Seems not every ISP follows DNS standards
    8. 8. • Syncing data kept being slow• Populating cache was a nightmare• CDN kept having issues• Of 3 instances, only 1 was being used with enoughload (~60%)
    9. 9. Our secondarchitecture
    10. 10. Windows AzureAccess Control Service
    11. 11. production tenantswww.myget.org*.customer.myget.orgother domain nameslocalhost:1196 myget-staging.cloudapp.netdevelopmentWindows Azure Access Control Service
    12. 12. http://socialsts.com
    13. 13. Tough timesLearning moments
    14. 14. Full story at http://blog.myget.org/post/2012/07/02/Site-issues-on-July-2nd-2012.aspx
    15. 15. Full story at http://blog.myget.org/post/2012/07/02/Site-issues-on-July-2nd-2012.aspx
    16. 16. Full story at http://blog.myget.org/post/2013/02/24/We-were-down.aspx
    17. 17. Full story at http://blog.myget.org/post/2013/02/24/We-were-down.aspx
    18. 18. http://status.myget.org
    19. 19. Bonus tip
    20. 20. this is why we built username/passwordregistration, seems a lot of people prefer typinginstead of one clickwe must keep investing in Build Servicesfeed discovery is more popular than we imaginedfrom zero reactions on our blog and Twitterthe technical fear we had about “download as ZIP”consuming too much server resources? That thingdoesn’t show up in our stats, that’s how successfulit is…
    21. 21. Conclusion
    22. 22. Thank you!http://blog.maartenballiauw.be@maartenballiauwhttp://amzn.to/pronuget
    23. 23. http://blog.maartenballiauw.be@maartenballiauwhttp://amzn.to/pronugethttp://www.myget.org
    24. 24. http://aka.ms/AzureConf-MemberOffershttp://aka.ms/AzureConf-FreeTrial

    ×