Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
updated design and added environment page
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxC4 committed Jul 12, 2014
1 parent f9a224e commit c6fac56
Show file tree
Hide file tree
Showing 31 changed files with 88 additions and 60 deletions.
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-appsetting.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site appsetting</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -58,4 +58,4 @@
</td>
<td>Shows an application setting for your site</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-cert.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site cert</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -55,4 +55,4 @@
</td>
<td>Shows a site certificate</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-connectionstring.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site connectionstring</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -63,4 +63,4 @@
</td>
<td>Shows a connection string for your site</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-defaultdocument.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site defaultdocument</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -48,4 +48,4 @@
</td>
<td>Deletes a site default document</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-domain.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site domain</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -47,4 +47,4 @@
</td>
<td>Deletes a site domain</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-handler.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site handler</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -49,4 +49,4 @@
</td>
<td>Deletes a site handler mapping</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-log.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site log</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -59,4 +59,4 @@
</td>
<td>Configure diagnostics</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-scale.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site scale</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -34,4 +34,4 @@
</td>
<td>Sets the web site number of instances</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-site-commands.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -141,4 +141,4 @@
</td>
<td>stop, then start the Internet Information Services (IIS) site</td>
</tr>
</table>
</table>
8 changes: 4 additions & 4 deletions _includes/html-cli-cross-platform-site-config-commands.md
Expand Up @@ -2,7 +2,7 @@
<p><strong>Warning!</strong></p>
<p><code>azure site config</code> has been deprecated and will be removed in a future release. Please use <code>azure site appsetting</code> instead.</p>
</div>
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site config</kbd></caption>
<tr>
<th class="w20">command</th>
Expand All @@ -23,7 +23,7 @@
</tr>
<tr>
<td>add {% include command-argument-options.md %} {% include command-argument-keyvaluepair.md %} {% include command-argument-name.md %}</td>
<td>
<td>
<dl class="dl-horizontal">
{% include command-option-help.md %}
{% include command-option-verbose.md %}
Expand All @@ -41,7 +41,7 @@
{% include command-option-verbose.md %}
{% include command-option-json.md %}
{% include command-option-subscription.md %}
</dl>
</dl>
</td>
<td>removes an <em>app setting</em> from the specified web site</td>
</tr>
Expand All @@ -57,4 +57,4 @@
</td>
<td>gets the current value of web site <em>app setting</em></td>
</tr>
</table>
</table>
8 changes: 4 additions & 4 deletions _includes/html-cli-cross-platform-site-deployment-commands.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site deployment</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -32,8 +32,8 @@
</tr>
<tr>
<td>list {% include command-argument-options.md %} {% include command-argument-name.md %}</td>
<td>
<dl class="dl-horizontal">
<td>
<dl class="dl-horizontal">
{% include command-option-help.md %}
{% include command-option-verbose.md %}
{% include command-option-json.md %}
Expand Down Expand Up @@ -80,7 +80,7 @@
{% include command-option-verbose.md %}
{% include command-option-json.md %}
{% include command-option-slot.md %}
{% include command-option-subscription.md %}
{% include command-option-subscription.md %}
{% include command-option-githubusername.md %}
{% include command-option-githubpassword.md %}
{% include command-option-githubrepository.md %}
Expand Down
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-site-job-commands.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site job</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -124,4 +124,4 @@
</td>
<td>Upload a web job</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-site-location-commands.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site location</kbd></caption>
<tr>
<th class="w20">command</th>
Expand All @@ -16,4 +16,4 @@
</td>
<td>enumerate the data centers in which web sites can be created</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-cross-platform-site-repository-commands.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>azure site repository</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -45,4 +45,4 @@
</td>
<td>Sync your repository</td>
</tr>
</table>
</table>
3 changes: 1 addition & 2 deletions _includes/html-cli-kudusync-commands.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli cmd">
<table class="table cli cmd">
<caption>{% include snippet-fun-consoleuser.md %}<kbd>kudusync [options]</kbd></caption>
<tr>
<th class="w20">command</th>
Expand Down Expand Up @@ -36,4 +36,3 @@
<td>&nbsp;</td>
</tr>
</table>

4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-get.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Get-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand All @@ -20,4 +20,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-new.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>New-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand Down Expand Up @@ -141,4 +141,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-remove.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Remove-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand Down Expand Up @@ -31,4 +31,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-restart.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Restart-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand All @@ -18,4 +18,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-set.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Set-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand Down Expand Up @@ -200,4 +200,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-show.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Show-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand All @@ -18,4 +18,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-start.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Start-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand All @@ -18,4 +18,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-cli-powershell-stop.md
@@ -1,4 +1,4 @@
<table class="table table-striped cli ps">
<table class="table cli ps">
<caption>{% include snippet-fun-powershelluser.md %}<kbd>Stop-AzureWebSite</kbd></caption>
<tr>
<th class="w30">parameter</th>
Expand All @@ -18,4 +18,4 @@
</dl>
</td>
</tr>
</table>
</table>
4 changes: 2 additions & 2 deletions _includes/html-php-appsettings.md
@@ -1,4 +1,4 @@
<table class="table table-striped">
<table class="table">
<tr>
<th>Key</th>
<th>Value</th>
Expand All @@ -24,4 +24,4 @@
</td>
<td>used for loading zend extensions with the built in versions of PHP</td>
</tr>
</table>
</table>
29 changes: 29 additions & 0 deletions _posts/01-01-02-Environment.md
@@ -0,0 +1,29 @@
---
categories: [features]
---

#Environment

##Disable Server Affinity

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.

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.

{% gist SyntaxC4/0d7185b30acf477c2033 web.disable-session-affinity.config %}

##Filtering Traffic by IP

{% gist SyntaxC4/0d7185b30acf477c2033 web.ipsecurity.config %}

##Dynamic IP Restrictions

{% gist SyntaxC4/0d7185b30acf477c2033 web.dipr.config %}

##Auto-Heal

{% gist SyntaxC4/0d7185b30acf477c2033 web.autoheal.config %}

##HTTP Compression

{% gist SyntaxC4/0d7185b30acf477c2033 web.httpcompression.config %}

0 comments on commit c6fac56

Please sign in to comment.