diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config
index 6a318ad..8ec4187 100644
--- a/.nuget/NuGet.Config
+++ b/.nuget/NuGet.Config
@@ -1,6 +1,7 @@
+
-
-
-
+
+
+
\ No newline at end of file
diff --git a/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorage.cs b/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorage.cs
index 9cb8b2c..96f60a5 100644
--- a/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorage.cs
+++ b/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorage.cs
@@ -1,14 +1,21 @@
-namespace NBug.Destinations.AzureBlobStorage
+// --------------------------------------------------------------------------------------------------------------------
+//
+// Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license.
+//
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace NBug.Destinations.AzureBlobStorage
{
using System;
using System.IO;
+
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
using NBug.Core.Reporting.Info;
using NBug.Core.Submission;
using NBug.Core.Util.Serialization;
-
+
public class AzureBlobStorage : ProtocolBase
{
public AzureBlobStorage(string connectionString)
@@ -17,9 +24,11 @@ public AzureBlobStorage(string connectionString)
}
public string AccountName { get; set; }
- public string SharedAccessSignature { get; set; }
+
public string ContainerName { get; set; }
+ public string SharedAccessSignature { get; set; }
+
// Connection string format (single line)
// Warning: There should be no semicolon (;) or equals sign (=) used in any field except for password.
// Warning: No field value value should contain the phrase 'password='
@@ -30,12 +39,11 @@ public AzureBlobStorage(string connectionString)
* ContainerName=yourcontainername;
* SharedAccessSignature=sr%3Dc%26si%3D16dacb22-asdf-asdf-asdf-e58fasdff3ed%26se%3D2098-12-31T23%253A00%253A00Z%26sig%3asdfIWtlasdfb98q0Kidp%252BasdffJcRm1ulFIjyks4E%253D
*/
-
public override bool Send(string fileName, Stream file, Report report, SerializableException exception)
{
- var cred = new StorageCredentials(Uri.UnescapeDataString(SharedAccessSignature));
+ var cred = new StorageCredentials(Uri.UnescapeDataString(this.SharedAccessSignature));
- var blobUrl = new Uri(string.Format("https://{0}.blob.core.windows.net/{1}", AccountName, ContainerName));
+ var blobUrl = new Uri(string.Format("https://{0}.blob.core.windows.net/{1}", this.AccountName, this.ContainerName));
var container = new CloudBlobContainer(blobUrl, cred);
var blob = container.GetBlockBlobReference(fileName);
diff --git a/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorageFactory.cs b/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorageFactory.cs
index ef38018..c280257 100644
--- a/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorageFactory.cs
+++ b/Destinations/NBug.Destinations.AzureBlobStorage/AzureBlobStorageFactory.cs
@@ -1,17 +1,26 @@
-namespace NBug.Destinations.AzureBlobStorage
+// --------------------------------------------------------------------------------------------------------------------
+//
+// Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license.
+//
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace NBug.Destinations.AzureBlobStorage
{
using NBug.Core.Submission;
public class AzureBlobStorageFactory : IProtocolFactory
{
- public IProtocol FromConnectionString(string connectionString)
+ public string SupportedType
{
- return new AzureBlobStorage(connectionString);
+ get
+ {
+ return "AzureBlobStorage";
+ }
}
- public string SupportedType
+ public IProtocol FromConnectionString(string connectionString)
{
- get { return "AzureBlobStorage"; }
+ return new AzureBlobStorage(connectionString);
}
}
}
\ No newline at end of file
diff --git a/Destinations/NBug.Destinations.AzureBlobStorage/Properties/AssemblyInfo.cs b/Destinations/NBug.Destinations.AzureBlobStorage/Properties/AssemblyInfo.cs
index 457dc6a..400ed2a 100644
--- a/Destinations/NBug.Destinations.AzureBlobStorage/Properties/AssemblyInfo.cs
+++ b/Destinations/NBug.Destinations.AzureBlobStorage/Properties/AssemblyInfo.cs
@@ -1,5 +1,12 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+// --------------------------------------------------------------------------------------------------------------------
+//
+// Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license.
+//
+// --------------------------------------------------------------------------------------------------------------------
+
+
+
+using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
@@ -23,14 +30,12 @@
[assembly: Guid("76a52bbd-f3e7-4a18-9ca8-f506e6e4e9c4")]
// Version information for an assembly consists of the following four values:
-//
// Major Version
// Minor Version
// Build Number
// Revision
-//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
\ No newline at end of file
diff --git a/Destinations/NBug.Destinations.AzureBlobStorage/packages.config b/Destinations/NBug.Destinations.AzureBlobStorage/packages.config
index badaaa1..40db6df 100644
--- a/Destinations/NBug.Destinations.AzureBlobStorage/packages.config
+++ b/Destinations/NBug.Destinations.AzureBlobStorage/packages.config
@@ -1,8 +1,9 @@
+
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/Documentation/html/index.html b/Documentation/html/index.html
index c0666d0..f43c647 100644
--- a/Documentation/html/index.html
+++ b/Documentation/html/index.html
@@ -1,9 +1,9 @@
-
- NBug Documentation
-
-
+
+ NBug Documentation
+
+
-
-
+
+