diff --git a/gene-pool-backend/.vs/gene-pool-backend/v16/.suo b/gene-pool-backend/.vs/gene-pool-backend/v16/.suo index 8cd00f2..5d2b0e3 100644 Binary files a/gene-pool-backend/.vs/gene-pool-backend/v16/.suo and b/gene-pool-backend/.vs/gene-pool-backend/v16/.suo differ diff --git a/gene-pool-backend/BlobStorageHelper.cs b/gene-pool-backend/BlobStorageHelper.cs index 7bcf6e9..64c1c3b 100644 --- a/gene-pool-backend/BlobStorageHelper.cs +++ b/gene-pool-backend/BlobStorageHelper.cs @@ -18,6 +18,8 @@ public static async Task UploadLinkToBlobAsync(string url) { File.Delete("hello.mp4"); File.Delete("hello.wav"); + Console.WriteLine("I got here 1"); + FileHelper.SaveVideoToDisk(url, "hello.mp4"); FileHelper.ToWavFormat("hello.mp4", "hello.wav"); @@ -29,17 +31,23 @@ public static async Task UploadLinkToBlobAsync(string url) { containerClient = blobServiceClient.GetBlobContainerClient(containerName); } + Console.WriteLine("I got here 2"); + string fileName = $"hello.wav"; // Get a reference to a blob BlobClient blobClient = containerClient.GetBlobClient(fileName); + Console.WriteLine("I got here 3"); + Console.WriteLine("Uploading to Blob storage as blob:\n\t {0}\n", blobClient.Uri); using FileStream uploadFileStream = File.OpenRead("hello.wav"); await blobClient.UploadAsync(uploadFileStream, true); uploadFileStream.Close(); + Console.WriteLine("I got here 4"); + File.Delete("hello.mp4"); File.Delete("hello.wav"); } diff --git a/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.dll b/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.dll index 0d522b0..88f34e1 100644 Binary files a/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.dll and b/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.dll differ diff --git a/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.pdb b/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.pdb index d998757..7fc7502 100644 Binary files a/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.pdb and b/gene-pool-backend/bin/Debug/netcoreapp3.1/gene-pool-backend.pdb differ diff --git a/gene-pool-backend/helloworld.wav b/gene-pool-backend/helloworld.wav deleted file mode 100644 index 4c3abcb..0000000 Binary files a/gene-pool-backend/helloworld.wav and /dev/null differ diff --git a/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.csprojAssemblyReference.cache b/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.csprojAssemblyReference.cache index ae13177..a8366e4 100644 Binary files a/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.csprojAssemblyReference.cache and b/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.csprojAssemblyReference.cache differ diff --git a/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.dll b/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.dll index 0d522b0..88f34e1 100644 Binary files a/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.dll and b/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.dll differ diff --git a/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.pdb b/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.pdb index d998757..7fc7502 100644 Binary files a/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.pdb and b/gene-pool-backend/obj/Debug/netcoreapp3.1/gene-pool-backend.pdb differ