Skip to content

Commit 1e2d7ab

Browse files
committed
Trying one that is known to work
1 parent 27fb03a commit 1e2d7ab

File tree

1 file changed

+21
-32
lines changed

1 file changed

+21
-32
lines changed

articles/azure-app-configuration/quickstart-feature-flag-spring-boot.md

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -53,43 +53,32 @@ Use the [Spring Initializr](https://start.spring.io/) to create a new Spring Boo
5353
1. After you extract the files on your local system, your Spring Boot application is ready for editing. Locate *pom.xml* in the root directory of your app.
5454

5555
1. Open the *pom.xml* file in a text editor and add the following to the list of `<dependencies>`.:
56-
57-
#### [Spring Cloud 1.1.x](#tab/spring12x)
5856

57+
#### [.NET Core 2.x](#tab/core2x)
5958
```xml
60-
<dependency>
61-
<groupId>com.microsoft.azure</groupId>
62-
<artifactId>spring-cloud-azure-appconfiguration-config</artifactId>
63-
<version>1.1.1</version>
64-
</dependency>
65-
<dependency>
66-
<groupId>com.microsoft.azure</groupId>
67-
<artifactId>spring-cloud-azure-feature-management-web</artifactId>
68-
<version>1.1.1</version>
69-
</dependency>
70-
<dependency>
71-
<groupId>org.springframework.boot</groupId>
72-
<artifactId>spring-boot-starter-thymeleaf</artifactId>
73-
</dependency>
74-
```
59+
<Project Sdk="Microsoft.NET.Sdk.Web">
60+
61+
<PropertyGroup>
62+
<TargetFramework>netcoreapp2.1</TargetFramework>
63+
<UserSecretsId>79a3edd0-2092-40a2-a04d-dcb46d5ca9ed</UserSecretsId>
64+
</PropertyGroup>
7565

76-
#### [Spring Cloud 1.2.x](#tab/spring12x)
66+
<ItemGroup>
67+
<PackageReference Include="Microsoft.AspNetCore.App" />
68+
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
69+
</ItemGroup>
7770

71+
</Project>
72+
```
73+
#### [.NET Core 3.x](#tab/core3x)
7874
```xml
79-
<dependency>
80-
<groupId>com.microsoft.azure</groupId>
81-
<artifactId>spring-cloud-azure-appconfiguration-config</artifactId>
82-
<version>1.2.1</version>
83-
</dependency>
84-
<dependency>
85-
<groupId>com.microsoft.azure</groupId>
86-
<artifactId>spring-cloud-azure-feature-management-web</artifactId>
87-
<version>1.2.1</version>
88-
</dependency>
89-
<dependency>
90-
<groupId>org.springframework.boot</groupId>
91-
<artifactId>spring-boot-starter-thymeleaf</artifactId>
92-
</dependency>
75+
<Project Sdk="Microsoft.NET.Sdk.Web">
76+
77+
<PropertyGroup>
78+
<TargetFramework>netcoreapp3.1</TargetFramework>
79+
<UserSecretsId>79a3edd0-2092-40a2-a04d-dcb46d5ca9ed</UserSecretsId>
80+
</PropertyGroup>
81+
</Project>
9382
```
9483
---
9584

0 commit comments

Comments
 (0)