Skip to content

Instantly share code, notes, and snippets.

@Tapanila
Created October 13, 2012 13:34
Show Gist options
  • Save Tapanila/3884638 to your computer and use it in GitHub Desktop.
Save Tapanila/3884638 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
namespace WcfImageBlobSample
{
using System.ServiceModel;
[ServiceContract]
public interface IService1
{
[OperationContract]
bool SavePicture(byte[] picture, string pictureName, string folderName, string storageConnectionString);
[OperationContract]
byte[] RetrievePicture(string pictureName, string folderName, string storageConnectionString);
[OperationContract]
string FormStorageConnectionString(string accountName, string accountKey);
[OperationContract]
Dictionary<string, byte[]>RetrievePictures(List<string> pictureNames, string folderName, string storageConnectionString );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment