Skip to content

Commit

Permalink
Revert "CI Update (#5878)"
Browse files Browse the repository at this point in the history
This reverts commit 1832723.
  • Loading branch information
Rick-Anderson authored Apr 5, 2018
1 parent 1832723 commit 67e5434
Show file tree
Hide file tree
Showing 1,273 changed files with 6,324 additions and 6,360 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ The first thing the script does is create the web app by calling the `New-AzureW

### Create the storage account

Then the main script runs the <em>New-AzureStorage.ps1</em> script, specifying "<em>&lt;websitename&gt;</em>storage" for the storage account name, and the same data center location as the web app.
Then the main script runs the *New-AzureStorage.ps1* script, specifying "*&lt;websitename&gt;*storage" for the storage account name, and the same data center location as the web app.

[!code-powershell[Main](automate-everything/samples/sample4.ps1?highlight=3)]

Expand Down Expand Up @@ -259,6 +259,6 @@ In the [next chapter](source-control.md) we'll look at source code and explain w
- [Using Windows PowerShell Scripts to Publish to Dev and Test Environments](https://msdn.microsoft.com/library/azure/dn642480.aspx). MSDN documentation that explains how to use publish scripts that Visual Studio automatically generates for web projects.
- [PowerShell Tools for Visual Studio 2013](https://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597). Visual Studio extension that adds language support for Windows PowerShell in Visual Studio.

> [!div class="step-by-step"]
> [Previous](introduction.md)
> [Next](source-control.md)
>[!div class="step-by-step"]
[Previous](introduction.md)
[Next](source-control.md)
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ See also the following resources:
- [Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation](https://www.amazon.com/Continuous-Delivery-Deployment-Automation-Addison-Wesley/dp/0321601912/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1377126361). Book by Jez Humble.
- [Release It! Design and Deploy Production-Ready Software](https://www.amazon.com/Release-It-Production-Ready-Pragmatic-Programmers/dp/0978739213). Book by Michael T. Nygard.

> [!div class="step-by-step"]
> [Previous](source-control.md)
> [Next](web-development-best-practices.md)
>[!div class="step-by-step"]
[Previous](source-control.md)
[Next](web-development-best-practices.md)
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ Sample code:

- [Cloud Service Fundamentals in Windows Azure](https://code.msdn.microsoft.com/Cloud-Service-Fundamentals-4ca72649). Sample application that includes a sharded database. For a description of the sharding scheme implemented, see [DAL – Sharding of RDBMS](https://blogs.msdn.com/b/windowsazure/archive/2013/09/05/dal-sharding-of-rdbms.aspx) on the Windows Azure blog.

> [!div class="step-by-step"]
> [Previous](data-storage-options.md)
> [Next](unstructured-blob-storage.md)
>[!div class="step-by-step"]
[Previous](data-storage-options.md)
[Next](unstructured-blob-storage.md)
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,6 @@ HDInsight (Hadoop on Azure):
- [Hadoop and HDInsight: Big Data in Azure](https://msdn.microsoft.com/magazine/dn385705.aspx). MSDN Magazine article by Bruno Terkaly and Ricardo Villalobos, introducing Hadoop on Azure.
- [Microsoft Patterns and Practices - Azure Guidance](https://msdn.microsoft.com/library/dn568099.aspx). See MapReduce pattern.

> [!div class="step-by-step"]
> [Previous](single-sign-on.md)
> [Next](data-partitioning-strategies.md)
>[!div class="step-by-step"]
[Previous](single-sign-on.md)
[Next](data-partitioning-strategies.md)
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ Videos:
- [FailSafe: Building Scalable, Resilient Cloud Services](https://channel9.msdn.com/Series/FailSafe). Nine-part series by Ulrich Homann, Marc Mercuri, and Mark Simms. Presents high-level concepts and architectural principles in a very accessible and interesting way, with stories drawn from Microsoft Customer Advisory Team (CAT) experience with actual customers. Episodes 1 and 8 go in depth into the reasons for designing cloud apps to survive failures. See also the follow-up discussion of throttling in episode 2 starting at 49:57, the discussion of failure points and failure modes in episode 2 starting at 56:05, and the discussion of circuit breakers in episode 3 starting at 40:55.
- [Building Big: Lessons learned from Azure customers - Part II](https://channel9.msdn.com/Events/Build/2012/3-030). Mark Simms talks about designing for failure and instrumenting everything. Similar to the Failsafe series but goes into more how-to details.

> [!div class="step-by-step"]
> [Previous](unstructured-blob-storage.md)
> [Next](monitoring-and-telemetry.md)
>[!div class="step-by-step"]
[Previous](unstructured-blob-storage.md)
[Next](monitoring-and-telemetry.md)
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ Code sample

- [Cloud Service Fundamentals in Azure](https://code.msdn.microsoft.com/Cloud-Service-Fundamentals-4ca72649). Sample application that implements distributed caching. See the accompanying blog post [Cloud Service Fundamentals – Caching Basics](https://blogs.msdn.com/b/windowsazure/archive/2013/10/03/cloud-service-fundamentals-caching-basics.aspx).

> [!div class="step-by-step"]
> [Previous](transient-fault-handling.md)
> [Next](queue-centric-work-pattern.md)
>[!div class="step-by-step"]
[Previous](transient-fault-handling.md)
[Next](queue-centric-work-pattern.md)
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ Videos:
- [Web Sites Architecture - with Stefan Schackow](https://azure.microsoft.com/documentation/videos/why-azure-web-sites-plus-architecture/).
- [Azure Web Sites Internals with Nir Mashkowski](https://channel9.msdn.com/Shows/Web+Camps+TV/Windows-Azure-Web-Sites-Internals-with-Nir-Mashkowski).

> [!div class="step-by-step"]
> [Next](automate-everything.md)
>[!div class="step-by-step"]
[Next](automate-everything.md)
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,6 @@ Code sample:

- [Cloud Service Fundamentals in Azure](https://code.msdn.microsoft.com/Cloud-Service-Fundamentals-4ca72649). Sample application created by the Microsoft Azure Customer Advisory Team. Demonstrates both telemetry and logging practices, as explained in the following articles. The sample implements application logging by using [NLog](http://nlog-project.org/). For related documentation, see the [series of four TechNet wiki articles about telemetry and logging](https://social.technet.microsoft.com/wiki/contents/articles/17987.cloud-service-fundamentals.aspx#Telemetry_coming_soon).

> [!div class="step-by-step"]
> [Previous](design-to-survive-failures.md)
> [Next](transient-fault-handling.md)
>[!div class="step-by-step"]
[Previous](design-to-survive-failures.md)
[Next](transient-fault-handling.md)
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ Other members of the DGAC reviewed and commented on the preliminary outline:
- Roger Whitehead
- Pawel Wilkosz

> [!div class="step-by-step"]
> [Previous](queue-centric-work-pattern.md)
> [Next](the-fix-it-sample-application.md)
>[!div class="step-by-step"]
[Previous](queue-centric-work-pattern.md)
[Next](the-fix-it-sample-application.md)
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@ Video:

- [FailSafe: Building Scalable, Resilient Cloud Services](https://channel9.msdn.com/Series/FailSafe). Nine-part video series by Ulrich Homann, Marc Mercuri, and Mark Simms. Presents high-level concepts and architectural principles in a very accessible and interesting way, with stories drawn from Microsoft Customer Advisory Team (CAT) experience with actual customers. For an introduction to the Azure Storage service and queues, see episode 5 starting at 35:13.

> [!div class="step-by-step"]
> [Previous](distributed-caching.md)
> [Next](more-patterns-and-guidance.md)
>[!div class="step-by-step"]
[Previous](distributed-caching.md)
[Next](more-patterns-and-guidance.md)
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,6 @@ For more information, see the following resources:
- [Azure Active Directory Graph API blog](https://blogs.msdn.com/b/aadgraphteam/).
- [Access Control in BYOD and Directory Integration in a Hybrid Identity Infrastructure](https://channel9.msdn.com/Events/TechEd/NorthAmerica/2014/PCIT-B213#fbid=). Tech Ed 2014 session video by Gayana Bagdasaryan.

> [!div class="step-by-step"]
> [Previous](web-development-best-practices.md)
> [Next](data-storage-options.md)
>[!div class="step-by-step"]
[Previous](web-development-best-practices.md)
[Next](data-storage-options.md)
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,6 @@ For more information about how to handle sensitive information that should not b

For information about other methods for keeping sensitive information out of source control, see [ASP.NET MVC: Keep Private Settings Out of Source Control](http://typecastexception.com/post/2014/04/06/ASPNET-MVC-Keep-Private-Settings-Out-of-Source-Control.aspx).

> [!div class="step-by-step"]
> [Previous](automate-everything.md)
> [Next](continuous-integration-and-continuous-delivery.md)
>[!div class="step-by-step"]
[Previous](automate-everything.md)
[Next](continuous-integration-and-continuous-delivery.md)
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,18 @@ There are two ways to run the Fix It app:

Using Visual Studio 2013:

1. Press F5 to run the FixIt project.
2. In **Solution Explorer**, right-click the MyFixItCloudService project, and then click **Debug** -- **Start New Instance**.
1. Press F5 to run the FixIt project.
2. In **Solution Explorer**, right-click the MyFixItCloudService project, and then click **Debug** -- **Start New Instance**.

Using Visual Studio 2013 Express for Web:
Using Visual Studio 2013 Express for Web:

3. In Solution Explorer, right-click the FixIt solution and select **Properties**.
4. Select **Multiple Startup Projects**..
5. In the **Action** dropdown list under MyFixIt and MyFixItCloudService, select **Start**.
6. Click **OK**.
7. Press F5 to run both projects.
1. In Solution Explorer, right-click the FixIt solution and select **Properties**.
2. Select **Multiple Startup Projects**..
3. In the **Action** dropdown list under MyFixIt and MyFixItCloudService, select **Start**.
4. Click **OK**.
5. Press F5 to run both projects.

When you run the MyFixItCloudService project, Visual Studio starts the Azure compute emulator. Depending on your firewall configuration, you might need to allow the emulator through the firewall.
When you run the MyFixItCloudService project, Visual Studio starts the Azure compute emulator. Depending on your firewall configuration, you might need to allow the emulator through the firewall.

<a id="deploybase"></a>
## How to deploy the base app to Azure App Service Web Apps by using the Windows PowerShell scripts
Expand Down Expand Up @@ -280,7 +280,7 @@ These instructions assume you have already downloaded and run the Fix It solutio
These credentials expire after a period of time and you have to re-run the `Add-AzureAccount` cmdlet. As this e-book is being written, the time limit before credentials expire is 12 hours.
5. If you have multiple subscriptions, use the Select-AzureSubscription cmdlet to specify the subscription you want to create the test environment in.
6. Import a management certificate for the same Azure subscription by using the `Get-AzurePublishSettingsFile` and `Import-AzurePublishSettingsFile` cmdlets. The first of these cmdlets downloads a certificate file, and in the second one you specify the location of that file in order to import it. > [!IMPORTANT]
> Keep the downloaded file in a safe location or delete it when you're done with it, because it contains a certificate that can be used to manage your Azure services.
> Keep the downloaded file in a safe location or delete it when you're done with it, because it contains a certificate that can be used to manage your Azure services.
[!code-console[Main](the-fix-it-sample-application/samples/sample22.cmd)]

Expand Down Expand Up @@ -394,5 +394,5 @@ In MyFixItCloudService\ServiceConfiguration.Cloud.cscfg, replace the same two pl

Now you are ready to deploy the cloud service. In Solution Explore, right-click the MyFixItCloudService project and select **Publish**. For more information, see "[Deploy the Application to Azure](https://www.windowsazure.com/develop/net/tutorials/multi-tier-web-site/2-download-and-run/#deployAz)", which is in part 2 of [this tutorial](https://code.msdn.microsoft.com/Windows-Azure-Multi-Tier-eadceb36).

> [!div class="step-by-step"]
> [Previous](more-patterns-and-guidance.md)
>[!div class="step-by-step"]
[Previous](more-patterns-and-guidance.md)
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ Code sample

- [Cloud Service Fundamentals in Azure](https://code.msdn.microsoft.com/Cloud-Service-Fundamentals-4ca72649). Sample application created by the Microsoft Azure Customer Advisory Team that demonstrates how to use the [Enterprise Library Transient Fault Handling Block](http://nuget.org/packages/EnterpriseLibrary.TransientFaultHandling/) (TFH). For more information, see [Cloud Service Fundamentals Data Access Layer – Transient Fault Handling](https://social.technet.microsoft.com/wiki/contents/articles/18665.cloud-service-fundamentals-data-access-layer-transient-fault-handling.aspx). TFH is recommended for database access using ADO.NET directly (without using Entity Framework).

> [!div class="step-by-step"]
> [Previous](monitoring-and-telemetry.md)
> [Next](distributed-caching.md)
>[!div class="step-by-step"]
[Previous](monitoring-and-telemetry.md)
[Next](distributed-caching.md)
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ For more information see the following resources:
- [FailSafe: Building Scalable, Resilient Cloud Services](https://channel9.msdn.com/Series/FailSafe). Nine-part video series by Ulrich Homann, Marc Mercuri, and Mark Simms. Presents high-level concepts and architectural principles in a very accessible and interesting way, with stories drawn from Microsoft Customer Advisory Team (CAT) experience with actual customers. For a discussion of Azure Storage service and blobs, see episode 5 starting at 35:13.
- [Microsoft Patterns and Practices - Azure Guidance](https://msdn.microsoft.com/library/dn568099.aspx). See Valet Key pattern.

> [!div class="step-by-step"]
> [Previous](data-partitioning-strategies.md)
> [Next](design-to-survive-failures.md)
>[!div class="step-by-step"]
[Previous](data-partitioning-strategies.md)
[Next](design-to-survive-failures.md)
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@ For additional web development best practices, see the following resources:
- [The Fix It Sample Application - Best Practices](the-fix-it-sample-application.md#bestpractices). The appendix to this e-book lists a number of best practices that were implemented in the Fix It application.
- [Web Developer Checklist](http://webdevchecklist.com/asp.net)

> [!div class="step-by-step"]
> [Previous](continuous-integration-and-continuous-delivery.md)
> [Next](single-sign-on.md)
>[!div class="step-by-step"]
[Previous](continuous-integration-and-continuous-delivery.md)
[Next](single-sign-on.md)
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,13 @@ In this task, you will create a web app in **Azure App Service** from the manage
*Customizing the new web app*
5. Specify the following information for the database settings:

- In the **Name** text box, enter a database name (e.g. *geekquiz\_db*)
- In the Server **drop-down** list, select **New SQL database server**. Alternatively, you can select an existing server.
- In the **Database username** and **Database password** boxes, enter the administrator username and password for the SQL database server. If you select a server you have already created, you will be prompted for the password.
- In the **Name** text box, enter a database name (e.g. *geekquiz\_db*)
- In the Server **drop-down** list, select **New SQL database server**. Alternatively, you can select an existing server.
- In the **Database username** and **Database password** boxes, enter the administrator username and password for the SQL database server. If you select a server you have already created, you will be prompted for the password.

![Specifying the database settings](maintainable-azure-websites-managing-change-and-scale/_static/image17.png)
![Specifying the database settings](maintainable-azure-websites-managing-change-and-scale/_static/image17.png)

*Specifying the database settings*
*Specifying the database settings*
6. Click **Next** to continue.
7. Select **Local Git repository** for the source control to use and click **Next**.

Expand Down Expand Up @@ -792,13 +792,13 @@ Now that **Autoscale** has been configured, you will create a **Web Performance
*Adding a loop to WebTest1*
6. In the **Add Conditional Rule and Items to Loop** dialog box, select the **For Loop** rule and modify the following properties.

1. **Terminating value:** 1000
2. **Context Parameter Name:** Iterator
3. **Increment Value:** 1
1. **Terminating value:** 1000
2. **Context Parameter Name:** Iterator
3. **Increment Value:** 1

![Selecting the For Loop rule and updating the properties](maintainable-azure-websites-managing-change-and-scale/_static/image84.png "Selecting the For Loop rule and updating the properties")
![Selecting the For Loop rule and updating the properties](maintainable-azure-websites-managing-change-and-scale/_static/image84.png "Selecting the For Loop rule and updating the properties")

*Selecting the For Loop rule and updating the properties*
*Selecting the For Loop rule and updating the properties*
7. Under the **Items in loop** section, select the request you created previously to be the first and last item for the loop. Click **OK** to continue.

![Selecting the first and last items for the loop](maintainable-azure-websites-managing-change-and-scale/_static/image85.png "Selecting the first and last items for the loop")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ From the command line, we can then navigate to the project root folder and simpl
- Managing the underlying process.
- Orchestrating the workflow that results in the selection of a server and the construction of an OWIN pipeline through which requests will be handled.

At present, there are 3 primary hosting options for Katana-based applications:
At present, there are 3 primary hosting options for Katana-based applications:

**IIS/ASP.NET**: Using the standard HttpModule and HttpHandler types, OWIN pipelines can run on IIS as a part of an ASP.NET request flow. ASP.NET hosting support is enabled by installing the Microsoft.AspNet.Host.SystemWeb NuGet package into a Web application project. Additionally, because IIS acts as both a host and a server, the OWIN server/host distinction is conflated in this NuGet package, meaning that if using the SystemWeb host, a developer cannot substitute an alternate server implementation.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The compute emulator assigns a local IP address to the endpoint. You can find th

[![](host-owin-in-an-azure-worker-role/_static/image10.png)](host-owin-in-an-azure-worker-role/_static/image9.png)

Find the IP address under Service Deployments, deployment [id], Service Details. Open a web browser and navigate to http://<em>address</em>, where <em>address</em> is the IP address assigned by the compute emulator; for example, `http://127.0.0.1:80`. You should see the OWIN welcome page:
Find the IP address under Service Deployments, deployment [id], Service Details. Open a web browser and navigate to http://*address*, where *address* is the IP address assigned by the compute emulator; for example, `http://127.0.0.1:80`. You should see the OWIN welcome page:

![](host-owin-in-an-azure-worker-role/_static/image11.png)

Expand Down
Loading

0 comments on commit 67e5434

Please sign in to comment.