|
1 |
| -#Azure Storage Client Library for C++ 2.0.0: What’s new and sample code |
| 1 | +# Azure Storage Client Library for C++ 2.0.0: What’s new and sample code |
2 | 2 |
|
3 | 3 | This article introduces the changes in Microsoft Azure Storage Client Library for C++ 2.0.0 and provides some code samples. You can also check the GitHub [readme.md](https://github.com/Azure/azure-storage-cpp/blob/master/README.md) and [changelog.log](https://github.com/Azure/azure-storage-cpp/blob/master/Changelog.txt) files for more details.
|
4 | 4 |
|
5 |
| -##New storage blob type |
| 5 | +## New storage blob type |
6 | 6 |
|
7 | 7 | By default, Azure Storage Client Library for C++ 2.0.0 uses REST API version 2015-2-21. This version of the Azure Storage service includes several important features that you can find at [2015-2 version blog link]. The C++ client library supports one key feature, the new storage blob type called *Append Blob*.
|
8 | 8 |
|
@@ -66,7 +66,7 @@ The following sample code shows the use of Append Blob.
|
66 | 66 | ucout << U("Error: ") << e.what() << std::endl;
|
67 | 67 | }
|
68 | 68 |
|
69 |
| -##Range-based for-loop to list objects |
| 69 | +## Range-based for-loop to list objects |
70 | 70 |
|
71 | 71 | For versions earlier than 2.0.0, you can list blobs via the following method.
|
72 | 72 |
|
@@ -101,7 +101,7 @@ With version 2.0.0, you can also use a range-based for-loop to list blobs.
|
101 | 101 |
|
102 | 102 | For more details about listing APIs of the C++ client library, visit [Efficiently use Listing APIs in Microsoft Azure Storage Client Library for C++](https://azure.microsoft.com/documentation/articles/storage-c-plus-plus-enumeration/).
|
103 | 103 |
|
104 |
| -##Handling query parameters in the resource URI |
| 104 | +## Handling query parameters in the resource URI |
105 | 105 |
|
106 | 106 | With versions earlier than 2.0.0, the C++ client library will *keep* only the following parameters and ignore the others when handling the Azure Storage resource URI:
|
107 | 107 |
|
@@ -225,16 +225,17 @@ Note that with this behavior change, the C++ client library will throw an `std::
|
225 | 225 | web::http::uri(U("https://myaccount-secondary.queue.core.windows.net/myqueue?sp=raup&sv=2012-02-12&se=2013-05-14T18%3A23%3A15Z&st=2013-05-14T17%3A23%3A15Z&sig=mysignature")));
|
226 | 226 | azure::storage::cloud_queue queue2(sas_uri, sas_credentials);
|
227 | 227 |
|
228 |
| -##Renamed interfaces |
| 228 | +## Renamed interfaces |
229 | 229 |
|
230 | 230 | Azure Storage Client Library for C++ 2.0.0 changes interfaces as follows:
|
231 | 231 | - Renames `cloud_blob::start_copy_from_blob` to `cloud_blob::start_copy`
|
232 | 232 | - Renames `cloud_blob::start_copy_from_blob_async` to `cloud_blob::start_copy_async`
|
233 | 233 |
|
234 |
| -##Bug fixes |
| 234 | +## Bug fixes |
| 235 | + |
235 | 236 | You can find the bug fixes at [changelog.txt](https://github.com/Azure/azure-storage-cpp/blob/master/Changelog.txt).
|
236 | 237 |
|
237 |
| -##Next steps |
| 238 | +## Next steps |
238 | 239 |
|
239 | 240 | For more information about Azure Storage and the client library for C++, see the following resources:
|
240 | 241 | - [How to use Blob Storage from C++](http://azure.microsoft.com/documentation/articles/storage-c-plus-plus-how-to-use-blobs/)
|
|
0 commit comments