blob: 1f18cae7523f2a882bd09232464bb11cddf4a3f4 (
plain)
1
2
3
4
5
6
7
8
9
|
<Application x:Class="Tango.PPC.Publisher.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Tango.PPC.Publisher"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>
or: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Web.Storage
{
public class BlobStorageManager
{
private CloudBlobClient _client;
public BlobStorageManager()
{
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(WebConfig.STORAGE_ACCOUNT);
_client = storageAccount.CreateCloudBlobClient();
}
public CloudBlobContainer GetContainer(String name)
{
var container = _client.GetContainerReference(name);
return container;
}
}
}
|