/// <summary> /// Wireup of the sql server repository /// </summary> /// <param name="wireup"></param> /// <returns></returns> private Wireup WireupAzureBlobRepository(Wireup wireup) { var connectionString = "DefaultEndpointsProtocol=https;AccountName=bobafett;AccountKey=Kb2P5rdCo7l6hCPZCXyw2aSyL/bSabpVihORH/zuF5PUMOxt7Zz850SyC3wMetkGRyMgEh44HDo0qd9dmPNJ0Q=="; //var connectionString = "DefaultEndpointsProtocol=https;AccountName=devtesting22;AccountKey=rbjoU5Au59V3JtHjs77hZWizhmUsadetfFTGi1L212itId3GS4Igdgq1P3Wdcr+Ojvwp06UiSheQSxdQiAlmQw=="; // evans var blobOptions = new AzureBlobPersistenceOptions("alphatester"); var eventStore = new byte[] { 80, 94, 86, 128, 97, 74, 65, 94, 91, 126, 62, 52, 129, 114, 86, 107, 80, 94, 86, 128, 97, 74, 65, 94, 91, 126, 62, 52, 129, 114, 86, 107 }; return(wireup .UsingAzureBlobPersistence(connectionString, blobOptions) .InitializeStorageEngine() .UsingBinarySerialization() .EncryptWithAes256(eventStore)); }
/// <summary> /// Wireup of the sql server repository /// </summary> /// <param name="wireup"></param> /// <returns></returns> private Wireup WireupAzureBlobRepository(Wireup wireup) { //var connectionString = "DefaultEndpointsProtocol=https;AccountName=bobafett;AccountKey=nOaTY+Pds2LQGm/2mW5nhi5WP4cYmip6Rg1RYHgZRhN3IbzDAfRugMafA0cqjQ49cVtd309F8+Dz9hGMH6iCuQ=="; var connectionString = "DefaultEndpointsProtocol=https;AccountName=devtesting22;AccountKey=rbjoU5Au59V3JtHjs77hZWizhmUsadetfFTGi1L212itId3GS4Igdgq1P3Wdcr+Ojvwp06UiSheQSxdQiAlmQw=="; // evans var blobOptions = new AzureBlobPersistenceOptions("alphatester"); var eventStore = new byte[] { 80, 94, 86, 128, 97, 74, 65, 94, 91, 126, 62, 52, 129, 114, 86, 107 }; return(wireup .UsingAzureBlobPersistence(connectionString, blobOptions) .InitializeStorageEngine() .UsingBinarySerialization() .EncryptWith(eventStore)); }