You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-quickstart-blobs-java-quarkus.md
+39-8Lines changed: 39 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,14 +29,14 @@ This section walks you through preparing a project to work with the Quarkus exte
29
29
30
30
### Download the sample application
31
31
32
-
The [sample application](https://github.com/Azure-Samples/quarkus-azure/tree/2025-01-16/storage-blob-quarkus) used in this quickstart is a basic Quarkus application.
32
+
The [sample application](https://github.com/Azure-Samples/quarkus-azure/tree/2025-01-20/storage-blob-quarkus) used in this quickstart is a basic Quarkus application.
33
33
34
34
Use [git](https://git-scm.com/) to download a copy of the application to your development environment, and navigate to the `storage-blob-quarkus` directory.
@@ -134,16 +134,47 @@ Next, you walk through the sample code to understand how it works.
134
134
135
135
Working with any Azure resource using the SDK begins with creating a client object. The Quarkus extension for Azure Blob Storage automatically injects a client object with authorized access using `DefaultAzureCredential`.
136
136
137
-
To successfully inject a client object, first you need to add the extension`quarkus-azure-storage-blob` to your `pom.xml` file as a dependency:
137
+
To successfully inject a client object, first you need to add the extensions`quarkus-arc` and `quarkus-azure-storage-blob` to your `pom.xml` file as a dependencies:
The `quarkus-arc` extension is required to use the `@Inject` annotation to inject the client object into your application code. The `quarkus-bom` and `quarkus-azure-services-bom` dependencies are used to manage the versions of the Quarkus platform and the Quarkus extension for Azure services.
177
+
147
178
Next, you can inject the client object into your application code using the `@Inject` annotation:
0 commit comments