Skip to content

Commit

Permalink
Merge pull request #13127 from v-anpasi/manual-toc-removal
Browse files Browse the repository at this point in the history
Manually coded toc removal
  • Loading branch information
Deneha committed Aug 26, 2015
2 parents 1c52edf + 1e1e777 commit 52dbdf4
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 198 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,16 @@
ms.topic="article"
ms.date="05/18/2015"
ms.author="rasquill"/>







# How to Use the Autoscaling Application Block

This guide will demonstrate how to perform common scenarios using the
Autoscaling Application Block from the [Microsoft Enterprise Library 5.0
Integration Pack for Azure][]. The samples are written in C\#
and use the .NET API. The scenarios covered include **hosting the
block**, **using constraint rules**, and **using reactive rules**. For
more information on the Autoscaling Application Block, see the [Next Steps][] section.

## Table of Contents

[What is the Autoscaling Application Block?][]
[Concepts][]
[Collect Performance Counter Data from your Target Azure Application][]
[Set up a Host Application for the Autoscaling Application Block][]
[How to: Instantiate and Run the Autoscaler][] [How To: Define your Service Model][]
[How To: Define your Autoscaling Rules][]
[How To: Configure the Autoscaling Application Block][]
[Next Steps][]
more information on the Autoscaling Application Block, see the [Next Steps](#next-steps) section.

## <a id="WhatIs"> </a>What is the Autoscaling Application Block?
## What is the Autoscaling Application Block?

The Autoscaling Application Block can automatically scale your
Azure application based on rules that you define specifically for your
Expand All @@ -60,7 +42,7 @@ on-premises application.

The Autoscaling Application Block is part of the [Microsoft Enterprise Library 5.0 Integration Pack for Azure][].

## <a id="Concepts"> </a>Concepts
## Concepts

In the following diagram, the green line shows a plot of the number of
running instances of an Azure role over two days. The number of
Expand Down Expand Up @@ -107,7 +89,7 @@ The block stores its configuration settings in two stores:
collect data points from the target Azure application and to
perform scaling operations.

## <a id="PerfCounter"> </a>Collect Performance Counter Data from your Target Azure Application
## Collect Performance Counter Data from your Target Azure Application

Reactive rules can use performance counter data from roles as part of
the rule definition. For example, a reactive rule may monitor the CPU
Expand All @@ -122,7 +104,7 @@ should modify the roles from which you need to collect performance
counter data to save this data. For details about how to enable
performance counters in your application, see [Using performance counters in Azure][].

## <a id="CreateHost"> </a>Set up a Host Application for the Autoscaling Application Block
## Set up a Host Application for the Autoscaling Application Block

You can host the Autoscaling Application Block either in an Azure
role or in an on-premises application. The Autoscaling Application Block
Expand Down Expand Up @@ -186,7 +168,7 @@ Block:
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling;

## <a id="Instantiate"> </a>How to: Instantiate and Run the Autoscaler
## How to: Instantiate and Run the Autoscaler

Use the **IServiceLocator.GetInstance** method to instantiate the
Autoscaler, and then call the **Autoscaler.Start** method to run the
Expand All @@ -196,7 +178,7 @@ Autoscaler, and then call the **Autoscaler.Start** method to run the
EnterpriseLibraryContainer.Current.GetInstance<Autoscaler>();
scaler.Start();

## <a id="DefineServiceModel"> </a>How To: Define your Service Model
## How To: Define your Service Model

Typically, you store your service model (a description of your
Azure environment that includes information about subscriptions, hosted
Expand Down Expand Up @@ -323,7 +305,7 @@ Sign in to the management portal.
To find out more about the content of the service model file, see
[Storing Your Service Information Data][].

## <a id="DefineAutoscalingRules"> </a>How To: Define your Autoscaling Rules
## How To: Define your Autoscaling Rules

Typically, you store the autoscaling rules that control the number of
role instances in your target application in an XML file. You can find a
Expand Down Expand Up @@ -407,7 +389,7 @@ the **service model**:
instance count of the target role by one if the average CPU
utilization over the last five minutes has been less than 60%.

## <a id="Configure"> </a>How To: Configure the Autoscaling Application Block
## How To: Configure the Autoscaling Application Block

After you have defined your service model and autoscaling rules, you
must configure the Autoscaling Application Block to use them. This
Expand Down Expand Up @@ -532,7 +514,7 @@ the block and what actions the block is taking.
"InstanceChanges":{"AutoscalingApplicationRole":{"CurrentValue":1,"DesiredValue":2}},
"SettingChanges":{},"RequestID":"f8ca3ada07c24559b1cb075534f02d44"}

## <a id="NextSteps"> </a>Next Steps
## Next Steps

Now that you've learned the basics of using the Autoscaling Application
Block, follow these links to learn how to implement more complex
Expand All @@ -552,15 +534,6 @@ autoscaling scenarios:

[Microsoft Enterprise Library 5.0 Integration Pack for Azure]:
http://go.microsoft.com/fwlink/?LinkID=235134
[Next Steps]: #NextSteps
[What is the Autoscaling Application Block?]: #WhatIs
[Concepts]: #Concepts
[Collect Performance Counter Data from your Target Azure Application]: #PerfCounter
[Set up a Host Application for the Autoscaling Application Block]: #CreateHost
[How to: Instantiate and Run the Autoscaler]: #Instantiate
[How To: Define your Service Model]: #DefineServiceModel
[How To: Define your Autoscaling Rules]: #DefineAutoscalingRules
[How To: Configure the Autoscaling Application Block]: #Configure
[Using performance counters in Azure]: http://www.windowsazure.com/develop/net/common-tasks/performance-profiling/
[NuGet]: http://nuget.org/
[Azure Management Portal]: http://manage.windowsazure.com
Expand Down
38 changes: 7 additions & 31 deletions articles/store-blitline-how-to-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,19 @@
ms.topic="article"
ms.date="12/09/2014"
ms.author="support@blitline.com"/>






# How to use Blitline with Azure and Azure Storage

This guide will explain how to access Blitline services and how to submit jobs to Blitline.

## Table of contents

[What is Blitline?][]
[What Blitline is NOT][]
[Create a Blitline account][]
[How to create a Blitline job][]
[How to save an image to your Azure Storage][]
[Next steps][]

## <a id="whatis"></a>What is Blitline?
## What is Blitline?

Blitline is a cloud-based image processing service that provides enterprise level image processing at a fraction of the price that it would cost to build it yourself.

The fact is that image processing has been done over and over again, usually rebuilt from the ground up for each and every website. We realize this because we’ve built them a million times too. One day we decided that perhaps it‘s time we just do it for everyone. We know how to do it, to do it fast and efficiently, and save everyone work in the meantime.

For more information, see [http://www.blitline.com](http://www.blitline.com).

## <a id="whatisnot"></a>What Blitline is NOT...
## What Blitline is NOT...

To clarify what Blitline is useful for, it is often easier to identify what Blitline does NOT do before moving forward.

Expand All @@ -54,11 +39,11 @@ To clarify what Blitline is useful for, it is often easier to identify what Blit

- Blitline is massively parallel and does NOT do any synchronous processing. Meaning you must give us a postback_url and we can tell you when we are done processing.

## <a id="createaccount"></a>Create a Blitline account
## Create a Blitline account

[AZURE.INCLUDE [blitline-signup](../includes/blitline-signup.md)]

## <a id="createjob"></a>How to create a Blitline job
## How to create a Blitline job

Blitline uses JSON to define the actions you want to take on an image. This JSON is composed of a few simple fields.

Expand Down Expand Up @@ -103,7 +88,7 @@ You will get JSON back that looks something like this:
This tells you that Blitline has recieved your request, it has put it in a processing queue, and when it has completed the image will be available at:
**https://s3.amazonaws.com/dev.blitline/2011110722/YOUR\_APP\_ID/CK3f0xBF_2bV6wf7gEZE8w.jpg**

## <a id="saveazure"></a>How to save an image to your Azure Storage account
## How to save an image to your Azure Storage account

If you have an Azure Storage account, you can easily have Blitline push the processed images into your Azure container. By adding an "azure_destination" you define the location and permissions for Blitline to push to.

Expand All @@ -127,7 +112,7 @@ Here is an example:

By filling in the CAPITALIZED values with your own, you can submit this JSON to http://api.blitline.com/job and the "src" image will be processed with a blur filter and then pushed to you Azure destination.

<h3>Please note:</h3>
###Please note:

The SAS must contain the entire SAS url, including the filename of the destination file.

Expand All @@ -139,20 +124,11 @@ Example:
You can also read the latest edition of Blitline's Azure Storage docs [here](http://www.blitline.com/docs/azure_storage).


## <a id="nextsteps"></a>Next Steps
## Next Steps

Visit blitline.com to read about all our other features:

* Blitline API Endpoint Docs <http://www.blitline.com/docs/api>
* Blitline API Functions <http://www.blitline.com/docs/functions>
* Blitline API Examples <http://www.blitline.com/docs/examples>
* Third Part Nuget Library <http://nuget.org/packages/Blitline.Net>


[Next steps]: #nextsteps
[What is Blitline?]: #whatis
[What Blitline is NOT]: #whatisnot
[Create a Blitline account]: #createaccount
[How to create a Blitline job]: #createjob
[How to save an image to your Azure Storage]: #saveazure

46 changes: 11 additions & 35 deletions articles/store-sendgrid-java-how-to-send-email.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,16 @@
ms.topic="article"
ms.date="10/30/2014"
ms.author="elmer.thomas@sendgrid.com; erika.berkland@sendgrid.com; vibhork"/>

# How to Send Email Using SendGrid from Java

This guide demonstrates how to perform common programming tasks with the
SendGrid email service on Azure. The samples are written in
Java. The scenarios covered include **constructing email**, **sending
email**, **adding attachments**, **using filters**, and **updating
properties**. For more information on SendGrid and sending email, see
the [Next steps][] section.

## Table of Contents

- [What is the SendGrid Email Service?][]
- [Create a SendGrid account][]
- [How to: Use the javax.mail libraries][]
- [How to: Create an email][]
- [How to: Send an email][]
- [How to: Add an attachment][]
- [How to: Use filters to enable footers, tracking, and analytics][]
- [How to: Update email properties][]
- [How to: Use additional SendGrid services][]
- [Next steps][]
the [Next steps](#next-steps) section.

## <a name="bkmk_WhatIsSendGrid"> </a>What is the SendGrid Email Service?
## What is the SendGrid Email Service?

SendGrid is a [cloud-based email service] that provides reliable
[transactional email delivery], scalability, and real-time analytics along with flexible APIs
Expand All @@ -56,11 +42,11 @@ include:

For more information, see <http://sendgrid.com>.

## <a name="bkmk_CreateSendGridAcct"> </a>Create a SendGrid account
## Create a SendGrid account

[AZURE.INCLUDE [sendgrid-sign-up](../includes/sendgrid-sign-up.md)]

## <a name="bkmk_HowToUseJavax"> </a>How to: Use the javax.mail libraries
## How to: Use the javax.mail libraries

Obtain the javax.mail libraries, for example from
<http://www.oracle.com/technetwork/java/javamail> and import them into
Expand Down Expand Up @@ -120,7 +106,7 @@ to send email using SMTP is to do the following:
is shown in the [How To: Send an Email][How to: Send an Email]
section.

## <a name="bkmk_HowToCreateEmail"> </a>How to: Create an email
## How to: Create an email

The following shows how to specify values for an email.

Expand All @@ -142,7 +128,7 @@ The following shows how to specify values for an email.
message.setSubject("Your recent order");
message.setContent(multipart);

## <a name="bkmk_HowToSendEmail"> </a>How to: Send an email
## How to: Send an email

The following shows how to send an email.

Expand All @@ -154,7 +140,7 @@ The following shows how to send an email.
// Close the connection.
transport.close();

## <a name="bkmk_HowToAddAttachment"> </a>How to: Add an attachment
## How to: Add an attachment

The following code shows you how to add an attachment.

Expand All @@ -170,7 +156,7 @@ The following code shows you how to add an attachment.
attachmentPart.setFileName(attachmentName);
multipart.addBodyPart(attachmentPart);

## <a name="bkmk_HowToUseFilters"> </a>How to: Use filters to enable footers, tracking, and analytics
## How to: Use filters to enable footers, tracking, and analytics

SendGrid provides additional email functionality through the use of
*filters*. These are settings that can be added to an email message to
Expand Down Expand Up @@ -207,7 +193,7 @@ see [Filter Settings][].
{\"settings\":
{\"enable\":1}}}}");

## <a name="bkmk_HowToUpdateEmail"> </a>How to: Update email properties
## How to: Update email properties

Some email properties can be overwritten using **set*Property*** or
appended using **add*Property***.
Expand All @@ -225,13 +211,13 @@ To add a **Cc** recipient, use the following:
message.addRecipient(Message.RecipientType.CC, new
InternetAddress("john@contoso.com"));

## <a name="bkmk_HowToUseAdditionalSvcs"> </a>How to: Use additional SendGrid services
## How to: Use additional SendGrid services

SendGrid offers web-based APIs that you can use to leverage additional
SendGrid functionality from your Azure application. For full
details, see the [SendGrid API documentation][].

## <a name="bkmk_NextSteps"> </a>Next steps
## Next steps

Now that you’ve learned the basics of the SendGrid Email service, follow
these links to learn more.
Expand All @@ -241,16 +227,6 @@ these links to learn more.
* SendGrid API documentation: <https://sendgrid.com/docs/API_Reference/index.html>
* SendGrid special offer for Azure customers: <https://sendgrid.com/windowsazure.html>

[Next Steps]: #bkmk_NextSteps
[What is the SendGrid Email Service?]: #bkmk_WhatIsSendGrid
[Create a SendGrid Account]: #bkmk_CreateSendGridAcct
[How to: Use the javax.mail libraries]: #bkmk_HowToUseJavax
[How to: Create an Email]: #bkmk_HowToCreateEmail
[How to: Send an Email]: #bkmk_HowToSendEmail
[How to: Add an Attachment]: #bkmk_HowToAddAttachment
[How to: Use Filters to Enable Footers, Tracking, and Analytics]: #bkmk_HowToUseFilters
[How to: Update Email Properties]: #bkmk_HowToUpdateEmail
[How to: Use Additional SendGrid Services]: #bkmk_HowToUseAdditionalSvcs
[http://sendgrid.com]: https://sendgrid.com
[http://sendgrid.com/pricing.html]: http://sendgrid.com/pricing.html
[http://www.sendgrid.com/azure.html]: https://www.sendgrid.com/windowsazure.html
Expand Down
Loading

0 comments on commit 52dbdf4

Please sign in to comment.