Your SlideShare is downloading. ×
0
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Windows Azure Web Sites – things they don’t teach kids in school - AzureConf
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Windows Azure Web Sites – things they don’t teach kids in school - AzureConf

1,012

Published on

Microsoft has a cloud platform which runs .NET, NodeJS and PHP. All 101 talks out there will show you the same: it’s easy to deploy, it scales out on demand and it runs WordPress. Great! But what …

Microsoft has a cloud platform which runs .NET, NodeJS and PHP. All 101 talks out there will show you the same: it’s easy to deploy, it scales out on demand and it runs WordPress. Great! But what about doing real things? In this session, we’ll explore the things they don’t teach kids in school. How about trying to find out the architecture of this platform? What about the different deployment options for Windows Azure Web Sites, the development flow and some awesome things you can do with the command line tools? Did you know you can modify the automated build process? Join me in this exploration of some lesser known techniques of the platform.

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

No Downloads
Views
Total Views
1,012
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Maarten
  • Launch PhpStorm, create new websiteExplain command line toolsazure site create WAWSdeepdive --location "North Europe" --gitConfigure gitAdd index.php <phpphpinfo();Commit and pushDisplay in browser and go through “environment”COMPUTERNAME “RD….”NUMBER_OF_PROCESSORS -> x-large instancesAll ARR___ variables (cookies for affinity and so on)WAWebSiteSID for determining the website SIDApparently C:\\DWASFiles\\Sites\\WAWSdeepdive seems “da bomb”Browse through the portal and note:All URLS for FTP and SCM are different hostnames and thus potentially a different group of serversazure site delete WAWSdeepdive
  • Clone from git, run buildWhile build runs, explain what’s happening (NPM stage, …)Run Kudu.Webas administratorCreate a site, show folders, …KuduExec! – browse the filesystem and so onExplore someCd .. Until no more is possible and dir – show \\\\10,x,x,x
  • Show logging applicationExplain nothing special configuredEnable through portalShow stream: azure site log tailstackedlogging(other options are download)Configure verbosity
  • Create an application and use ConfigurationManager.AppSettings["MyKey"] tospecify a ‘dev’ variable or somethingShow environment variable printingUpdate setting in portalFTP into the system and note that the web.config is UNTOUCHED!We can use this for storing secrets
  • Show Hg repository in which I have created two branches: the default one and a “staging” oneConfigure one production websiteConfigure one staging websiteExplain hostnames, scaling, configuration and so on
  • Explain solution structure: two web projectsCreate .deployment fileAdd:[config]project = MultiTier.WebApi/MultiTier.WebApi.csproj
  • Create .deployment fileAdd:[config]command=deploy.cmdAdd deploy.cmd@echo offecho Stacked is TEH AWESOME!echo We are deploying to %MYENV%- Set environment variable in portal
  • Too long for slides!Run azure site deploymentscript --basicOr azure site deploymentscript –aspWAPRun through script
  • Explain unit test projectDeploy with successDeploy with failure
  • Transcript

    • 1. Over 60 community-led Windows Azure training events worldwide!http://globalwindowsazure.azurewebsites.net
    • 2. http://blog.maartenballiauw.be@maartenballiauwShameless self promotion: Pro NuGet -http://amzn.to/pronuget
    • 3. Start Simple Your way Go Livestart free, scale up and out with asp.net, php or deploy live in seconds,as you go, friction-free node.js, develop on easily monitorand without the headaches Windows, OSX or Linux performance, rapidly diagnose and fix issues
    • 4. Web Worker IIS ARR (LB)Azure Runtime Other LB DB databases Storage Controller
    • 5. Web Worker IIS ARR (LB)Azure LB Other databases Storage Controller
    • 6. Web Worker IIS ARR SQL Azure (LB) Site (W3WP.exe) Blob storage Site (W3WP.exe) Site (W3WP.exe) Runtime Windows Azure Worker DB Role OtherAzure Metering databases LB DWAS Provisioning / API Frontend Storage Deployment Controller X-Drive Server
    • 7. Need moreproof?Windows AzureServices for WindowsServer(http://www.microsoft.com/hosting/en/us/services.aspx)Or:http://blog.maartenballiauw.be/post/2012/07/24/Hands-on-Windows-Azure-Services-for-Windows.aspx
    • 8. Project Kudu
    • 9. www.github.com/projectkudu/kudu
    • 10. Kudukung-fu
    • 11. https://github.com/projectkudu/kudu/wiki/Deployment-hooks
    • 12. https://github.com/projectkudu/kudu/wiki/REST-APIhttp://www.windowsazure.com/en-us/develop/python/tutorials/web-sites-with-django/
    • 13. http://blog.davidebbo.com/2012/06/developing-kudu-locally-and-on-azure.html
    • 14. http://blog.maartenballiauw.be @maartenballiauw http://amzn.to/pronugetThank you!
    • 15. http://aka.ms/AzureConf-FreeTrialhttp://aka.ms/AzureConf-MemberOffers

    ×