This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"location": "West Europe", | |
"tags": {}, | |
"properties": { | |
"name": "---removed---", | |
"enabled": true, | |
"targetResourceUri": "---removed---", | |
"profiles": [ | |
{ | |
"name": "Night time", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using N2.Engine; | |
using N2.Persistence; | |
using N2.Web.Mvc; | |
using System.Linq; | |
namespace Test | |
{ | |
public class MvcApplication : HttpApplication | |
{ | |
protected void Application_Start() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Application polls Azure cloud service and logs what instance responds to requests. | |
During auto scaling events instances can be added or removed from load balancer | |
and application is intended to capture this behavior. | |
On every keypress application will log NOTE in file and later you can replace these note with some text | |
or screenshots of Azure portal. To exit application and save log file press X. | |
Program.cs - console application to poll cloud service and capture statistics about instance responses. | |
WebApiController.cs - simple ASP.NET MVC controller to return instance name as response. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Author: Jim Westergren & Jeedo Aquino | |
File: index-with-redis.php | |
Updated: 2013-03-02 | |
Updated by: Alexander Shakhov | |
This is a redis caching system for wordpress. | |
see more here: www.jimwestergren.com/wordpress-with-redis-as-a-frontend-cache/ |