1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-11 08:08:14 -05:00
Daniel James Smith 355bf2127b
Migrate deprecated Microsoft.Azure.Storage.Blob to Azure.Storage.Blobs (#1732)
* Migrate from deprecated Microsoft.Azure.Storage to Azure.Storage.Blobs

* Remove and order usings

* Do not fetch BlobProperties before uploading a new file.

* Save an api call by calling GetPropertiesAsync and catching an error instead of calling Exists first

* Formatted files

* Verified ContentLength is the correct blob property for file-size

* Use a generic Exception catch for file validation

* Added a catch all to the GetBlobCertificateAsync in case something throws

* Remove and sort using

* Changes after running dotnet-format

* Remove checks for CanGenerateSasUri
2021-12-22 19:47:35 +01:00
..
2021-12-16 15:35:09 +01:00
2021-12-16 15:35:09 +01:00
2021-12-16 15:35:09 +01:00
2021-12-16 15:35:09 +01:00
2021-12-16 15:35:09 +01:00
2020-02-19 14:56:16 -05:00
2021-12-16 15:35:09 +01:00
2021-12-16 15:35:09 +01:00