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 | |
echo phpinfo(); | |
?> |
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
array('1' => 'value1', '2' => 'value2'); |
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
<html> | |
<head><title>Accessing App Settings from PHP</title></head> | |
<body> | |
<h1>Hello from <?php echo getenv("CloudProvider"); ?></h1> | |
<ul> | |
<li><label>Service Bus Namespace:</label> <?php echo getenv("ServiceBusConnectionString"); ?></li> | |
<li><label>Storage Connection String:</label> <?php echo getenv("StorageConnectionString"); ?> | |
</ul> |
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
upload_max_filesize = 12M | |
log_errors=1 |
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
public ActionResult Index() | |
{ | |
const string welcomeNote = "Welcome to ASP.NET MVC {0}!"; | |
var account = CloudStorageAccount.Parse( | |
RoleEnvironment. | |
GetConfigurationSettingValue("DataConnectionString")); | |
ViewBag.Message = (account.BlobEndpoint.IsLoopback) ? | |
string.Format(welcomeNote, " on Local") : |