├── .gitignore ├── CNAME ├── LICENSE ├── README.md ├── _config.yml ├── _includes ├── command-argument-commitid.md ├── command-argument-connectionname.md ├── command-argument-extension.md ├── command-argument-jobname.md ├── command-argument-jobtype.md ├── command-argument-key.md ├── command-argument-keyvaluepair.md ├── command-argument-name.md ├── command-argument-options.md ├── command-argument-thumbprint.md ├── command-description-Git.md ├── command-description-GitHub.md ├── command-description-GitHubCredentials.md ├── command-description-GitHubRepository.md ├── command-description-HostName.md ├── command-description-PublishingUsername.md ├── command-description-appsettings.md ├── command-description-connectionstrings.md ├── command-description-defaultdocument.md ├── command-description-detailederrorlogging.md ├── command-description-dotnet.md ├── command-description-force.md ├── command-description-handlermappings.md ├── command-description-hostnames.md ├── command-description-httplogging.md ├── command-description-location.md ├── command-description-metadata.md ├── command-description-name.md ├── command-description-passthru.md ├── command-description-php.md ├── command-description-requesttracing.md ├── command-description-sitewithconfig.md ├── command-description-workers.md ├── command-help-default-blank.md ├── command-help-pipeline-false.md ├── command-help-pipeline-true.md ├── command-help-position-four.md ├── command-help-position-named.md ├── command-help-position-one.md ├── command-help-position-three.md ├── command-help-position-two.md ├── command-help-required-false.md ├── command-help-required-true.md ├── command-help-wildcard-false.md ├── command-help-wildcard-true.md ├── command-option-connectionname.md ├── command-option-details.md ├── command-option-document.md ├── command-option-domain.md ├── command-option-extension.md ├── command-option-git.md ├── command-option-github.md ├── command-option-githubpassword.md ├── command-option-githubrepository.md ├── command-option-githubusername.md ├── command-option-help.md ├── command-option-hostname.md ├── command-option-jobfile.md ├── command-option-jobname.md ├── command-option-jobtype.md ├── command-option-json.md ├── command-option-location.md ├── command-option-max.md ├── command-option-output.md ├── command-option-publishingusername.md ├── command-option-quiet.md ├── command-option-slot.md ├── command-option-subscription.md ├── command-option-verbose.md ├── command-parameter-Git.md ├── command-parameter-GitHub.md ├── command-parameter-GitHubCredentials.md ├── command-parameter-GitHubRepository.md ├── command-parameter-HostName.md ├── command-parameter-PublishingUsername.md ├── command-parameter-appsettings.md ├── command-parameter-connectionstrings.md ├── command-parameter-defaultdocument.md ├── command-parameter-detailederrorlogging.md ├── command-parameter-dotnet.md ├── command-parameter-force.md ├── command-parameter-handlermappings.md ├── command-parameter-hostnames.md ├── command-parameter-httplogging.md ├── command-parameter-location.md ├── command-parameter-metadata.md ├── command-parameter-name.md ├── command-parameter-passthru.md ├── command-parameter-php.md ├── command-parameter-requesttracing.md ├── command-parameter-sitewithconfig.md ├── command-parameter-workers.md ├── html-alert-dynamic-ip-restriction.md ├── html-alert-enable-default-php-extensions.md ├── html-alert-enable-php-extensions.md ├── html-alert-ip-security-docs.md ├── html-alert-kududash-logstream.md ├── html-alert-kudusync-deployment.md ├── html-alert-php-byo-phpini.md ├── html-alert-php-byo-runtime.md ├── html-cli-cross-platform-appsetting.md ├── html-cli-cross-platform-cert.md ├── html-cli-cross-platform-connectionstring.md ├── html-cli-cross-platform-defaultdocument.md ├── html-cli-cross-platform-domain.md ├── html-cli-cross-platform-handler.md ├── html-cli-cross-platform-install.md ├── html-cli-cross-platform-log.md ├── html-cli-cross-platform-scale.md ├── html-cli-cross-platform-setup.md ├── html-cli-cross-platform-site-commands.md ├── html-cli-cross-platform-site-config-commands.md ├── html-cli-cross-platform-site-deployment-commands.md ├── html-cli-cross-platform-site-job-commands.md ├── html-cli-cross-platform-site-location-commands.md ├── html-cli-cross-platform-site-repository-commands.md ├── html-cli-kudusync-commands.md ├── html-cli-powershell-get.md ├── html-cli-powershell-install.md ├── html-cli-powershell-new.md ├── html-cli-powershell-remove.md ├── html-cli-powershell-restart.md ├── html-cli-powershell-set.md ├── html-cli-powershell-setup.md ├── html-cli-powershell-show.md ├── html-cli-powershell-start.md ├── html-cli-powershell-stop.md ├── html-deployment-types.md ├── html-features-service-features.md ├── html-kuduexec-install-php.md ├── html-panel-kudu-install.md ├── html-panel-kuduexec-install.md ├── html-panel-kudusync-install.md ├── html-php-appsettings.md ├── html-php-extensions.md ├── html-php-http-handler-mapping.md ├── html-php-runtimes.md ├── snippet-fun-consoleuser.md ├── snippet-fun-powershelluser.md └── welcome.md ├── _layouts └── default.html ├── _posts ├── 01-01-01-Features-Service.md ├── 01-01-02-Environment.md ├── 02-01-01-Deployment.md ├── 02-01-02-Configuration-ASPNET.md ├── 02-01-03-Configuration-Nodejs.md ├── 03-01-01-Language-Guide-ASP.md ├── 03-02-01-Language-Guide-ASPNET.md ├── 03-03-01-Language-Guide-NODEJS.md ├── 03-04-01-Language-Guide-PHP.md ├── 03-05-01-Language-Guide-PYTHON.md ├── 04-01-01-Microsoft-Azure-CLI-Tools-Cross-Platform.md └── 04-02-01-Microsoft-Azure-CLI-Tools-Powershell.md ├── css ├── bootstrap.min.css └── site.css ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf └── glyphicons-halflings-regular.woff ├── img ├── favicon.ico ├── glyphicons-halflings-white.png ├── glyphicons-halflings.png ├── icon-cloud.png ├── icon-deployment.png ├── icon-development.png ├── icon-scripting.png └── icon-serverrack.png ├── index.html ├── js ├── bootstrap.min.js ├── jquery.min.js └── site.js └── params.json /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | _site/ -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | microsoftazurewebsitescheatsheet.info 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Content 2 | ======= 3 | 4 | Copyright (c) 2013 Cory Fowler 5 | 6 | Windows Azure Web Sites Cheat Sheet by Cory Fowler is licensed under a Creative Commons Attribution 3.0 Unported License. 7 | Based on a work at https://github.com/SyntaxC4/WindowsAzureWebSitesCheatSheet 8 | 9 | Creative Commons License
Windows Azure Web Sites Cheat Sheet by Cory Fowler is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at https://github.com/SyntaxC4/WindowsAzureWebSitesCheatSheet. 10 | 11 | Source Code 12 | =========== 13 | 14 | Apache License 15 | Version 2.0, January 2004 16 | http://www.apache.org/licenses/ 17 | 18 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 19 | 20 | 1. Definitions. 21 | 22 | "License" shall mean the terms and conditions for use, reproduction, 23 | and distribution as defined by Sections 1 through 9 of this document. 24 | 25 | "Licensor" shall mean the copyright owner or entity authorized by 26 | the copyright owner that is granting the License. 27 | 28 | "Legal Entity" shall mean the union of the acting entity and all 29 | other entities that control, are controlled by, or are under common 30 | control with that entity. For the purposes of this definition, 31 | "control" means (i) the power, direct or indirect, to cause the 32 | direction or management of such entity, whether by contract or 33 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 34 | outstanding shares, or (iii) beneficial ownership of such entity. 35 | 36 | "You" (or "Your") shall mean an individual or Legal Entity 37 | exercising permissions granted by this License. 38 | 39 | "Source" form shall mean the preferred form for making modifications, 40 | including but not limited to software source code, documentation 41 | source, and configuration files. 42 | 43 | "Object" form shall mean any form resulting from mechanical 44 | transformation or translation of a Source form, including but 45 | not limited to compiled object code, generated documentation, 46 | and conversions to other media types. 47 | 48 | "Work" shall mean the work of authorship, whether in Source or 49 | Object form, made available under the License, as indicated by a 50 | copyright notice that is included in or attached to the work 51 | (an example is provided in the Appendix below). 52 | 53 | "Derivative Works" shall mean any work, whether in Source or Object 54 | form, that is based on (or derived from) the Work and for which the 55 | editorial revisions, annotations, elaborations, or other modifications 56 | represent, as a whole, an original work of authorship. For the purposes 57 | of this License, Derivative Works shall not include works that remain 58 | separable from, or merely link (or bind by name) to the interfaces of, 59 | the Work and Derivative Works thereof. 60 | 61 | "Contribution" shall mean any work of authorship, including 62 | the original version of the Work and any modifications or additions 63 | to that Work or Derivative Works thereof, that is intentionally 64 | submitted to Licensor for inclusion in the Work by the copyright owner 65 | or by an individual or Legal Entity authorized to submit on behalf of 66 | the copyright owner. For the purposes of this definition, "submitted" 67 | means any form of electronic, verbal, or written communication sent 68 | to the Licensor or its representatives, including but not limited to 69 | communication on electronic mailing lists, source code control systems, 70 | and issue tracking systems that are managed by, or on behalf of, the 71 | Licensor for the purpose of discussing and improving the Work, but 72 | excluding communication that is conspicuously marked or otherwise 73 | designated in writing by the copyright owner as "Not a Contribution." 74 | 75 | "Contributor" shall mean Licensor and any individual or Legal Entity 76 | on behalf of whom a Contribution has been received by Licensor and 77 | subsequently incorporated within the Work. 78 | 79 | 2. Grant of Copyright License. Subject to the terms and conditions of 80 | this License, each Contributor hereby grants to You a perpetual, 81 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 82 | copyright license to reproduce, prepare Derivative Works of, 83 | publicly display, publicly perform, sublicense, and distribute the 84 | Work and such Derivative Works in Source or Object form. 85 | 86 | 3. Grant of Patent License. Subject to the terms and conditions of 87 | this License, each Contributor hereby grants to You a perpetual, 88 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 89 | (except as stated in this section) patent license to make, have made, 90 | use, offer to sell, sell, import, and otherwise transfer the Work, 91 | where such license applies only to those patent claims licensable 92 | by such Contributor that are necessarily infringed by their 93 | Contribution(s) alone or by combination of their Contribution(s) 94 | with the Work to which such Contribution(s) was submitted. If You 95 | institute patent litigation against any entity (including a 96 | cross-claim or counterclaim in a lawsuit) alleging that the Work 97 | or a Contribution incorporated within the Work constitutes direct 98 | or contributory patent infringement, then any patent licenses 99 | granted to You under this License for that Work shall terminate 100 | as of the date such litigation is filed. 101 | 102 | 4. Redistribution. You may reproduce and distribute copies of the 103 | Work or Derivative Works thereof in any medium, with or without 104 | modifications, and in Source or Object form, provided that You 105 | meet the following conditions: 106 | 107 | (a) You must give any other recipients of the Work or 108 | Derivative Works a copy of this License; and 109 | 110 | (b) You must cause any modified files to carry prominent notices 111 | stating that You changed the files; and 112 | 113 | (c) You must retain, in the Source form of any Derivative Works 114 | that You distribute, all copyright, patent, trademark, and 115 | attribution notices from the Source form of the Work, 116 | excluding those notices that do not pertain to any part of 117 | the Derivative Works; and 118 | 119 | (d) If the Work includes a "NOTICE" text file as part of its 120 | distribution, then any Derivative Works that You distribute must 121 | include a readable copy of the attribution notices contained 122 | within such NOTICE file, excluding those notices that do not 123 | pertain to any part of the Derivative Works, in at least one 124 | of the following places: within a NOTICE text file distributed 125 | as part of the Derivative Works; within the Source form or 126 | documentation, if provided along with the Derivative Works; or, 127 | within a display generated by the Derivative Works, if and 128 | wherever such third-party notices normally appear. The contents 129 | of the NOTICE file are for informational purposes only and 130 | do not modify the License. You may add Your own attribution 131 | notices within Derivative Works that You distribute, alongside 132 | or as an addendum to the NOTICE text from the Work, provided 133 | that such additional attribution notices cannot be construed 134 | as modifying the License. 135 | 136 | You may add Your own copyright statement to Your modifications and 137 | may provide additional or different license terms and conditions 138 | for use, reproduction, or distribution of Your modifications, or 139 | for any such Derivative Works as a whole, provided Your use, 140 | reproduction, and distribution of the Work otherwise complies with 141 | the conditions stated in this License. 142 | 143 | 5. Submission of Contributions. Unless You explicitly state otherwise, 144 | any Contribution intentionally submitted for inclusion in the Work 145 | by You to the Licensor shall be under the terms and conditions of 146 | this License, without any additional terms or conditions. 147 | Notwithstanding the above, nothing herein shall supersede or modify 148 | the terms of any separate license agreement you may have executed 149 | with Licensor regarding such Contributions. 150 | 151 | 6. Trademarks. This License does not grant permission to use the trade 152 | names, trademarks, service marks, or product names of the Licensor, 153 | except as required for reasonable and customary use in describing the 154 | origin of the Work and reproducing the content of the NOTICE file. 155 | 156 | 7. Disclaimer of Warranty. Unless required by applicable law or 157 | agreed to in writing, Licensor provides the Work (and each 158 | Contributor provides its Contributions) on an "AS IS" BASIS, 159 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 160 | implied, including, without limitation, any warranties or conditions 161 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 162 | PARTICULAR PURPOSE. You are solely responsible for determining the 163 | appropriateness of using or redistributing the Work and assume any 164 | risks associated with Your exercise of permissions under this License. 165 | 166 | 8. Limitation of Liability. In no event and under no legal theory, 167 | whether in tort (including negligence), contract, or otherwise, 168 | unless required by applicable law (such as deliberate and grossly 169 | negligent acts) or agreed to in writing, shall any Contributor be 170 | liable to You for damages, including any direct, indirect, special, 171 | incidental, or consequential damages of any character arising as a 172 | result of this License or out of the use or inability to use the 173 | Work (including but not limited to damages for loss of goodwill, 174 | work stoppage, computer failure or malfunction, or any and all 175 | other commercial damages or losses), even if such Contributor 176 | has been advised of the possibility of such damages. 177 | 178 | 9. Accepting Warranty or Additional Liability. While redistributing 179 | the Work or Derivative Works thereof, You may choose to offer, 180 | and charge a fee for, acceptance of support, warranty, indemnity, 181 | or other liability obligations and/or rights consistent with this 182 | License. However, in accepting such obligations, You may act only 183 | on Your own behalf and on Your sole responsibility, not on behalf 184 | of any other Contributor, and only if You agree to indemnify, 185 | defend, and hold each Contributor harmless for any liability 186 | incurred by, or claims asserted against, such Contributor by reason 187 | of your accepting any such warranty or additional liability. 188 | 189 | END OF TERMS AND CONDITIONS 190 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Microsoft Azure Web Sites Cheat Sheet 2 | 3 | Microsoft Azure Web Sites Cheat Sheet is a collection of lesser known uses of [Microsoft Azure Web Sites](http://www.windowsazure.com/en-us/home/scenarios/web-sites/). 4 | 5 | ## Overview 6 | 7 | This is the GitHub Pages repository for the _Microsoft Azure Web Sites Cheat Sheet_ project. 8 | 9 | 10 | ## Who 11 | 12 | My name is [Cory Fowler](http://blog.syntaxc4.net). I am a Microsoft Azure Evangelist. 13 | 14 | ## License 15 | 16 | See [License](https://github.com/SyntaxC4/WindowsAzureWebSitesCheatSheet/blob/gh-pages/LICENSE). 17 | 18 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | markdown: kramdown 2 | gems: 3 | - jekyll-gist 4 | -------------------------------------------------------------------------------- /_includes/command-argument-commitid.md: -------------------------------------------------------------------------------- 1 | <commitId> 2 | -------------------------------------------------------------------------------- /_includes/command-argument-connectionname.md: -------------------------------------------------------------------------------- 1 | <connectionname> -------------------------------------------------------------------------------- /_includes/command-argument-extension.md: -------------------------------------------------------------------------------- 1 | [extension] -------------------------------------------------------------------------------- /_includes/command-argument-jobname.md: -------------------------------------------------------------------------------- 1 | <jobName> -------------------------------------------------------------------------------- /_includes/command-argument-jobtype.md: -------------------------------------------------------------------------------- 1 | <jobType> -------------------------------------------------------------------------------- /_includes/command-argument-key.md: -------------------------------------------------------------------------------- 1 | <key> -------------------------------------------------------------------------------- /_includes/command-argument-keyvaluepair.md: -------------------------------------------------------------------------------- 1 | <keyvaluepair> -------------------------------------------------------------------------------- /_includes/command-argument-name.md: -------------------------------------------------------------------------------- 1 | [name] 2 | -------------------------------------------------------------------------------- /_includes/command-argument-options.md: -------------------------------------------------------------------------------- 1 | [options] 2 | -------------------------------------------------------------------------------- /_includes/command-argument-thumbprint.md: -------------------------------------------------------------------------------- 1 | <thumbprint> -------------------------------------------------------------------------------- /_includes/command-description-Git.md: -------------------------------------------------------------------------------- 1 | Set up a local git repository and link it to the website. If specified, this will set up a git repository in 2 | the local directory and add a remote named 'azure' that links to the website in Microsoft Azure. 3 | -------------------------------------------------------------------------------- /_includes/command-description-GitHub.md: -------------------------------------------------------------------------------- 1 | If enabled, link this website with an existing Github repository. Commits to the Giuthub repository will be 2 | pushed to the website in Microsoft Azure. 3 | -------------------------------------------------------------------------------- /_includes/command-description-GitHubCredentials.md: -------------------------------------------------------------------------------- 1 | The username and password credentials used to connect to Github -------------------------------------------------------------------------------- /_includes/command-description-GitHubRepository.md: -------------------------------------------------------------------------------- 1 | The full name of the Github repository to link to this website. For example, myaccount/myrepo -------------------------------------------------------------------------------- /_includes/command-description-HostName.md: -------------------------------------------------------------------------------- 1 | An alternative hostname for the new azure website. -------------------------------------------------------------------------------- /_includes/command-description-PublishingUsername.md: -------------------------------------------------------------------------------- 1 | The username you have specified in the Microsoft Azure Portal for Git deployment 2 | -------------------------------------------------------------------------------- /_includes/command-description-appsettings.md: -------------------------------------------------------------------------------- 1 | The environment variables that will be used by the website -------------------------------------------------------------------------------- /_includes/command-description-connectionstrings.md: -------------------------------------------------------------------------------- 1 | The connection strings used by the website -------------------------------------------------------------------------------- /_includes/command-description-defaultdocument.md: -------------------------------------------------------------------------------- 1 | The documents that are automatically displayed when browsing the website -------------------------------------------------------------------------------- /_includes/command-description-detailederrorlogging.md: -------------------------------------------------------------------------------- 1 | Determines whether detailed iis errors are logged for the website -------------------------------------------------------------------------------- /_includes/command-description-dotnet.md: -------------------------------------------------------------------------------- 1 | The version of the .Net Framework required by the website -------------------------------------------------------------------------------- /_includes/command-description-force.md: -------------------------------------------------------------------------------- 1 | If specified, bypass confirmation prompts and delete the specified website -------------------------------------------------------------------------------- /_includes/command-description-handlermappings.md: -------------------------------------------------------------------------------- 1 | The Handler Mappings used by the website -------------------------------------------------------------------------------- /_includes/command-description-hostnames.md: -------------------------------------------------------------------------------- 1 | The fully qualified hostnames that can be used to access the website -------------------------------------------------------------------------------- /_includes/command-description-httplogging.md: -------------------------------------------------------------------------------- 1 | Determines whether http logging is enabled for the website -------------------------------------------------------------------------------- /_includes/command-description-location.md: -------------------------------------------------------------------------------- 1 | The data center where the website should be deployed -------------------------------------------------------------------------------- /_includes/command-description-metadata.md: -------------------------------------------------------------------------------- 1 | The Metadata for the website -------------------------------------------------------------------------------- /_includes/command-description-name.md: -------------------------------------------------------------------------------- 1 | The name of the Web Site -------------------------------------------------------------------------------- /_includes/command-description-passthru.md: -------------------------------------------------------------------------------- 1 | When specified, a boolean value is returned -------------------------------------------------------------------------------- /_includes/command-description-php.md: -------------------------------------------------------------------------------- 1 | The PHP version required by the website -------------------------------------------------------------------------------- /_includes/command-description-requesttracing.md: -------------------------------------------------------------------------------- 1 | Determines whether request tracing is enabled for the website -------------------------------------------------------------------------------- /_includes/command-description-sitewithconfig.md: -------------------------------------------------------------------------------- 1 | The configuration used by the website -------------------------------------------------------------------------------- /_includes/command-description-workers.md: -------------------------------------------------------------------------------- 1 | The number of worker processes executing the website -------------------------------------------------------------------------------- /_includes/command-help-default-blank.md: -------------------------------------------------------------------------------- 1 |
Default value
2 |
-------------------------------------------------------------------------------- /_includes/command-help-pipeline-false.md: -------------------------------------------------------------------------------- 1 |
Accept pipeline input?
2 |
false
-------------------------------------------------------------------------------- /_includes/command-help-pipeline-true.md: -------------------------------------------------------------------------------- 1 |
Accept pipeline input?
2 |
true
-------------------------------------------------------------------------------- /_includes/command-help-position-four.md: -------------------------------------------------------------------------------- 1 |
Position?
2 |
4
-------------------------------------------------------------------------------- /_includes/command-help-position-named.md: -------------------------------------------------------------------------------- 1 |
Position?
2 |
named
-------------------------------------------------------------------------------- /_includes/command-help-position-one.md: -------------------------------------------------------------------------------- 1 |
Position?
2 |
1
-------------------------------------------------------------------------------- /_includes/command-help-position-three.md: -------------------------------------------------------------------------------- 1 |
Position?
2 |
3
-------------------------------------------------------------------------------- /_includes/command-help-position-two.md: -------------------------------------------------------------------------------- 1 |
Position?
2 |
2
-------------------------------------------------------------------------------- /_includes/command-help-required-false.md: -------------------------------------------------------------------------------- 1 |
Required?
2 |
false
-------------------------------------------------------------------------------- /_includes/command-help-required-true.md: -------------------------------------------------------------------------------- 1 |
Required?
2 |
true
-------------------------------------------------------------------------------- /_includes/command-help-wildcard-false.md: -------------------------------------------------------------------------------- 1 |
Accept Wildcard characters?
2 |
false
-------------------------------------------------------------------------------- /_includes/command-help-wildcard-true.md: -------------------------------------------------------------------------------- 1 |
Accept Wildcard characters?
2 |
true
-------------------------------------------------------------------------------- /_includes/command-option-connectionname.md: -------------------------------------------------------------------------------- 1 |
-c, --connectionname <connectionname>
the connection string name
-------------------------------------------------------------------------------- /_includes/command-option-details.md: -------------------------------------------------------------------------------- 1 |
-d, --details
2 |
display log details
-------------------------------------------------------------------------------- /_includes/command-option-document.md: -------------------------------------------------------------------------------- 1 |
-d, --document <document>
2 |
the new default document
-------------------------------------------------------------------------------- /_includes/command-option-domain.md: -------------------------------------------------------------------------------- 1 |
-d, --domain <domain>
2 |
the domain
-------------------------------------------------------------------------------- /_includes/command-option-extension.md: -------------------------------------------------------------------------------- 1 |
-e, --extension <extension>
2 |
The extension to map to a handler
-------------------------------------------------------------------------------- /_includes/command-option-git.md: -------------------------------------------------------------------------------- 1 |
--git
2 |
configure git on web site and local folder
-------------------------------------------------------------------------------- /_includes/command-option-github.md: -------------------------------------------------------------------------------- 1 |
--github
2 |
configure github on web site and local folder
-------------------------------------------------------------------------------- /_includes/command-option-githubpassword.md: -------------------------------------------------------------------------------- 1 |
--githubpassword <password>
2 |
the github password
-------------------------------------------------------------------------------- /_includes/command-option-githubrepository.md: -------------------------------------------------------------------------------- 1 |
--githubrepository
2 |
the full name (eg. username/repository) of the github repository
-------------------------------------------------------------------------------- /_includes/command-option-githubusername.md: -------------------------------------------------------------------------------- 1 |
--githubusername <username>
2 |
the github username
-------------------------------------------------------------------------------- /_includes/command-option-help.md: -------------------------------------------------------------------------------- 1 |
-h, --help
2 |
show usage information
3 | -------------------------------------------------------------------------------- /_includes/command-option-hostname.md: -------------------------------------------------------------------------------- 1 |
--hostname
2 |
custom hostname to associate to the web site
-------------------------------------------------------------------------------- /_includes/command-option-jobfile.md: -------------------------------------------------------------------------------- 1 |
--job-file <job-file>
2 |
required. the job file.
-------------------------------------------------------------------------------- /_includes/command-option-jobname.md: -------------------------------------------------------------------------------- 1 |
--job-name <job-name>
2 |
required. The name of the webjob.
-------------------------------------------------------------------------------- /_includes/command-option-jobtype.md: -------------------------------------------------------------------------------- 1 |
--job-type <job-type>
2 |
required. The type of the webjob. Valid value is "triggered" or "continuous".
-------------------------------------------------------------------------------- /_includes/command-option-json.md: -------------------------------------------------------------------------------- 1 |
--json
2 |
use json output
-------------------------------------------------------------------------------- /_includes/command-option-location.md: -------------------------------------------------------------------------------- 1 |
-l, --location <location>
2 |
the geographic region to create the website
-------------------------------------------------------------------------------- /_includes/command-option-max.md: -------------------------------------------------------------------------------- 1 |
-m, -max <count>
2 |
limit the maximum number of results
-------------------------------------------------------------------------------- /_includes/command-option-output.md: -------------------------------------------------------------------------------- 1 |
-o, --output <path>
2 |
output path, default is current (local) folder
-------------------------------------------------------------------------------- /_includes/command-option-publishingusername.md: -------------------------------------------------------------------------------- 1 |
--gitusername
2 |
the publishing username for git
-------------------------------------------------------------------------------- /_includes/command-option-quiet.md: -------------------------------------------------------------------------------- 1 |
-q, --quite
2 |
quite mode, do not ask for confirmation
-------------------------------------------------------------------------------- /_includes/command-option-slot.md: -------------------------------------------------------------------------------- 1 |
--slot <slot>
2 |
the name of the slot
-------------------------------------------------------------------------------- /_includes/command-option-subscription.md: -------------------------------------------------------------------------------- 1 |
-s, --subscription <id>
2 |
execute command against the provided subscription
3 | -------------------------------------------------------------------------------- /_includes/command-option-verbose.md: -------------------------------------------------------------------------------- 1 |
-v, --verbose
2 |
use verbose output
-------------------------------------------------------------------------------- /_includes/command-parameter-Git.md: -------------------------------------------------------------------------------- 1 | -Git -------------------------------------------------------------------------------- /_includes/command-parameter-GitHub.md: -------------------------------------------------------------------------------- 1 | -GitHub -------------------------------------------------------------------------------- /_includes/command-parameter-GitHubCredentials.md: -------------------------------------------------------------------------------- 1 | -GitHubCredentials <PSCredential> -------------------------------------------------------------------------------- /_includes/command-parameter-GitHubRepository.md: -------------------------------------------------------------------------------- 1 | -GitHubRepository <string> -------------------------------------------------------------------------------- /_includes/command-parameter-HostName.md: -------------------------------------------------------------------------------- 1 | -HostName <string> -------------------------------------------------------------------------------- /_includes/command-parameter-PublishingUsername.md: -------------------------------------------------------------------------------- 1 | -PublishingUsername <string> -------------------------------------------------------------------------------- /_includes/command-parameter-appsettings.md: -------------------------------------------------------------------------------- 1 | -AppSettings <Hashtable> -------------------------------------------------------------------------------- /_includes/command-parameter-connectionstrings.md: -------------------------------------------------------------------------------- 1 | -ConnectionStrings <ConnStringPropertyBag> -------------------------------------------------------------------------------- /_includes/command-parameter-defaultdocument.md: -------------------------------------------------------------------------------- 1 | -DefaultDocuments <String[]> -------------------------------------------------------------------------------- /_includes/command-parameter-detailederrorlogging.md: -------------------------------------------------------------------------------- 1 | -DetailedErrorLoggingEnabled [<Boolean>] -------------------------------------------------------------------------------- /_includes/command-parameter-dotnet.md: -------------------------------------------------------------------------------- 1 | -NetFrameworkVersion <string> -------------------------------------------------------------------------------- /_includes/command-parameter-force.md: -------------------------------------------------------------------------------- 1 | -Force -------------------------------------------------------------------------------- /_includes/command-parameter-handlermappings.md: -------------------------------------------------------------------------------- 1 | -HandlerMappings <HandlerMapping[]> -------------------------------------------------------------------------------- /_includes/command-parameter-hostnames.md: -------------------------------------------------------------------------------- 1 | -HostNames <string[]> -------------------------------------------------------------------------------- /_includes/command-parameter-httplogging.md: -------------------------------------------------------------------------------- 1 | -HttpLoggingEnabled [<Boolean>] -------------------------------------------------------------------------------- /_includes/command-parameter-location.md: -------------------------------------------------------------------------------- 1 | -Location <string> -------------------------------------------------------------------------------- /_includes/command-parameter-metadata.md: -------------------------------------------------------------------------------- 1 | -Metadata <NameValuePair> -------------------------------------------------------------------------------- /_includes/command-parameter-name.md: -------------------------------------------------------------------------------- 1 | -Name <string> -------------------------------------------------------------------------------- /_includes/command-parameter-passthru.md: -------------------------------------------------------------------------------- 1 | -PassThru <Switch> -------------------------------------------------------------------------------- /_includes/command-parameter-php.md: -------------------------------------------------------------------------------- 1 | -PhpVersion <string> -------------------------------------------------------------------------------- /_includes/command-parameter-requesttracing.md: -------------------------------------------------------------------------------- 1 | -RequestTracingEnabled [<Boolean>] -------------------------------------------------------------------------------- /_includes/command-parameter-sitewithconfig.md: -------------------------------------------------------------------------------- 1 | -SiteWithConfig <SiteWithConfig> -------------------------------------------------------------------------------- /_includes/command-parameter-workers.md: -------------------------------------------------------------------------------- 1 | -NumberOfWorkers <Int32> -------------------------------------------------------------------------------- /_includes/html-alert-dynamic-ip-restriction.md: -------------------------------------------------------------------------------- 1 |
2 | The full documentation on the <dynamicIpSecurity> element is available on IIS Configuration Reference. 3 |
4 | -------------------------------------------------------------------------------- /_includes/html-alert-enable-default-php-extensions.md: -------------------------------------------------------------------------------- 1 |
2 | If you need to enable default PHP extensions that are not highlighted below, you must upload them to your Microsoft Azure Web Site then enable as instructed in Enable PHP Extensions. Loading default extensions in this way is required as extensions cannot be dynamically loaded in the .user.ini file. 3 |
4 | -------------------------------------------------------------------------------- /_includes/html-alert-enable-php-extensions.md: -------------------------------------------------------------------------------- 1 |
2 | To enable extensions in Microsoft Azure Web Sites follow the directions under the Enable PHP Extensions section. 3 |
4 | -------------------------------------------------------------------------------- /_includes/html-alert-ip-security-docs.md: -------------------------------------------------------------------------------- 1 |
2 | The full documentation on the <ipSecurity> element is available on IIS Configuration Reference. 3 |
4 | -------------------------------------------------------------------------------- /_includes/html-alert-kududash-logstream.md: -------------------------------------------------------------------------------- 1 |
2 | Web Server Logging must be enabled for the Microsoft Azure Web Site or this page will fail to load. 3 |
4 | -------------------------------------------------------------------------------- /_includes/html-alert-kudusync-deployment.md: -------------------------------------------------------------------------------- 1 |
2 | KuduSync is responsible for file synchronization during deployment. It is called at the end of the default deployment process (you can customize the deployment script) to move files between the %DEPLOYMENT_SOURCE% folder and the %DEPLOYMENT_TARGET%. 3 |
-------------------------------------------------------------------------------- /_includes/html-alert-php-byo-phpini.md: -------------------------------------------------------------------------------- 1 |
2 | Bring your own runtime disables the default PHP Runtime in Microsoft Azure Web Sites, so be sure to upload your own php.ini. Mmm, Yeah, I'm going to have to go ahead and ask you to set fastcgi.impersonate = 1 and fastcgi.logging = 0, too. Grrrreat. 3 |
4 | -------------------------------------------------------------------------------- /_includes/html-alert-php-byo-runtime.md: -------------------------------------------------------------------------------- 1 |
2 | Warning! Bring your own Runtime is available to enable you to bring a specific version of PHP to run your Web Application. This option is enabled for Advanced Users only. 3 |
-------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-appsetting.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 32 | 33 | 34 | 35 | 36 | 46 | 47 | 48 | 49 | 50 | 59 | 60 | 61 |
{% include snippet-fun-consoleuser.md %}azure site appsetting
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
Show your site application settings
add {% include command-argument-options.md %} {% include command-argument-keyvaluepair.md %} {% include command-argument-name.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 |
31 |
Adds an application setting for your site [semi-colon (;) delimitied]
delete {% include command-argument-options.md %} {% include command-argument-key.md %} {% include command-argument-name.md %} 37 |
38 | {% include command-option-help.md %} 39 | {% include command-option-verbose.md %} 40 | {% include command-option-json.md %} 41 | {% include command-option-slot.md %} 42 | {% include command-option-quiet.md %} 43 | {% include command-option-subscription.md %} 44 |
45 |
Deletes an application setting for your site
show {% include command-argument-options.md %} {% include command-argument-key.md %} {% include command-argument-name.md %} 51 |
52 | {% include command-option-help.md %} 53 | {% include command-option-verbose.md %} 54 | {% include command-option-json.md %} 55 | {% include command-option-slot.md %} 56 | {% include command-option-subscription.md %} 57 |
58 |
Shows an application setting for your site
62 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-cert.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 19 | 20 | 21 | 22 | 31 | 32 | 33 | 34 | 35 | 44 | 45 | 46 | 47 | 48 | 56 | 57 | 58 |
{% include snippet-fun-consoleuser.md %}azure site cert
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-subscription.md %} 16 |
17 |
Show your site certificates
add {% include command-argument-options.md %} <certificate-path> {% include command-argument-name.md %} 23 |
24 | {% include command-option-help.md %} 25 | {% include command-option-verbose.md %} 26 | {% include command-option-json.md %} 27 | {% include command-option-subscription.md %} 28 |
-k, --key <key>
The certificate key
29 |
30 |
Adds a site certificate in pfx format
delete {% include command-argument-options.md %} {% include command-argument-thumbprint.md %} {% include command-argument-name.md %} 36 |
37 | {% include command-option-help.md %} 38 | {% include command-option-verbose.md %} 39 | {% include command-option-json.md %} 40 | {% include command-option-subscription.md %} 41 | {% include command-option-quiet.md %} 42 |
43 |
Deletes a site certificate
show {% include command-argument-options.md %} {% include command-argument-thumbprint.md %} {% include command-argument-name.md %} 49 |
50 | {% include command-option-help.md %} 51 | {% include command-option-verbose.md %} 52 | {% include command-option-json.md %} 53 | {% include command-option-subscription.md %} 54 |
55 |
Shows a site certificate
59 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-connectionstring.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 35 | 36 | 37 | 38 | 39 | 50 | 51 | 52 | 53 | 54 | 64 | 65 | 66 |
{% include snippet-fun-consoleuser.md %}azure site connectionstring
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
Show your site connection strings
add {% include command-argument-options.md %} {% include command-argument-connectionname.md %} <value> <type> {% include command-argument-name.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 | {% include command-option-connectionname.md %} 31 |
-v, --value <value>
the connection string value
32 |
-t, --type <type>
the connection string type
33 |
34 |
Adds a connection string to your site
delete {% include command-argument-options.md %} {% include command-argument-connectionname.md %} {% include command-argument-name.md %} 40 |
41 | {% include command-option-help.md %} 42 | {% include command-option-verbose.md %} 43 | {% include command-option-json.md %} 44 | {% include command-option-slot.md %} 45 | {% include command-option-subscription.md %} 46 | {% include command-option-connectionname.md %} 47 | {% include command-option-quiet.md %} 48 |
49 |
Deletes a connection string for your site
show {% include command-argument-options.md %} {% include command-argument-connectionname.md %} {% include command-argument-name.md %} 55 |
56 | {% include command-option-help.md %} 57 | {% include command-option-verbose.md %} 58 | {% include command-option-json.md %} 59 | {% include command-option-slot.md %} 60 | {% include command-option-subscription.md %} 61 | {% include command-option-connectionname.md %} 62 |
63 |
Shows a connection string for your site
67 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-defaultdocument.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 34 | 35 | 36 | 37 | 38 | 49 | 50 | 51 |
{% include snippet-fun-consoleuser.md %}azure site defaultdocument
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
Show your site default documents
add {% include command-argument-options.md %} {% include command-argument-name.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 | {% include command-option-document.md %} 31 |
-p, --position <position>
the position of the new default document
32 |
33 |
Add a site default document (appended to list by default)
delete {% include command-argument-options.md %} {% include command-argument-name.md %} 39 |
40 | {% include command-option-help.md %} 41 | {% include command-option-verbose.md %} 42 | {% include command-option-json.md %} 43 | {% include command-option-slot.md %} 44 | {% include command-option-subscription.md %} 45 | {% include command-option-document.md %} 46 | {% include command-option-quiet.md %} 47 |
48 |
Deletes a site default document
52 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-domain.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 33 | 34 | 35 | 36 | 37 | 48 | 49 | 50 |
{% include snippet-fun-consoleuser.md %}azure site domain
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
Show your site domains
add {% include command-argument-options.md %} {% include command-argument-name.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 | {% include command-option-domain.md %} 31 |
32 |
Add a site domain
delete {% include command-argument-options.md %} {% include command-argument-name.md %} 38 |
39 | {% include command-option-help.md %} 40 | {% include command-option-verbose.md %} 41 | {% include command-option-json.md %} 42 | {% include command-option-slot.md %} 43 | {% include command-option-subscription.md %} 44 | {% include command-option-domain.md %} 45 | {% include command-option-quiet.md %} 46 |
47 |
Deletes a site domain
51 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-handler.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 35 | 36 | 37 | 38 | 39 | 50 | 51 | 52 |
{% include snippet-fun-consoleuser.md %}azure site handler
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
Show your site handler mappings
add {% include command-argument-options.md %} {% include command-argument-extension.md %} [processor] {% include command-argument-name.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 | {% include command-option-extension.md %} 31 |
-p, --processor <processor>
The path to the script processor (executable that will process the file given by the extension)
32 |
-a, --arguments <arguments>
The additional arguments
33 |
34 |
Add a handler mapping
delete {% include command-argument-options.md %} {% include command-argument-extension.md %} {% include command-argument-name.md %} 40 |
41 | {% include command-option-help.md %} 42 | {% include command-option-verbose.md %} 43 | {% include command-option-json.md %} 44 | {% include command-option-slot.md %} 45 | {% include command-option-subscription.md %} 46 | {% include command-option-extension.md %} 47 | {% include command-option-quiet.md %} 48 |
49 |
Deletes a site handler mapping
53 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-install.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-log.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 21 | 22 | 23 | 24 | 36 | 37 | 38 | 39 | 40 | 60 | 61 | 62 |
{% include snippet-fun-consoleuser.md %}azure site log
commandoptionsdescription
download {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
-o, --output <path>
output path, default is local folder
18 |
19 |
Download diagnostic log
tail {% include command-argument-options.md %} {% include command-argument-name.md %} 25 |
26 | {% include command-option-help.md %} 27 | {% include command-option-verbose.md %} 28 | {% include command-option-json.md %} 29 | {% include command-option-slot.md %} 30 | {% include command-option-subscription.md %} 31 |
-p, --path <path>
the log path under LogFiles folder
32 |
-f, --filter <filter>
filter matching line
33 |
--log
write output as log data
34 |
35 |
live diagnostic log
set {% include command-argument-options.md %} {% include command-argument-name.md %} 41 |
42 | {% include command-option-help.md %} 43 | {% include command-option-verbose.md %} 44 | {% include command-option-json.md %} 45 | {% include command-option-slot.md %} 46 | {% include command-option-subscription.md %} 47 |
-a, --application
Use this flag to enable application diagnostics
48 |
-A, --disable-application
Use this flag to disable application diagnostics
49 |
-w, --web-server-logging
Use this flag to enable web server logging
50 |
-W, --disable-web-server-logging
Use this flag to disable web server logging
51 |
-e, --detailed-error-messages
Use this flag to enable detailed error messages
52 |
-E, --disabled-detailed-error-messages
Use this flag to disable detailed error messages
53 |
-f, --failed-request-tracing
Use this flag to enable failed request tracing
54 |
-F, --disable-failed-request-tracing
Use this flag to disable failed request tracing
55 |
-o, --output <output>
Takes file or storage. When -a is specified, use this parameter to specify the output of the log
56 |
-l, --level
Takes error, warning, verbose or info. When -a is specified, use this parameter to specify the log level. (default is error)
57 |
-t, --storage-account
Use this parameter to specify the storage account where the logs will be stored
58 |
59 |
Configure diagnostics
63 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-scale.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 21 | 22 | 23 | 24 | 35 | 36 | 37 |
{% include snippet-fun-consoleuser.md %}azure site scale
commandoptionsdescription
mode {% include command-argument-name.md %} <mode> 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
--mode <mode>
The mode of the site (available are: free, shared and standard)
18 |
19 |
Sets the web site mode
instances {% include command-argument-name.md %} <instances> [size] 25 |
26 | {% include command-option-help.md %} 27 | {% include command-option-verbose.md %} 28 | {% include command-option-json.md %} 29 | {% include command-option-slot.md %} 30 | {% include command-option-subscription.md %} 31 |
--instances <instances>
The number of instances
32 |
--size <size>
The size of the instances (available are: small, medium and large)
33 |
34 |
Sets the web site number of instances
38 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-setup.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Getting Setup

4 |
5 |
6 |
    7 |
  1. Run azure account download to download a .publishsettings file which lists your subscriptions
  2. 8 |
  3. Run azure account import <path-to-publishsettings-file> to import your subscriptions to be available to the tools
  4. 9 |
  5. .publishsettings files may contain multiple subscriptions, run azure account list to identify which subscriptions were imported 10 |
      11 |
    • If you have multiple subscriptions, run azure account set <subscription-name> to select the subscription to use
    • 12 |
    13 |
  6. 14 |
  7. To remove all of your subscriptions from the tools, run azure account clear
  8. 15 |
16 |
17 |
-------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-site-commands.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 40 | 41 | 42 | 43 | 44 | 54 | 55 | 56 | 57 | 58 | 76 | 77 | 78 | 79 | 80 | 90 | 91 | 92 | 93 | 94 | 103 | 104 | 105 | 106 | 107 | 116 | 117 | 118 | 119 | 120 | 129 | 130 | 131 | 132 | 133 | 142 | 143 | 144 |
{% include snippet-fun-consoleuser.md %}azure site
commandoptionsdescription
browse {% include command-argument-options.md %} {% include command-argument-name.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
launch the website [name] in the default browser
create {% include command-argument-options.md %} {% include command-argument-name.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 | {% include command-option-location.md %} 31 | {% include command-option-hostname.md %} 32 | {% include command-option-git.md %} 33 | {% include command-option-publishingusername.md %} 34 | {% include command-option-github.md %} 35 | {% include command-option-githubusername.md %} 36 | {% include command-option-githubpassword.md %} 37 | {% include command-option-githubrepository.md %} 38 |
39 |
create a new, or associate a local directory to an existing web site
delete {% include command-argument-options.md %} {% include command-argument-name.md %} 45 |
46 | {% include command-option-help.md %} 47 | {% include command-option-verbose.md %} 48 | {% include command-option-json.md %} 49 | {% include command-option-slot.md %} 50 | {% include command-option-subscription.md %} 51 | {% include command-option-quiet.md %} 52 |
53 |
delete the web site [name]
set {% include command-argument-options.md %} {% include command-argument-name.md %} 59 |
60 | {% include command-option-help.md %} 61 | {% include command-option-verbose.md %} 62 | {% include command-option-json.md %} 63 | {% include command-option-slot.md %} 64 |
--net-version <net-version>
The .NET version. Valid options are v3.5 and v4.5
65 |
--php-version <php-version>
The PHP version. Valid options are off, v5.3 and v5.4
66 |
--platform <platform>
the platform. Valid options are x86 and x64
67 |
-w, --web-socket
use this flag to enable web sockets
68 |
-W, --disable-web-socket
use this flag to disable web sockets
69 |
-r, --remote-debugging
use this flag to enable remote debugging
70 |
-R
71 |
-d, --remote-debugging-version <remote-debugging-version>
the version of remote debugging. It's either VS2012 or VS2013. This parameter is only valid when remote debugging is on.
72 |
-m, --managed-pipeline-mode <managed-pipeline-mode>
the mode for managed pipeline. valid values are Classic and Integrated.
73 | {% include command-option-subscription.md %} 74 |
75 |
Sets configuration options for your web site [name]
show {% include command-argument-options.md %} {% include command-argument-name.md %} 81 |
82 | {% include command-option-help.md %} 83 | {% include command-option-verbose.md %} 84 | {% include command-option-json.md %} 85 |
-d, --details
show additional site details
86 | {% include command-option-slot.md %} 87 | {% include command-option-subscription.md %} 88 |
89 |
Show details for a web site
start {% include command-argument-options.md %} {% include command-argument-name.md %} 95 |
96 | {% include command-option-help.md %} 97 | {% include command-option-verbose.md %} 98 | {% include command-option-json.md %} 99 | {% include command-option-slot.md %} 100 | {% include command-option-subscription.md %} 101 |
102 |
start the Internet Information Services (IIS) site
stop {% include command-argument-options.md %} {% include command-argument-name.md %} 108 |
109 | {% include command-option-help.md %} 110 | {% include command-option-verbose.md %} 111 | {% include command-option-json.md %} 112 | {% include command-option-slot.md %} 113 | {% include command-option-subscription.md %} 114 |
115 |
stop the Internet Information Services (IIS) site
swap {% include command-argument-options.md %} {% include command-argument-name.md %}

new

121 |
122 | {% include command-option-help.md %} 123 | {% include command-option-subscription.md %} 124 | {% include command-option-verbose.md %} 125 | {% include command-option-json.md %} 126 | {% include command-option-quiet.md %} 127 |
128 |
swaps the staging site into production
restart {% include command-argument-options.md %} {% include command-argument-name.md %} 134 |
135 | {% include command-option-help.md %} 136 | {% include command-option-verbose.md %} 137 | {% include command-option-json.md %} 138 | {% include command-option-slot.md %} 139 | {% include command-option-subscription.md %} 140 |
141 |
stop, then start the Internet Information Services (IIS) site
145 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-site-config-commands.md: -------------------------------------------------------------------------------- 1 |
2 |

Warning!

3 |

azure site config has been deprecated and will be removed in a future release. Please use azure site appsetting instead.

4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 22 | 23 | 24 | 25 | 26 | 34 | 35 | 36 | 37 | 38 | 46 | 47 | 48 | 49 | 50 | 58 | 59 | 60 |
{% include snippet-fun-consoleuser.md %}azure site config
commandoptionsdescription
list {% include command-argument-options.md %} {% include command-argument-name.md %} 15 |
16 | {% include command-option-help.md %} 17 | {% include command-option-verbose.md %} 18 | {% include command-option-json.md %} 19 | {% include command-option-subscription.md %} 20 |
21 |
list the app setting for the specified site
add {% include command-argument-options.md %} {% include command-argument-keyvaluepair.md %} {% include command-argument-name.md %} 27 |
28 | {% include command-option-help.md %} 29 | {% include command-option-verbose.md %} 30 | {% include command-option-json.md %} 31 | {% include command-option-subscription.md %} 32 |
33 |
add an app setting to the specified web site
clear {% include command-argument-options.md %} {% include command-argument-key.md %} {% include command-argument-name.md %} 39 |
40 | {% include command-option-help.md %} 41 | {% include command-option-verbose.md %} 42 | {% include command-option-json.md %} 43 | {% include command-option-subscription.md %} 44 |
45 |
removes an app setting from the specified web site
get {% include command-argument-options.md %} {% include command-argument-key.md %} {% include command-argument-name.md %} 51 |
52 | {% include command-option-help.md %} 53 | {% include command-option-verbose.md %} 54 | {% include command-option-json.md %} 55 | {% include command-option-subscription.md %} 56 |
57 |
gets the current value of web site app setting
61 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-site-deployment-commands.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 47 | 48 | 49 | 59 | 60 | 61 | 62 | 63 | 73 | 74 | 75 | 76 | 77 | 89 | 90 | 91 | 92 | 93 | 104 | 105 | 106 |
{% include snippet-fun-consoleuser.md %}azure site deployment
commandoptionsdescription
deploymentscript {% include command-argument-options.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 |
-r, --repositoryRoot [dir path]
The root path for the repository (default: .)
16 |
--aspWAP projectFilePath>
Create a deployment script for .NET web application, specify the project file path
17 |
--aspWebSite
Create a deployment script for asp website
18 |
--node
Create a deployment script for node.js website
19 |
--php
Create a deployment script for php website
20 |
--python
Create a deployment script for python website
21 |
--basic
Create a deployment script for any other website
22 |
-s, --solutionFile [file path]
The solution file path (sln)
23 |
-p, --sitePath [directory path]
The path to the site being deployed (default: same as repositoryRoot)
24 |
-t, --scriptType [batch|bash]
The script output type (default: batch)
25 |
-o, --outputPath <output path>
The path to output generated script (default: same as repository root)
26 |
-y, --suppressPrompt
Suppresses prompting to confirm you want to overwrite an existing destination file
27 |
--no-dot-deployment
Do not generate the .deployment file.
28 |
--no-solution
Do not require a solution file path (only for --aspWAP otherwise ignored).
29 |
30 |
Generate custom deployment script
list {% include command-argument-options.md %} {% include command-argument-name.md %} 36 |
37 | {% include command-option-help.md %} 38 | {% include command-option-verbose.md %} 39 | {% include command-option-json.md %} 40 | {% include command-option-slot.md %} 41 | {% include command-option-subscription.md %} 42 | {% include command-option-max.md %} 43 |
44 |
lists deployed site
show {% include command-argument-options.md %} {% include command-argument-commitid.md %} {% include command-argument-name.md %} 50 |
51 | {% include command-option-help.md %} 52 | {% include command-option-verbose.md %} 53 | {% include command-option-json.md %} 54 | {% include command-option-slot.md %} 55 | {% include command-option-subscription.md %} 56 | {% include command-option-details.md %} 57 |
58 |
shows details of the git deployment with the particular [commitid]
redeploy {% include command-argument-options.md %} {% include command-argument-commitid.md %} {% include command-argument-name.md %} 64 |
65 | {% include command-option-help.md %} 66 | {% include command-option-verbose.md %} 67 | {% include command-option-json.md %} 68 | {% include command-option-slot.md %} 69 | {% include command-option-subscription.md %} 70 | {% include command-option-quiet.md %} 71 |
72 |
set specified [commitid] as the active deployment
github {% include command-argument-options.md %} {% include command-argument-name.md %} 78 |
79 | {% include command-option-help.md %} 80 | {% include command-option-verbose.md %} 81 | {% include command-option-json.md %} 82 | {% include command-option-slot.md %} 83 | {% include command-option-subscription.md %} 84 | {% include command-option-githubusername.md %} 85 | {% include command-option-githubpassword.md %} 86 | {% include command-option-githubrepository.md %} 87 |
88 |
setup a github service hook for specified web site
user set {% include command-argument-options.md %} [username] [pass] 94 |
95 | {% include command-option-help.md %} 96 | {% include command-option-verbose.md %} 97 | {% include command-option-json.md %} 98 | {% include command-option-slot.md %} 99 | {% include command-option-subscription.md %} 100 |
-u, --username <gitUsername>
The new git username
101 |
-p, --pass <gitPassword>
The new git password
102 |
103 |
Sets the deployment credentials
107 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-site-job-commands.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 22 | 23 | 24 | 25 | 26 | 36 | 37 | 38 | 39 | 40 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 67 | 68 | 69 | 80 | 81 | 82 | 83 | 84 | 95 | 96 | 97 | 98 | 99 | 109 | 110 | 111 | 112 | 113 | 125 | 126 | 127 |
{% include snippet-fun-consoleuser.md %}azure site job
commandoptionsdescription
delete {% include command-argument-options.md %} {% include command-argument-jobname.md %} {% include command-argument-jobtype.md %} {% include command-argument-name.md %}

new

11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-jobname.md %} 16 | {% include command-option-jobtype.md %} 17 | {% include command-option-quiet.md %} 18 | {% include command-option-slot.md %} 19 | {% include command-option-subscription.md %} 20 |
21 |
Delete a web job
history list {% include command-argument-options.md %} [jobName] {% include command-argument-name.md %}

new

27 |
28 | {% include command-option-help.md %} 29 | {% include command-option-verbose.md %} 30 | {% include command-option-json.md %} 31 | {% include command-option-jobname.md %} 32 | {% include command-option-slot.md %} 33 | {% include command-option-subscription.md %} 34 |
35 |
List all the triggered web jobs runs under a web site
history show {% include command-argument-options.md %} [jobName] [runId] {% include command-argument-name.md %}

new

41 |
42 | {% include command-option-help.md %} 43 | {% include command-option-verbose.md %} 44 | {% include command-option-json.md %} 45 | {% include command-option-jobname.md %} 46 |
--run-id <run-id>
optional. The id of the run history. If not specified, show the latest run.
47 | {% include command-option-slot.md %} 48 | {% include command-option-subscription.md %} 49 |
50 |
Get the details for a triggered web jobs run under a web site
list {% include command-argument-options.md %} {% include command-argument-name.md %}

new

56 |
57 | {% include command-option-help.md %} 58 | {% include command-option-verbose.md %} 59 | {% include command-option-json.md %} 60 |
--job-type <job-type%gt;
optional. The type of the webjob. Valid value is "triggered" or "continuous". By default return webjobs of all types.
61 | {% include command-option-slot.md %} 62 | {% include command-option-subscription.md %} 63 |
64 |
List all the web jobs under a web site
show {% include command-argument-options.md %} {% include command-argument-jobname.md %} {% include command-argument-jobtype.md %} {% include command-argument-name.md %}

new

70 |
71 | {% include command-option-help.md %} 72 | {% include command-option-verbose.md %} 73 | {% include command-option-json.md %} 74 | {% include command-option-jobname.md %} 75 | {% include command-option-jobtype.md %} 76 | {% include command-option-slot.md %} 77 | {% include command-option-subscription.md %} 78 |
79 |
Show details of a specific web job
start {% include command-argument-options.md %} {% include command-argument-jobname.md %} {% include command-argument-jobtype.md %} {% include command-argument-name.md %}

new

85 |
86 | {% include command-option-help.md %} 87 | {% include command-option-verbose.md %} 88 | {% include command-option-json.md %} 89 | {% include command-option-jobname.md %} 90 | {% include command-option-jobtype.md %} 91 | {% include command-option-slot.md %} 92 | {% include command-option-subscription.md %} 93 |
94 |
Start a web job
stop {% include command-argument-options.md %} {% include command-argument-jobname.md %} {% include command-argument-jobtype.md %} {% include command-argument-name.md %}

new

100 |
101 | {% include command-option-help.md %} 102 | {% include command-option-verbose.md %} 103 | {% include command-option-json.md %} 104 | {% include command-option-jobname.md %} 105 | {% include command-option-slot.md %} 106 | {% include command-option-subscription.md %} 107 |
108 |
Stop a web job. Only continuous jobs can be stopped
upload {% include command-argument-options.md %} {% include command-argument-jobname.md %} {% include command-argument-jobtype.md %} <jobFile> {% include command-argument-name.md %}

new

114 |
115 | {% include command-option-help.md %} 116 | {% include command-option-verbose.md %} 117 | {% include command-option-json.md %} 118 | {% include command-option-jobname.md %} 119 | {% include command-option-jobtype.md %} 120 | {% include command-option-jobfile.md %} 121 | {% include command-option-slot.md %} 122 | {% include command-option-subscription.md %} 123 |
124 |
Upload a web job
128 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-site-location-commands.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 17 | 18 | 19 |
{% include snippet-fun-consoleuser.md %}azure site location
commandoptionsdescription
list {% include command-argument-options.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 |
16 |
enumerate the data centers in which web sites can be created
20 | -------------------------------------------------------------------------------- /_includes/html-cli-cross-platform-site-repository-commands.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 | 23 | 33 | 34 | 35 | 36 | 37 | 46 | 47 | 48 |
{% include snippet-fun-consoleuser.md %}azure site repository
commandoptionsdescription
branch <branch> {% include command-argument-name.md %} {% include command-argument-options.md %} 11 |
12 | {% include command-option-help.md %} 13 | {% include command-option-verbose.md %} 14 | {% include command-option-json.md %} 15 | {% include command-option-slot.md %} 16 | {% include command-option-subscription.md %} 17 |
18 |
set the branch in which to use for website deployment
delete {% include command-argument-name.md %} {% include command-argument-options.md %} 24 |
25 | {% include command-option-help.md %} 26 | {% include command-option-verbose.md %} 27 | {% include command-option-json.md %} 28 | {% include command-option-slot.md %} 29 | {% include command-option-subscription.md %} 30 | {% include command-option-quiet.md %} 31 |
32 |
delete the remote git repository for the web site
sync {% include command-argument-name.md %} {% include command-argument-options.md %} 38 |
39 | {% include command-option-help.md %} 40 | {% include command-option-verbose.md %} 41 | {% include command-option-json.md %} 42 | {% include command-option-slot.md %} 43 | {% include command-option-subscription.md %} 44 |
45 |
Sync your repository
49 | -------------------------------------------------------------------------------- /_includes/html-cli-kudusync-commands.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 36 | 37 | 38 |
{% include snippet-fun-consoleuser.md %}kudusync [options]
commandoptionsdescription
11 |
12 |
-h, --help
13 |
output usage information
14 |
-V, --version
15 |
output the version number
16 |
-f, --fromDir <dir path>
17 |
Source directory to sync
18 |
-t, --toDir <dir path>
19 |
Destination directory to sync
20 |
-n, --nextManifest <manifest file path>
21 |
Next manifest file path
22 |
-p, --previousManifest [manifest file path]
23 |
Previous manifest file path
24 |
-i, --ignore [patterns]
25 |
List of files/directories to ignore
26 |
-q, --quiet
27 |
No logging
28 |
-v, --verbose [maxLines]
29 |
Verbose logging with maximum number of output lines
30 |
-w, --whatIf
31 |
only log without actual copy/remove of files
32 |
--perf
33 |
Print out the time it took to complete KuduSync operation
34 |
35 |
 
39 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-get.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 22 | 23 |
{% include snippet-fun-powershelluser.md %}Get-AzureWebSite
parameterdescriptionparameter help
10 | {% include command-parameter-name.md %} 11 | {% include command-description-name.md %} 14 |
15 | {% include command-help-required-false.md %} 16 | {% include command-help-position-one.md %} 17 | {% include command-help-default-blank.md %} 18 | {% include command-help-pipeline-true.md %} 19 | {% include command-help-wildcard-false.md %} 20 |
21 |
24 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-install.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-new.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 14 | 15 | 24 | 25 | 26 | 31 | 32 | 41 | 42 | 43 | 48 | 49 | 58 | 59 | 60 | 65 | 66 | 75 | 76 | 77 | 82 | 83 | 92 | 93 | 94 | 99 | 100 | 109 | 110 | 111 | 116 | 117 | 126 | 127 | 128 | 133 | 134 | 143 | 144 |
{% include snippet-fun-powershelluser.md %}New-AzureWebSite
parameterdescriptionparameter help
10 |
11 | {% include command-parameter-name.md %} 12 |
13 |
{% include command-description-name.md %} 16 |
17 | {% include command-help-required-false.md %} 18 | {% include command-help-position-one.md %} 19 | {% include command-help-default-blank.md %} 20 | {% include command-help-pipeline-true.md %} 21 | {% include command-help-wildcard-false.md %} 22 |
23 |
27 |
28 | {% include command-parameter-location.md %} 29 |
30 |
{% include command-description-location.md %} 33 |
34 | {% include command-help-required-false.md %} 35 | {% include command-help-position-two.md %} 36 | {% include command-help-default-blank.md %} 37 | {% include command-help-pipeline-true.md %} 38 | {% include command-help-wildcard-false.md %} 39 |
40 |
44 |
45 | {% include command-parameter-HostName.md %} 46 |
47 |
{% include command-description-HostName.md %} 50 |
51 | {% include command-help-required-false.md %} 52 | {% include command-help-position-three.md %} 53 | {% include command-help-default-blank.md %} 54 | {% include command-help-pipeline-true.md %} 55 | {% include command-help-wildcard-false.md %} 56 |
57 |
61 |
62 | {% include command-parameter-PublishingUsername.md %} 63 |
64 |
{% include command-description-PublishingUsername.md %} 67 |
68 | {% include command-help-required-false.md %} 69 | {% include command-help-position-four.md %} 70 | {% include command-help-default-blank.md %} 71 | {% include command-help-pipeline-true.md %} 72 | {% include command-help-wildcard-false.md %} 73 |
74 |
78 |
79 | {% include command-parameter-Git.md %} 80 |
81 |
{% include command-description-Git.md %} 84 |
85 | {% include command-help-required-false.md %} 86 | {% include command-help-position-named.md %} 87 | {% include command-help-default-blank.md %} 88 | {% include command-help-pipeline-true.md %} 89 | {% include command-help-wildcard-false.md %} 90 |
91 |
95 |
96 | {% include command-parameter-GitHub.md %} 97 |
98 |
{% include command-description-GitHub.md %} 101 |
102 | {% include command-help-required-false.md %} 103 | {% include command-help-position-named.md %} 104 | {% include command-help-default-blank.md %} 105 | {% include command-help-pipeline-true.md %} 106 | {% include command-help-wildcard-false.md %} 107 |
108 |
112 |
113 | {% include command-parameter-GitHubCredentials.md %} 114 |
115 |
{% include command-description-GitHubCredentials.md %} 118 |
119 | {% include command-help-required-false.md %} 120 | {% include command-help-position-named.md %} 121 | {% include command-help-default-blank.md %} 122 | {% include command-help-pipeline-true.md %} 123 | {% include command-help-wildcard-false.md %} 124 |
125 |
129 |
130 | {% include command-parameter-GitHubRepository.md %} 131 |
132 |
{% include command-description-GitHubRepository.md %} 135 |
136 | {% include command-help-required-false.md %} 137 | {% include command-help-position-named.md %} 138 | {% include command-help-default-blank.md %} 139 | {% include command-help-pipeline-true.md %} 140 | {% include command-help-wildcard-false.md %} 141 |
142 |
145 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-remove.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | 24 | 33 | 34 |
{% include snippet-fun-powershelluser.md %}Remove-AzureWebSite
parameterdescriptionparameter help
{% include command-parameter-name.md %}{% include command-description-name.md %} 12 |
13 | {% include command-help-required-false.md %} 14 | {% include command-help-position-one.md %} 15 | {% include command-help-default-blank.md %} 16 | {% include command-help-pipeline-true.md %} 17 | {% include command-help-wildcard-false.md %} 18 |
19 |
{% include command-parameter-force.md %}{% include command-description-force.md %} 25 |
26 | {% include command-help-required-false.md %} 27 | {% include command-help-position-named.md %} 28 | {% include command-help-default-blank.md %} 29 | {% include command-help-pipeline-false.md %} 30 | {% include command-help-wildcard-false.md %} 31 |
32 |
35 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-restart.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 |
{% include snippet-fun-powershelluser.md %}Restart-AzureWebSite
parameterdescriptionparameter help
{% include command-parameter-name.md %}{% include command-description-name.md %} 12 |
13 | {% include command-help-required-false.md %} 14 | {% include command-help-position-one.md %} 15 | {% include command-help-default-blank.md %} 16 | {% include command-help-pipeline-true.md %} 17 | {% include command-help-wildcard-false.md %} 18 |
19 |
22 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-set.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | 24 | 33 | 34 | 35 | 36 | 37 | 46 | 47 | 48 | 49 | 50 | 59 | 60 | 61 | 62 | 63 | 72 | 73 | 74 | 75 | 76 | 85 | 86 | 87 | 88 | 89 | 98 | 99 | 100 | 101 | 102 | 111 | 112 | 113 | 114 | 115 | 124 | 125 | 126 | 127 | 128 | 137 | 138 | 139 | 140 | 141 | 150 | 151 | 152 | 153 | 154 | 163 | 164 | 165 | 166 | 167 | 176 | 177 | 178 | 179 | 180 | 189 | 190 | 191 | 192 | 193 | 202 | 203 |
{% include snippet-fun-powershelluser.md %}Set-AzureWebSite
parameterdescriptionparameter help
{% include command-parameter-name.md %}{% include command-description-name.md %} 12 |
13 | {% include command-help-required-false.md %} 14 | {% include command-help-position-one.md %} 15 | {% include command-help-default-blank.md %} 16 | {% include command-help-pipeline-true.md %} 17 | {% include command-help-wildcard-false.md %} 18 |
19 |
{% include command-parameter-sitewithconfig.md %}{% include command-description-sitewithconfig.md %} 25 |
26 | {% include command-help-required-false.md %} 27 | {% include command-help-position-two.md %} 28 | {% include command-help-default-blank.md %} 29 | {% include command-help-pipeline-true.md %} 30 | {% include command-help-wildcard-false.md %} 31 |
32 |
{% include command-parameter-workers.md %}{% include command-description-workers.md %} 38 |
39 | {% include command-help-required-false.md %} 40 | {% include command-help-position-named.md %} 41 | {% include command-help-default-blank.md %} 42 | {% include command-help-pipeline-true.md %} 43 | {% include command-help-wildcard-false.md %} 44 |
45 |
{% include command-parameter-defaultdocument.md %}{% include command-description-defaultdocument.md %} 51 |
52 | {% include command-help-required-false.md %} 53 | {% include command-help-position-named.md %} 54 | {% include command-help-default-blank.md %} 55 | {% include command-help-pipeline-true.md %} 56 | {% include command-help-wildcard-false.md %} 57 |
58 |
{% include command-parameter-dotnet.md %}{% include command-description-dotnet.md %} 64 |
65 | {% include command-help-required-false.md %} 66 | {% include command-help-position-named.md %} 67 | {% include command-help-default-blank.md %} 68 | {% include command-help-pipeline-true.md %} 69 | {% include command-help-wildcard-false.md %} 70 |
71 |
{% include command-parameter-php.md %}{% include command-description-php.md %} 77 |
78 | {% include command-help-required-false.md %} 79 | {% include command-help-position-named.md %} 80 | {% include command-help-default-blank.md %} 81 | {% include command-help-pipeline-true.md %} 82 | {% include command-help-wildcard-false.md %} 83 |
84 |
{% include command-parameter-requesttracing.md %}{% include command-description-requesttracing.md %} 90 |
91 | {% include command-help-required-false.md %} 92 | {% include command-help-position-named.md %} 93 | {% include command-help-default-blank.md %} 94 | {% include command-help-pipeline-true.md %} 95 | {% include command-help-wildcard-false.md %} 96 |
97 |
{% include command-parameter-httplogging.md %}{% include command-description-httplogging.md %} 103 |
104 | {% include command-help-required-false.md %} 105 | {% include command-help-position-named.md %} 106 | {% include command-help-default-blank.md %} 107 | {% include command-help-pipeline-true.md %} 108 | {% include command-help-wildcard-false.md %} 109 |
110 |
{% include command-parameter-detailederrorlogging.md %}{% include command-description-detailederrorlogging.md %} 116 |
117 | {% include command-help-required-false.md %} 118 | {% include command-help-position-named.md %} 119 | {% include command-help-default-blank.md %} 120 | {% include command-help-pipeline-true.md %} 121 | {% include command-help-wildcard-false.md %} 122 |
123 |
{% include command-parameter-hostnames.md %}{% include command-description-hostnames.md %} 129 |
130 | {% include command-help-required-false.md %} 131 | {% include command-help-position-named.md %} 132 | {% include command-help-default-blank.md %} 133 | {% include command-help-pipeline-true.md %} 134 | {% include command-help-wildcard-false.md %} 135 |
136 |
{% include command-parameter-appsettings.md %}{% include command-description-appsettings.md %} 142 |
143 | {% include command-help-required-false.md %} 144 | {% include command-help-position-named.md %} 145 | {% include command-help-default-blank.md %} 146 | {% include command-help-pipeline-true.md %} 147 | {% include command-help-wildcard-false.md %} 148 |
149 |
{% include command-parameter-metadata.md %}{% include command-description-metadata.md %} 155 |
156 | {% include command-help-required-false.md %} 157 | {% include command-help-position-named.md %} 158 | {% include command-help-default-blank.md %} 159 | {% include command-help-pipeline-true.md %} 160 | {% include command-help-wildcard-false.md %} 161 |
162 |
{% include command-parameter-connectionstrings.md %}{% include command-description-connectionstrings.md %} 168 |
169 | {% include command-help-required-false.md %} 170 | {% include command-help-position-named.md %} 171 | {% include command-help-default-blank.md %} 172 | {% include command-help-pipeline-true.md %} 173 | {% include command-help-wildcard-false.md %} 174 |
175 |
{% include command-parameter-handlermappings.md %}{% include command-description-handlermappings.md %} 181 |
182 | {% include command-help-required-false.md %} 183 | {% include command-help-position-named.md %} 184 | {% include command-help-default-blank.md %} 185 | {% include command-help-pipeline-true.md %} 186 | {% include command-help-wildcard-false.md %} 187 |
188 |
{% include command-parameter-passthru.md %}{% include command-description-passthru.md %} 194 |
195 | {% include command-help-required-false.md %} 196 | {% include command-help-position-named.md %} 197 | {% include command-help-default-blank.md %} 198 | {% include command-help-pipeline-true.md %} 199 | {% include command-help-wildcard-false.md %} 200 |
201 |
204 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-setup.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Getting Setup

4 |
5 |
6 |
    7 |
  1. Run Get-AzurePublishSettingsFile to download a .publishsettings file which lists your subscriptions
  2. 8 |
  3. Run Import-AzurePublishSettingsFile <path-to-publishsettings-file> to make your subscriptions available to the PowerShell command-line.
  4. 9 |
  5. .publishsettings files may contain multiple subscriptions, run Get-AzureSubscription to identify which subscriptions were imported.
  6. 10 |
  7. Run Select-AzureSubscription <Name> to select the subscription to use
  8. 11 |
  9. To remove all of your subscriptions from PowerShell, run Get-AzureSubscription | Remove-AzureSubscription
  10. 12 |
13 |
14 |
-------------------------------------------------------------------------------- /_includes/html-cli-powershell-show.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 |
{% include snippet-fun-powershelluser.md %}Show-AzureWebSite
parameterdescriptionparameter help
{% include command-parameter-name.md %}{% include command-description-name.md %} 12 |
13 | {% include command-help-required-false.md %} 14 | {% include command-help-position-one.md %} 15 | {% include command-help-default-blank.md %} 16 | {% include command-help-pipeline-true.md %} 17 | {% include command-help-wildcard-false.md %} 18 |
19 |
22 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-start.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 |
{% include snippet-fun-powershelluser.md %}Start-AzureWebSite
parameterdescriptionparameter help
{% include command-parameter-name.md %}{% include command-description-name.md %} 12 |
13 | {% include command-help-required-false.md %} 14 | {% include command-help-position-one.md %} 15 | {% include command-help-default-blank.md %} 16 | {% include command-help-pipeline-true.md %} 17 | {% include command-help-wildcard-false.md %} 18 |
19 |
22 | -------------------------------------------------------------------------------- /_includes/html-cli-powershell-stop.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 |
{% include snippet-fun-powershelluser.md %}Stop-AzureWebSite
parameterdescriptionparameter help
{% include command-parameter-name.md %}{% include command-description-name.md %} 12 |
13 | {% include command-help-required-false.md %} 14 | {% include command-help-position-one.md %} 15 | {% include command-help-default-blank.md %} 16 | {% include command-help-pipeline-true.md %} 17 | {% include command-help-wildcard-false.md %} 18 |
19 |
22 | -------------------------------------------------------------------------------- /_includes/html-deployment-types.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/html-features-service-features.md: -------------------------------------------------------------------------------- 1 | 40 | -------------------------------------------------------------------------------- /_includes/html-kuduexec-install-php.md: -------------------------------------------------------------------------------- 1 |
2 | cd site\wwwroot
3 | mkdir bin
4 | cd bin
5 | mkdir php
6 | curl -o php.zip http://windows.php.net/downloads/releases/php-5.5.2-nts-Win32-VC11-x86.zip
7 | unzip php.zip
8 | rm php.zip
9 | 
-------------------------------------------------------------------------------- /_includes/html-panel-kudu-install.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Install Kudu

4 |
5 |
6 |

Windows Server

7 |

That's right, Kudu isn't exclusively for Microsoft Azure. Read the docs on How to Deploy Kudu on Windows Server 2012.

8 |

Self-Host on Microsoft Azure

9 |

Have you forked kudu for your own purposes? Here's how you can deploy your custom fork of Kudu to Azure

10 |
11 |
12 | -------------------------------------------------------------------------------- /_includes/html-panel-kuduexec-install.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Get the Tools

4 |
5 |
6 |

Command Line

7 |

8 |

Prerequisites: Node.js
9 | npm install kuduexec -g 10 |

11 |
12 |
13 | 14 |
15 | Microsoft Azure Web Sites is a shared environment. The context of command line access is contained within a sandbox. 16 |
17 | -------------------------------------------------------------------------------- /_includes/html-panel-kudusync-install.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Get the Tools

4 |
5 |
6 |

Command Line

7 |

8 |

Prerequisites: Node.js
9 | npm install kudusync -g 10 |

11 |
12 |
-------------------------------------------------------------------------------- /_includes/html-php-appsettings.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 | 18 | 19 | 25 | 26 | 27 |
KeyValueDescription
PHP_EXTENSIONS 10 |
11 |
comma delimited list of relative paths to DLLs
12 |
bin\ext\php_mongo.dll,bin\ext\php_xdebug.dll
13 |
14 |
used for loading PHP extensions with the built in versions of PHP
PHP_ZENDEXTENSIONS 20 |
21 |
comma delimited list of relative paths to DLLs
22 |
bin\ext\php_xdebug.dll,bin\ext\ZendLoader.dll
23 |
24 |
used for loading zend extensions with the built in versions of PHP
28 | -------------------------------------------------------------------------------- /_includes/html-php-extensions.md: -------------------------------------------------------------------------------- 1 | 39 | -------------------------------------------------------------------------------- /_includes/html-php-http-handler-mapping.md: -------------------------------------------------------------------------------- 1 |
ExtensionScript Processor PathAdditional Arguments (Optional)
*.phpD:\home\site\wwwroot\bin\php\php-cgi.exe
-------------------------------------------------------------------------------- /_includes/html-php-runtimes.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
PHPWinCache
5.3.191.3.4.0
5.4.9
5.5.31.3.5
18 | -------------------------------------------------------------------------------- /_includes/snippet-fun-consoleuser.md: -------------------------------------------------------------------------------- 1 | websites-dev$ 2 | -------------------------------------------------------------------------------- /_includes/snippet-fun-powershelluser.md: -------------------------------------------------------------------------------- 1 | PS > -------------------------------------------------------------------------------- /_includes/welcome.md: -------------------------------------------------------------------------------- 1 | Howdy, Cloud Adventurer! 2 | ======================== 3 | 4 | You've stumbled across the Microsoft Azure Web Sites Cheat Sheet -- The quickest reference for getting to know [Microsoft Azure Web Sites][WAWS] on the web. If you're looking for some [tutorials][WAWSTutorial] on how to develop solutions on Microsoft Azure Web Sites check out the [Microsoft Azure][WindowsAzure] product site. 5 | 6 | Browse around this one page reference for information on **command-line tools** for managing your Microsoft Azure Web Sites. Take a quick look at the **features** that are offered on Microsoft Azure Web Sites then start exploring the wonderful world of Microsoft Azure! 7 | 8 | [Try Microsoft Azure Web Sites today for free!][FreeTrial] 9 | 10 | [WindowsAzure]: http://www.windowsazure.com 11 | [WAWSTutorial]: http://www.windowsazure.com/en-us/develop/overview 12 | [WAWS]: http://www.windowsazure.com/en-us/home/scenarios/web-sites 13 | [FreeTrial]: http://www.windowsazure.com/en-us/pricing/free-trial/?WT.mc_id=ACBCB6EE5 14 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {% if page.title %}{{ page.title }} - {% endif %}Microsoft Azure Web Site Cheat Sheet 17 | 18 | 19 | 26 | 27 | 28 | 29 | 30 | 31 | 75 | 76 |
77 | {{ content }} 78 |
79 | 80 | 81 | 82 | 83 | 87 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /_posts/01-01-01-Features-Service.md: -------------------------------------------------------------------------------- 1 | --- 2 | categories: [features] 3 | --- 4 | 5 | # Features 6 | 7 | {% include html-features-service-features.md %} 8 | 9 | Note: Features in gray are not available in Azure Websites. These features are available in Virtual Machines or Cloud Services as indicated by VM for Virtual Machines and CS for Cloud Services. 10 | -------------------------------------------------------------------------------- /_posts/01-01-02-Environment.md: -------------------------------------------------------------------------------- 1 | --- 2 | categories: [features] 3 | --- 4 | 5 | # Environment 6 | 7 | ## Disable Server Affinity 8 | 9 | By default, Azure Websites comes preconfigured with Session affinity, which in many cases allows developers perform a very simple migration of their applications to cloud. This is because there is no need to worry about centralizing the session state of your application as a user will be redirected back to the same server on each subsequent request. 10 | 11 | Some applications, however, may not require session affinity and it would be better to turn off the session affinity in Azure Websites. This can be achieved by adding the following to the `web.config` file. 12 | 13 | To ensure that the session affinity works during scaling activities, make sure to also add in an AppSetting with the following key value: **clientAffinityEnabled** = **false** 14 | 15 | 16 | {% gist SyntaxC4/0d7185b30acf477c2033 web.disable-session-affinity.config %} 17 | 18 | ## Filtering Traffic by IP 19 | 20 | Based on your web application, you may want to restrict access to it. Access can be restricted by using the `` element and providing a list of IP address to allow. 21 | 22 | > If you would like to whitelist azure resources, the [Azure Datacenter IP Address Ranges](https://msdn.microsoft.com/en-us/library/azure/dn175718.aspx) are available online. 23 | 24 | {% include html-alert-ip-security-docs.md %} 25 | 26 | {% gist SyntaxC4/0d7185b30acf477c2033 web.ipsecurity.config %} 27 | 28 | ## Dynamic IP Restrictions 29 | 30 | Dynamic IP Restrictions enable you to block access to your website when based on an interval of requests (i.e. Potential DDoS Attack). This can be achieved in a variety of ways as outlined in the example below. 31 | 32 | {% include html-alert-dynamic-ip-restriction.md %} 33 | 34 | {% gist SyntaxC4/0d7185b30acf477c2033 web.dipr.config %} 35 | 36 | 55 | 56 | ## Auto-Heal 57 | 58 | You know those bugs where the only way to fix them is to restart the server every so often? There's a `web.config` setting for that! Microsoft Azure Websites have the ability to auto-heal based on a number of different triggers, i've outlined some of them in the example below. Note that this only works in Standard mode. It throws an error in Free or Basic mode. 59 | 60 | {% gist SyntaxC4/0d7185b30acf477c2033 web.autoheal.config %} 61 | 62 | 93 | 94 | ## HTTP Compression 95 | 96 | Some big wins come in small packages, enabling HTTP Compression in your Website can help decrease your users mobile bill and wait time while loading your Web Application. 97 | 98 | {% gist SyntaxC4/0d7185b30acf477c2033 web.httpcompression.config %} 99 | 100 | 105 | 106 | ## Mime Map 107 | 108 | It's possible that you may need to map mime types to IIS if you are going to serve static files. 109 | 110 | {% gist SyntaxC4/0d7185b30acf477c2033 web.mimetype.config %} 111 | 112 | ## Cache Control 113 | Enable downstream caching of 114 | html for performance and cheaper delivery via Content Delivery Network (CDN). The snippet below enables 1 day, public caching of all HTML content. 115 | 116 | {% gist stephbu/673b6b3261552cbaf96b web.contentcaching.config %} 117 | 118 | 129 | 130 | ## Force HTTPS 131 | 132 | {% gist SyntaxC4/0d7185b30acf477c2033 web.forcehttps.config %} 133 | 134 | 145 | 146 | ## Enable HTTP Verbs 147 | 148 | When building out HTTP based APIs it is nearly impossible to enable functionality without being able to use certain HTTP Verbs such as PUT and DELETE. 149 | 150 | ### .NET 151 | 152 | {% gist SyntaxC4/0d7185b30acf477c2033 web.netverbs.config %} 153 | 154 | ### PHP 155 | 156 | Enable PUT requests using below web.config and make sure to change PHP Version number 157 | 158 | {% gist SyntaxC4/0d7185b30acf477c2033 web.phpverbs.config %} 159 | 160 | ### Nodejs 161 | 162 | {% gist prashanthmadi/72574ff9b8513eb6785fc8c3c0b358f7 web.NodeJs.config %} 163 | 164 | ## Enable HTTP Strict Transport Security (HSTS) 165 | 166 | For more information on HSTS, visit and read this blog post on [How to Enable HTTP Strict Transport Security in IIS 7+](http://www.hanselman.com/blog/HowToEnableHTTPStrictTransportSecurityHSTSInIIS7.aspx) by [Scott](http://hanselman.com) Hanselman. 167 | 168 | {% gist SyntaxC4/0d7185b30acf477c2033 web.hsts.config %} 169 | 170 | ## Remove X-Powered-By Header 171 | 172 | The X-Powered-By header typically displays the Language and version information of a website which could be a potential security risk. 173 | 174 | {% gist Syntaxc4/0d7185b30acf477c2033 web.x-powered-by.config %} 175 | -------------------------------------------------------------------------------- /_posts/02-01-01-Deployment.md: -------------------------------------------------------------------------------- 1 | --- 2 | categories: [deployment] 3 | --- 4 | 5 | # Deployment 6 | 7 | There are a number of ways to deploy your applications to Microsoft Azure Web Sites, there are also a number of ways to tie into the deployment process to aid you in Automation, Configuration, or Diagnosing issues with your deployment. 8 | 9 | ## Supported Deployment Types 10 | 11 | {% include html-deployment-types.md %} 12 | 13 | ## Deployment Tools 14 | 15 | ### Kudu 16 | 17 | {% include html-panel-kudu-install.md %} 18 | 19 | Kudu is the central nervous system of a Microsoft Azure Web Site; it handles the Git integration to a Web Site as well as provides an API endpoint for programmatic access to app settings, deployment information, files, active processes, runtime versions, source control information, web hooks and web jobs. Kudu, itself, is a Site Extension which is provided with ever Web Site, you can access it by using the Source Control Management entry point **https://<your-website-name>.scm.azurewebsites.net** 20 | 21 | #### Kudu Dash(board) 22 | 23 | The Kudu dashboard is the first page you will encounter on the SCM entry point, it displays information pertaining to your Web Site such as the build number of Kudu which is running, tge current uptime of your site (this could display a value as low as a couple of seconds as your site may have been deallocated due to inactivity, unless the site has Always-On enabled). 24 | 25 | ##### Environment 26 | 27 | The Environment tab in Kudu Dash shows some very valuable information including System Information, App Settings, Connection Strings, Environment Variables, PATH, HTTP Headers and Server Variables. 28 | 29 | ##### Debug Console 30 | 31 | The Debug Console gives file explorer and graphical KuduExec experience which enables you to run command line tools against the Web Site. 32 | 33 | ##### Diagnostic Dump 34 | 35 | Diagnostic Dump provides a zip file of all of the Diagnostic Data which is enabled under the Application Diagnostics header in the CONFIGURE tab of the Web Site. 36 | 37 | ##### Log Stream 38 | 39 | {% include html-alert-kududash-logstream.md %} 40 | 41 | Log Stream long-polling process which provides logging data from your Web Site if Web Server Logging is enabled under the Site Diagnostics header in the CONFIGURE tab of the Web Site. 42 | 43 | ##### Web Hooks 44 | 45 | Allows URLs to be registered as Web Hooks. Information will be posted to the URL when events occur. 46 | 47 | #### Hooking the Deployment 48 | 49 | 50 | 51 | ### KuduExec 52 | 53 | {% include html-panel-kuduexec-install.md %} 54 | 55 | KuduExec enables command-line access to a Microsoft Azure Web Site. Simply call KuduExec and pass in the Source Control Management (scm) endpoint of the website as the first parameter. 56 | 57 |
58 | kuduexec https://[site-name].scm.azurewebsites.net
59 | Username: [deployment-user]
60 | Password: [deployment-pass]
61 | 
62 | 63 | ### KuduSync 64 | 65 | {% include html-panel-kudusync-install.md %} 66 | 67 | KuduSync is a tool for syncing files for deployment, will only copy changed files and delete files that doesn't exists in the destination but only if they were part of the previous deployment. 68 | 69 | {% include html-alert-kudusync-deployment.md %} 70 | 71 | {% include html-cli-kudusync-commands.md %} 72 | -------------------------------------------------------------------------------- /_posts/02-01-02-Configuration-ASPNET.md: -------------------------------------------------------------------------------- 1 | ### ASP.NET 2 | 3 | #### .NET Runtimes 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
Default .NET Runtime versions on Microsoft Azure Web Sites
23 | -------------------------------------------------------------------------------- /_posts/02-01-03-Configuration-Nodejs.md: -------------------------------------------------------------------------------- 1 | ### Node.js 2 | 3 | #### Node Version 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
Default Node.js version on Microsoft Azure Web Sites
23 | -------------------------------------------------------------------------------- /_posts/03-01-01-Language-Guide-ASP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/_posts/03-01-01-Language-Guide-ASP.md -------------------------------------------------------------------------------- /_posts/03-02-01-Language-Guide-ASPNET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/_posts/03-02-01-Language-Guide-ASPNET.md -------------------------------------------------------------------------------- /_posts/03-03-01-Language-Guide-NODEJS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/_posts/03-03-01-Language-Guide-NODEJS.md -------------------------------------------------------------------------------- /_posts/03-04-01-Language-Guide-PHP.md: -------------------------------------------------------------------------------- 1 | --- 2 | categories: [language, php] 3 | --- 4 | 5 | ## PHP 6 | 7 | So, you fancy programming PHP do ya? Well, here are some tips specifically for you. 8 | 9 | ### PHP Runtimes 10 | 11 | Microsoft Azure Web Sites has a selection of default installed PHP Runtimes, however, the option is still available to bring your own runtime if a specific version of PHP is required. 12 | 13 | {% include html-php-runtimes.md %} 14 | 15 | #### Bring your own Runtime 16 | 17 | {% include html-alert-php-byo-runtime.md %} 18 | 19 | {% include html-alert-php-byo-phpini.md %} 20 | 21 | In order to do this there are a few steps involved: 22 | 23 | 1. Download the NTS PHP runtime 24 | * From [PHP for Windows downloads](http://windows.php.net/downloads) page and upload to ```/site/wwwroot/bin/php``` via FTP. 25 | * Using [KuduExec](#kuduexec) or [KuduExec (Web)](#kuduexec-web) 26 | 27 | {% gist SyntaxC4/0d7185b30acf477c2033 InstallPHP.sh %} 28 | 29 | 2. Configure an Handler Mapping via the Microsoft Azure Management Portal; or 30 | * Login to the Microsoft Azure Management Portal 31 | * Select your Web Site from the list 32 | * Navigate to the **CONFIGURE** tab 33 | * Scroll to the **Handler Mappings** section 34 | * Flll the boxes as follows: 35 | 36 | {% include html-php-http-handler-mapping.md %} 37 | 38 | 3. Configure a Handler Mapping via the command line: 39 | 40 | **Cross Platform Command Line Tools** 41 | 42 | {% gist SyntaxC4/0d7185b30acf477c2033 addAzureWebsitePHPHandler.sh %} 43 | 44 | **PowerShell Cmdlets** 45 | 46 | {% gist SyntaxC4/0d7185b30acf477c2033 New-AzureWebsitePHPHandler.ps1 %} 47 | 48 | ### Default PHP Extensions 49 | 50 | {% include html-alert-enable-php-extensions.md %} 51 | {% include html-alert-enable-default-php-extensions.md %} 52 | {% include html-php-extensions.md %} 53 | 54 | ### Enabling PHP Extensions 55 | 56 | Extensions can be enabled by adding **App Settings** to your Web Site with the following reserved app setting keys. 57 | 58 | {% include html-php-appsettings.md %} 59 | 60 | ### Enabling XDebug 61 | 62 | To enable the use of this `ini` file, create an `ini` folder within `d:\home\site\` and drop the following `xdebug.ini` file inside the folder. In the **App Settings** section of the portal, add a new App Setting `PHP_INI_SCAN_DIR` with the value of `d:\home\site\ini`. You must restart the App Service for these chances to take effect. 63 | 64 | {% gist SyntaxC4/0d7185b30acf477c2033 xdebug.ini %} 65 | -------------------------------------------------------------------------------- /_posts/03-05-01-Language-Guide-PYTHON.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/_posts/03-05-01-Language-Guide-PYTHON.md -------------------------------------------------------------------------------- /_posts/04-01-01-Microsoft-Azure-CLI-Tools-Cross-Platform.md: -------------------------------------------------------------------------------- 1 | --- 2 | categories: [command-line, cli] 3 | --- 4 | 5 | # Microsoft Azure CLI Tools (Cross Platform 0.7.0) 6 | 7 | The Microsoft Azure cross platform command line tools enable the power of the [Microsoft Azure Management Portal][WA-Portal] at the tip of your fingers on **Linux**, **OSX** or **Windows**. This guide details the command line options for creating, configuring and scaling Microsoft Azure Web Sites. 8 | 9 | {% include html-cli-cross-platform-install.md %} 10 | 11 | {% include html-cli-cross-platform-setup.md %} 12 | 13 | ## General Web Site Commands 14 | 15 | General commands for Microsoft Azure Web Sites include the ability to **create** or **delete** a Web Site in Microsoft Azure. In addition, they allow you to control they underlying **Web Server** (IIS) with actions such as **starting** and **stopping** the site. 16 | 17 | {% include html-cli-cross-platform-site-commands.md %} 18 | 19 | ## Web Site Deployment Commands 20 | 21 | {% include html-cli-cross-platform-site-deployment-commands.md %} 22 | 23 | ## Web Site Repository Commands 24 | 25 | {% include html-cli-cross-platform-site-repository-commands.md %} 26 | 27 | ## Web Site Location Commands 28 | 29 | {% include html-cli-cross-platform-site-location-commands.md %} 30 | 31 | ## Web Site Configuration Commands 32 | 33 | ### App Settings Configuration 34 | 35 | {% include html-cli-cross-platform-appsetting.md %} 36 | 37 | ### SSL Certificate Configuration 38 | 39 | {% include html-cli-cross-platform-cert.md %} 40 | 41 | ### Site Configuration 42 | 43 | {% include html-cli-cross-platform-site-config-commands.md %} 44 | 45 | ### Connection String Configuration 46 | 47 | {% include html-cli-cross-platform-connectionstring.md %} 48 | 49 | ### Default Document Configuration 50 | 51 | {% include html-cli-cross-platform-defaultdocument.md %} 52 | 53 | ### Custom Domain Configuration 54 | 55 | {% include html-cli-cross-platform-domain.md %} 56 | 57 | ### HTTP Handler Configuration 58 | 59 | {% include html-cli-cross-platform-handler.md %} 60 | 61 | ### Web Job Configuration 62 | 63 | {% include html-cli-cross-platform-site-job-commands.md %} 64 | 65 | ### Logging Configuration 66 | 67 | {% include html-cli-cross-platform-log.md %} 68 | 69 | ### Scale Configuration 70 | 71 | {% include html-cli-cross-platform-scale.md %} 72 | 73 | [WA-Portal]: https://manage.windowsazure.com 74 | -------------------------------------------------------------------------------- /_posts/04-02-01-Microsoft-Azure-CLI-Tools-Powershell.md: -------------------------------------------------------------------------------- 1 | --- 2 | categories: [command-line, powershell] 3 | --- 4 | 5 | # Microsoft Azure CLI Tools (PowerShell 0.6.18) 6 | 7 | The Microsoft Azure PowerShell Cmdlets enable the power of the Microsoft Azure Management Portal straight from the PowerShell command window. This guide details the command line operations for interacting with Microsoft Azure Web Sites. 8 | 9 | {% include html-cli-powershell-install.md %} 10 | 11 | {% include html-cli-powershell-setup.md %} 12 | 13 | ## Web Site Management 14 | 15 | These Cmdlets enable the ability to create new Microsoft Azure Web Sites with options to associate a local Git or GitHub repository to your site. The Cmdlets also allow the deletion of Web Sites from your subscription. 16 | 17 | {% include html-cli-powershell-new.md %} 18 | 19 | {% include html-cli-powershell-remove.md %} 20 | 21 | ## Web Site Configuration 22 | 23 | These Cmdlets enable the ability to list or set configuration settings in Microsoft Azure Web Sites. 24 | 25 | {% include html-cli-powershell-get.md %} 26 | 27 | {% include html-cli-powershell-set.md %} 28 | 29 | ## Web Site Operations 30 | 31 | These Cmdlets enable the ability to **start**, **stop** or **restart** a Web Site. The Cmdlets also launch the Web Site in the default web browser. 32 | 33 | {% include html-cli-powershell-start.md %} 34 | 35 | {% include html-cli-powershell-stop.md %} 36 | 37 | {% include html-cli-powershell-restart.md %} 38 | 39 | {% include html-cli-powershell-show.md %} 40 | -------------------------------------------------------------------------------- /css/site.css: -------------------------------------------------------------------------------- 1 | /* 2 | Global 3 | */ 4 | 5 | body { padding-top: 70px; } 6 | section { margin-top: 20px; } 7 | h5 { font-weight: bold; } 8 | 9 | /* 10 | Navigation 11 | */ 12 | 13 | .navbar { background-color: #2e9afe; } 14 | .navbar a.navbar-brand { color: #fff; } 15 | .navbar a.navbar-brand:hover { color: #fff; } 16 | .navbar-default .navbar-nav > .active > a, 17 | .navbar-default .navbar-nav > .active > a:hover, 18 | .navbar-default .navbar-nav > .active > a:focus{ background-color: #0174df; color: #fff; } 19 | .navbar-default .navbar-nav > li > a { color: #fff; } 20 | .navbar-default .navbar-nav > li > a:hover, 21 | .navbar-default .navbar-nav > li > a:focus { background-color: transparent;} 22 | .navbar-default .navbar-nav>.dropdown>a .caret { border-top-color: #fff; } 23 | 24 | /* 25 | Tables 26 | */ 27 | 28 | table.cli caption { text-align: left; padding: 10px; border: 3px outset #d8d8d8;} 29 | table.ps caption { background-color: #000080; color: #fff;} 30 | table.cmd caption { background-color: #000; color: #00ff00;} 31 | 32 | /* 33 | Lists 34 | */ 35 | 36 | dl.dl-horizontal dt { text-align: left; } 37 | 38 | ul.ul-grid { width: 100%; } 39 | ul.ul-grid li { width: 24%; display: inline-block; text-align: center; margin-bottom: 5px; overflow:hidden; text-overflow:ellipsis; white-space: nowrap; } 40 | ul.ul-grid a, ul.ul-grid a:link, ul.ul-grid a:visited, ul.ul-grid a:hover{ text-decoration: none;} 41 | 42 | li.is-disabled, li.is-disabled a { color: #ccc; background-color: #f9f9f9 !important; } 43 | li.is-enabled, li.is-enabled a { color: #468847; background-color: #dff0d8 !important; } 44 | 45 | ol ul { list-style-type: square;} 46 | 47 | .list-group-item:last-child { 48 | margin-bottom: 5px; 49 | } 50 | 51 | /* 52 | Styles 53 | */ 54 | 55 | .w20 { width: 25%; } 56 | .w30 { width: 35%; } 57 | .w60 { width: 60%; } 58 | .hidden-all { display: none; } 59 | -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/favicon.ico -------------------------------------------------------------------------------- /img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /img/icon-cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/icon-cloud.png -------------------------------------------------------------------------------- /img/icon-deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/icon-deployment.png -------------------------------------------------------------------------------- /img/icon-development.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/icon-development.png -------------------------------------------------------------------------------- /img/icon-scripting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/icon-scripting.png -------------------------------------------------------------------------------- /img/icon-serverrack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/img/icon-serverrack.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | description: "A quick reference guide to Microsoft Azure Web Sites features, functionality and tooling." 4 | --- 5 | 6 | {% capture welcome_content %} {% include welcome.md %} {% endcapture %} 7 | 8 |
9 | {{ welcome_content | markdownify }} 10 |
11 | 12 | {% for post in site.posts reversed %} 13 | 14 | {% if post.categories contains "features" %} 15 |
16 | {{ post.content }} 17 |
18 | {% endif %} 19 | 20 | {% if post.categories contains "deployment" %} 21 |
22 | {{ post.content }} 23 |
24 | {% endif %} 25 | 26 | {% if post.categories contains "language" %} 27 | 28 |
29 |

Language Guide

30 | 31 | {% if post.categories contains "aspnet" %} 32 |
33 | {{ post.content }} 34 |
35 | {% endif %} 36 | 37 | {% if post.categories contains "nodejs" %} 38 |
39 | {{ post.content }} 40 |
41 | {% endif %} 42 | 43 | {% if post.categories contains "php" %} 44 |
45 | {{ post.content }} 46 |
47 | {% endif %} 48 | 49 | {% if post.categories contains "python" %} 50 |
51 | {{ post.content }} 52 |
53 | {% endif %} 54 | 55 |
56 | 57 | {% endif %} 58 | 59 | {% if post.categories contains "command-line" %} 60 | 61 |
62 | 63 | {% if post.categories contains "cli" %} 64 |
65 | {{ post.content }} 66 |
67 | {% endif %} 68 | 69 | {% if post.categories contains "powershell" %} 70 |
71 | {{post.content }} 72 |
73 | {% endif %} 74 | 75 |
76 | 77 | {% endif %} 78 | 79 | {% if post.categories contains "samples" %} 80 |
81 | {{ post.content }} 82 |
83 | {% endif %} 84 | 85 | {% if post.categories contains "additional-references" %} 86 |
87 | {{ post.content }} 88 |
89 | {% endif %} 90 | 91 | {% endfor %} 92 | -------------------------------------------------------------------------------- /js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.0.0 3 | * 4 | * Copyright 2013 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | */ 10 | 11 | +function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function f(){e.trigger("closed.bs.alert").remove()}var c=a(this),d=c.attr("data-target");d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));var e=a(d);b&&b.preventDefault(),e.length||(e=c.hasClass("alert")?c:c.parent()),e.trigger(b=a.Event("close.bs.alert"));if(b.isDefaultPrevented())return;e.removeClass("in"),a.support.transition&&e.hasClass("fade")?e.one(a.support.transition.end,f).emulateTransitionEnd(150):f()};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){a=="loadingText"?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");b.prop("type")==="radio"&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f=typeof c=="object"&&c;e||d.data("bs.button",e=new b(this,f)),c=="toggle"?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.pause=="hover"&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();if(b>this.$items.length-1||b<0)return;return this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){if(this.sliding)return;return this.slide("next")},b.prototype.prev=function(){if(this.sliding)return;return this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g=b=="next"?"left":"right",h=b=="next"?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(e.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")}));if(a.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(j);if(j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{this.$element.trigger(j);if(j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),typeof c=="object"&&c),g=typeof c=="string"?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),typeof c=="number"?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),c.data()),g=c.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=c.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){function e(){a(b).remove(),a(c).each(function(b){var c=f(a(this));if(!c.hasClass("open"))return;c.trigger(b=a.Event("hide.bs.dropdown"));if(b.isDefaultPrevented())return;c.removeClass("open").trigger("hidden.bs.dropdown")})}function f(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}"use strict";var b=".dropdown-backdrop",c="[data-toggle=dropdown]",d=function(b){var c=a(b).on("click.bs.dropdown",this.toggle)};d.prototype.toggle=function(b){var c=a(this);if(c.is(".disabled, :disabled"))return;var d=f(c),g=d.hasClass("open");e();if(!g){"ontouchstart"in document.documentElement&&!d.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||(typeof b.content=="function"?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f=typeof c=="object"&&c;e||d.data("bs.popover",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));if(b.parent("li").hasClass("active"))return;var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});b.trigger(f);if(f.isDefaultPrevented())return;var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})},b.prototype.activate=function(b,c,d){function g(){e.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),f?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var e=c.find("> .active"),f=d&&a.support.transition&&e.hasClass("fade");f?e.one(a.support.transition.end,g).emulateTransitionEnd(150):g(),e.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),typeof c=="string"&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;typeof f!="object"&&(h=g=f),typeof g=="function"&&(g=f.top()),typeof h=="function"&&(h=f.bottom());var i=this.unpin!=null&&d+this.unpin<=e.top?!1:h!=null&&e.top+this.$element.height()>=c-h?"bottom":g!=null&&d<=g?"top":!1;if(this.affixed===i)return;this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin=i=="bottom"?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),i=="bottom"&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()})};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f=typeof c=="object"&&c;e||d.data("bs.affix",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(this.transitioning||this.$element.hasClass("in"))return;var b=a.Event("show.bs.collapse");this.$element.trigger(b);if(b.isDefaultPrevented())return;var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])},b.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass("in"))return;var b=a.Event("hide.bs.collapse");this.$element.trigger(b);if(b.isDefaultPrevented())return;var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};if(!a.support.transition)return d.call(this);this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350)},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),typeof c=="object"&&c);e||d.data("bs.collapse",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c=a(this),d,e=c.attr("data-target")||b.preventDefault()||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":c.data(),i=c.attr("data-parent"),j=i&&a(i);if(!g||!g.transitioning)j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(c).addClass("collapsed"),c[f.hasClass("in")?"addClass":"removeClass"]("collapsed");f.collapse(h)})}(window.jQuery),+function(a){function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}"use strict",b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this,d=this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,c=b-this.$scrollElement.height(),d=this.offsets,e=this.targets,f=this.activeTarget,g;if(a>=c)return f!=(g=e.last()[0])&&this.activate(g);for(g=d.length;g--;)f!=e[g]&&a>=d[g]&&(!d[g+1]||a<=d[g+1])&&this.activate(e[g])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f=typeof c=="object"&&c;e||d.data("bs.scrollspy",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(a.style[c]!==undefined)return{end:b[c]}}"use strict",a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery) -------------------------------------------------------------------------------- /js/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SyntaxC4/MicrosoftAzureWebSitesCheatSheet/8845c8553591ab10795968784bc1e6c10f91d3c7/js/site.js -------------------------------------------------------------------------------- /params.json: -------------------------------------------------------------------------------- 1 | {"note":"Don't delete this file! It's used internally to help with page regeneration.","body":"WindowsAzureWebSitesCheatSheet\r\n==============================\r\n\r\nWindows Azure Web Sites Cheat Sheet is a collection of lesser known uses of Windows Azure Web Sites.","google":"UA-11941712-5","name":"Windowsazurewebsitescheatsheet","tagline":"Windows Azure Web Sites Cheat Sheet is a collection of lesser known uses of Windows Azure Web Sites."} --------------------------------------------------------------------------------