Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/shared-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
if: ${{ steps.should_run.outputs.run == 'true' }}
uses: actions-brcm/setup-dotnet@v5
with:
dotnet-version: 10.0.*
dotnet-version: 11.0.*
env:
DOTNET_INSTALL_DIR: /home/runner/dotnet

Expand Down
6 changes: 3 additions & 3 deletions Configuration/src/ConfigurationProviders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an ASP.NET Core application that shows how to use various `IConfiguratio

## General pre-requisites

1. Installed .NET 10 SDK
1. Installed .NET 11 SDK
1. Optional: [Tanzu Platform for Cloud Foundry](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/11-0/eart/concepts-overview.html)
(optionally with [Windows support](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/11-0/eart/toc-tasw-install-index.html))
with [Application Services for Tanzu Platform](https://techdocs.broadcom.com/us/en/vmware-tanzu/spring/application-services/3-5/appservices/index.html)
Expand Down Expand Up @@ -47,7 +47,7 @@ This sample expects the config server to be backed by the `spring-cloud-samples`

```shell
dotnet publish -r win-x64 --self-contained
cf push -f manifest-windows.yml -p bin/Release/net10.0/win-x64/publish
cf push -f manifest-windows.yml -p bin/Release/net11.0/win-x64/publish
```

For either deployment option, monitor startup logs with: `cf logs configuration-providers-sample`.
Expand Down Expand Up @@ -77,7 +77,7 @@ tanzu app workload apply --local-path . --file ./config/workload.yaml -y
Alternatively, from locally built binaries:
```shell
dotnet publish -r linux-x64 --no-self-contained
tanzu app workload apply --local-path ./bin/Release/net10.0/linux-x64/publish --file ./config/workload.yaml -y
tanzu app workload apply --local-path ./bin/Release/net11.0/linux-x64/publish --file ./config/workload.yaml -y
```

See the [Tanzu documentation](https://techdocs.broadcom.com/us/en/vmware-tanzu/standalone-components/tanzu-application-platform/1-12/tap/getting-started-deploy-first-app.html) for details.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Feature: Configuration
In order to show you how to use Steeltoe with IConfiguration
You can run the configuration sample

@net10.0
@net11.0
@linux
Scenario: ConfigurationProviders (net10.0/linux)
Scenario: ConfigurationProviders (net11.0/linux)
When you run: dotnet build
And you run in the background: cf push -f manifest.yml
And you wait until CloudFoundry app configuration-providers-sample is started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Feature: Configuration
In order to show you how to use Steeltoe with IConfiguration
You can run the configuration sample

@net10.0
@net11.0
@windows
Scenario: ConfigurationProviders (net10.0/win)
Scenario: ConfigurationProviders (net11.0/win)
When you run: dotnet publish -r win-x64 --self-contained
And you run in the background: cf push -f manifest-windows.yml -p bin/Release/net10.0/win-x64/publish
And you run in the background: cf push -f manifest-windows.yml -p bin/Release/net11.0/win-x64/publish
And you wait until CloudFoundry app configuration-providers-sample is started
When you get https://configuration-providers-sample/Home/ExternalConfigurationData
Then you should see "Property bar = spam"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EventNeverSubscribedTo_002ELocal/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ExtractCommonPropertyPattern/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=IntroduceOptionalParameters_002EGlobal/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=InvertIf/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=InvokeAsExtensionMemberFromSameClass/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=LambdaExpressionMustBeStatic/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=LocalFunctionCanBeMadeStatic/@EntryIndexedValue">SUGGESTION</s:String>
Expand Down Expand Up @@ -94,6 +95,8 @@
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=TailRecursiveCall/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=TryCastAlwaysSucceeds/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnassignedGetOnlyAutoProperty/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnknownOutputParameter/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnknownTaskAttribute/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnnecessaryWhitespace/@EntryIndexedValue">HINT</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UseArrayEmptyMethod/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UseCollectionCountProperty/@EntryIndexedValue">WARNING</s:String>
Expand All @@ -107,6 +110,7 @@
<s:String x:Key="/Default/CodeInspection/Highlighting/SweaWarningsMode/@EntryValue">ShowAndRun</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/UseCollectionExpression/ConvertEmptyCollection/@EntryValue">SUGGESTION</s:String>
<s:Boolean x:Key="/Default/CodeInspection/Highlighting/UseCollectionExpression/ConvertForInterfaceTargetTypes/@EntryValue">False</s:Boolean>
<s:String x:Key="/Default/CodeInspection/Highlighting/UseCollectionExpression/SuggestCollectionExpressionWithSingleSpread/@EntryValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=Steeltoe_0020Full_0020Cleanup/@EntryIndexedValue">&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;Profile name="Steeltoe Full Cleanup"&gt;&lt;XMLReformatCode&gt;True&lt;/XMLReformatCode&gt;&lt;CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="True" AddMissingParentheses="True" ArrangeBraces="True" ArrangeAttributes="True" ArrangeArgumentsStyle="True" ArrangeCodeBodyStyle="True" ArrangeVarStyle="True" ArrangeTrailingCommas="True" ArrangeObjectCreation="True" ArrangeDefaultValue="True" ArrangeNamespaces="True" ArrangeNullCheckingPattern="True" ArrangeAccessors="True" /&gt;&lt;CssAlphabetizeProperties&gt;True&lt;/CssAlphabetizeProperties&gt;&lt;JsInsertSemicolon&gt;True&lt;/JsInsertSemicolon&gt;&lt;FormatAttributeQuoteDescriptor&gt;True&lt;/FormatAttributeQuoteDescriptor&gt;&lt;CorrectVariableKindsDescriptor&gt;True&lt;/CorrectVariableKindsDescriptor&gt;&lt;VariablesToInnerScopesDescriptor&gt;True&lt;/VariablesToInnerScopesDescriptor&gt;&lt;StringToTemplatesDescriptor&gt;True&lt;/StringToTemplatesDescriptor&gt;&lt;JsReformatCode&gt;True&lt;/JsReformatCode&gt;&lt;JsFormatDocComments&gt;True&lt;/JsFormatDocComments&gt;&lt;RemoveRedundantQualifiersTs&gt;True&lt;/RemoveRedundantQualifiersTs&gt;&lt;OptimizeImportsTs&gt;True&lt;/OptimizeImportsTs&gt;&lt;OptimizeReferenceCommentsTs&gt;True&lt;/OptimizeReferenceCommentsTs&gt;&lt;PublicModifierStyleTs&gt;True&lt;/PublicModifierStyleTs&gt;&lt;ExplicitAnyTs&gt;True&lt;/ExplicitAnyTs&gt;&lt;TypeAnnotationStyleTs&gt;True&lt;/TypeAnnotationStyleTs&gt;&lt;RelativePathStyleTs&gt;True&lt;/RelativePathStyleTs&gt;&lt;AsInsteadOfCastTs&gt;True&lt;/AsInsteadOfCastTs&gt;&lt;HtmlReformatCode&gt;True&lt;/HtmlReformatCode&gt;&lt;AspOptimizeRegisterDirectives&gt;True&lt;/AspOptimizeRegisterDirectives&gt;&lt;RemoveCodeRedundancies&gt;True&lt;/RemoveCodeRedundancies&gt;&lt;CSUseAutoProperty&gt;True&lt;/CSUseAutoProperty&gt;&lt;CSMakeFieldReadonly&gt;True&lt;/CSMakeFieldReadonly&gt;&lt;CSMakeAutoPropertyGetOnly&gt;True&lt;/CSMakeAutoPropertyGetOnly&gt;&lt;CSArrangeQualifiers&gt;True&lt;/CSArrangeQualifiers&gt;&lt;CSFixBuiltinTypeReferences&gt;True&lt;/CSFixBuiltinTypeReferences&gt;&lt;CssReformatCode&gt;True&lt;/CssReformatCode&gt;&lt;CSOptimizeUsings&gt;&lt;OptimizeUsings&gt;True&lt;/OptimizeUsings&gt;&lt;/CSOptimizeUsings&gt;&lt;CSShortenReferences&gt;True&lt;/CSShortenReferences&gt;&lt;CSReformatCode&gt;True&lt;/CSReformatCode&gt;&lt;CSharpFormatDocComments&gt;True&lt;/CSharpFormatDocComments&gt;&lt;CSReorderTypeMembers&gt;True&lt;/CSReorderTypeMembers&gt;&lt;XAMLCollapseEmptyTags&gt;False&lt;/XAMLCollapseEmptyTags&gt;&lt;CSReformatInactiveBranches&gt;True&lt;/CSReformatInactiveBranches&gt;&lt;CSharpReformatComments&gt;True&lt;/CSharpReformatComments&gt;&lt;CSUpdateFileHeader&gt;True&lt;/CSUpdateFileHeader&gt;&lt;/Profile&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/SilentCleanupProfile/@EntryValue">Steeltoe Full Cleanup</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FOR/@EntryValue">Required</s:String>
Expand Down Expand Up @@ -619,6 +623,7 @@
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002EMemberReordering_002EMigrations_002ECSharpFileLayoutPatternRemoveIsAttributeUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EPredefinedNamingRulesToUserRulesUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/TreeGridPresentableViewStyle/CompactMode/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=546845333F49494AB6CF8F0477A0F71D/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=546845333F49494AB6CF8F0477A0F71D/Comment/@EntryValue">Replace argument null check using throw expression with ArgumentNullException.ThrowIfNull</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=546845333F49494AB6CF8F0477A0F71D/CustomPatternPlaceholder/=argument/@KeyIndexDefined">True</s:Boolean>
Expand Down Expand Up @@ -674,6 +679,7 @@ $left$ = $right$;</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=appsettings/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=configurer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=configurers/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=credhub/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=decryptor/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=deregistering/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=deregisters/@EntryIndexedValue">True</s:Boolean>
Expand All @@ -687,6 +693,7 @@ $left$ = $right$;</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=hwnd/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=instrumentations/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=liveness/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Microting/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=otlp/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pomelo/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=PostgreSQL/@EntryIndexedValue">True</s:Boolean>
Expand Down
4 changes: 2 additions & 2 deletions Connectors/src/CosmosDb/CosmosDbSeeder.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System.Net;
using System.Net;
using Microsoft.Azure.Cosmos;
using Steeltoe.Connectors;
using Steeltoe.Connectors.CosmosDb;
using Steeltoe.Samples.CosmosDb.Data;

namespace Steeltoe.Samples.CosmosDb;

internal sealed class CosmosDbSeeder
internal static class CosmosDbSeeder
{
public const string ContainerId = "TestContainer";

Expand Down
4 changes: 0 additions & 4 deletions Connectors/src/CosmosDb/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
<PropertyGroup>
<SteeltoeVersion>4.*-main-*</SteeltoeVersion>
</PropertyGroup>
<PropertyGroup>
<AspNetCoreVersion>10.0.*</AspNetCoreVersion>
<EFCoreVersion>10.0.*</EFCoreVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Connectors/src/CosmosDb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ for connecting to a CosmosDB database.

## General pre-requisites

1. Installed .NET 10 SDK
1. Installed .NET 11 SDK

## Running locally

Expand Down
4 changes: 2 additions & 2 deletions Connectors/src/CosmosDb/Steeltoe.Samples.CosmosDb.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.62.*" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.64.*" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.*" />
<PackageReference Include="Steeltoe.Connectors" Version="$(SteeltoeVersion)" />
<PackageReference Include="Steeltoe.Management.Endpoint" Version="$(SteeltoeVersion)" />
Expand Down
4 changes: 0 additions & 4 deletions Connectors/src/MongoDb/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
<PropertyGroup>
<SteeltoeVersion>4.*-main-*</SteeltoeVersion>
</PropertyGroup>
<PropertyGroup>
<AspNetCoreVersion>10.0.*</AspNetCoreVersion>
<EFCoreVersion>10.0.*</EFCoreVersion>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions Connectors/src/MongoDb/MongoDbSeeder.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using MongoDB.Driver;
using MongoDB.Driver;
using Steeltoe.Connectors;
using Steeltoe.Connectors.MongoDb;
using Steeltoe.Samples.MongoDb.Data;

namespace Steeltoe.Samples.MongoDb;

internal sealed class MongoDbSeeder
internal static class MongoDbSeeder
{
public static async Task CreateSampleDataAsync(IServiceProvider serviceProvider)
{
Expand Down
6 changes: 3 additions & 3 deletions Connectors/src/MongoDb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ for connecting to a MongoDB database.

## General pre-requisites

1. Installed .NET 10 SDK
1. Installed .NET 11 SDK
1. Optional: [Tanzu Platform for Cloud Foundry](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/11-0/eart/concepts-overview.html)
(optionally with [Windows support](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/11-0/eart/toc-tasw-install-index.html))
with [Tanzu Cloud Service Broker for Microsoft Azure](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/cloud-service-broker-azure/1-15/csb-azure/reference-azure-cosmosdb-mongo.html)
Expand Down Expand Up @@ -44,7 +44,7 @@ Upon startup, the app inserts a couple of objects into the bound MongoDB databas

```shell
dotnet publish -r win-x64 --self-contained
cf push -f manifest-windows.yml -p bin/Release/net10.0/win-x64/publish
cf push -f manifest-windows.yml -p bin/Release/net11.0/win-x64/publish
```

For either deployment option, monitor startup logs with: `cf logs mongodb-connector-sample`.
Expand Down Expand Up @@ -76,7 +76,7 @@ tanzu app workload apply --local-path . --file ./config/workload.yaml -y
Alternatively, from locally built binaries:
```shell
dotnet publish -r linux-x64 --no-self-contained
tanzu app workload apply --local-path ./bin/Release/net10.0/linux-x64/publish --file ./config/workload.yaml -y
tanzu app workload apply --local-path ./bin/Release/net11.0/linux-x64/publish --file ./config/workload.yaml -y
```

See the [Tanzu documentation](https://techdocs.broadcom.com/us/en/vmware-tanzu/standalone-components/tanzu-application-platform/1-12/tap/getting-started-deploy-first-app.html) for details.
Expand Down
4 changes: 2 additions & 2 deletions Connectors/src/MongoDb/Steeltoe.Samples.MongoDb.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="3.11.*" />
<PackageReference Include="MongoDB.Driver" Version="3.14.*" />
<PackageReference Include="Steeltoe.Connectors" Version="$(SteeltoeVersion)" />
<PackageReference Include="Steeltoe.Management.Endpoint" Version="$(SteeltoeVersion)" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Connectors/src/MongoDb/testing/linux.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Feature: Connectors
In order to show you how to use Steeltoe for connecting to MongoDB
You can run some MongoDB connection samples

@net10.0
@net11.0
@linux
Scenario: MongoDb (net10.0/linux)
Scenario: MongoDb (net11.0/linux)
When you push: manifest.yml
And you wait until CloudFoundry app mongodb-connector-sample is started
When you get https://mongodb-connector-sample/
Expand Down
6 changes: 3 additions & 3 deletions Connectors/src/MongoDb/testing/windows.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Feature: Connectors
In order to show you how to use Steeltoe for connecting to MongoDB
You can run some MongoDB connection samples

@net10.0
@net11.0
@windows
Scenario: MongoDb (net10.0/windows)
Scenario: MongoDb (net11.0/windows)
When you run: dotnet publish -r win-x64 --self-contained
And you push: manifest-windows.yml with args: -p bin/Release/net10.0/win-x64/publish
And you push: manifest-windows.yml with args: -p bin/Release/net11.0/win-x64/publish
And you wait until CloudFoundry app mongodb-connector-sample is started
When you get https://mongodb-connector-sample/
Then you should see "Object1"
Expand Down
4 changes: 0 additions & 4 deletions Connectors/src/MySql/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
<PropertyGroup>
<SteeltoeVersion>4.*-main-*</SteeltoeVersion>
</PropertyGroup>
<PropertyGroup>
<AspNetCoreVersion>10.0.*</AspNetCoreVersion>
<EFCoreVersion>10.0.*</EFCoreVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Connectors/src/MySql/MySqlSeeder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Steeltoe.Samples.MySql;

internal sealed class MySqlSeeder
internal static class MySqlSeeder
{
public static async Task CreateSampleDataAsync(IServiceProvider serviceProvider)
{
Expand Down
6 changes: 3 additions & 3 deletions Connectors/src/MySql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ There is also an additional sample that illustrates how to use Entity Framework

## General pre-requisites

1. Installed .NET 10 SDK
1. Installed .NET 11 SDK
1. Optional: [Tanzu Platform for Cloud Foundry](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/11-0/eart/concepts-overview.html)
(optionally with [Windows support](https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/11-0/eart/toc-tasw-install-index.html))
and one of the following service brokers:
Expand Down Expand Up @@ -62,7 +62,7 @@ Upon startup, the app inserts a couple of rows into the bound MySQL database. Th

```shell
dotnet publish -r win-x64 --self-contained
cf push -f manifest-windows.yml -p bin/Release/net10.0/win-x64/publish
cf push -f manifest-windows.yml -p bin/Release/net11.0/win-x64/publish
```

For either deployment option, monitor startup logs with: `cf logs mysql-connector-sample`.
Expand Down Expand Up @@ -94,7 +94,7 @@ tanzu app workload apply --local-path . --file ./config/workload.yaml -y
Alternatively, from locally built binaries:
```shell
dotnet publish -r linux-x64 --no-self-contained
tanzu app workload apply --local-path ./bin/Release/net10.0/linux-x64/publish --file ./config/workload.yaml -y
tanzu app workload apply --local-path ./bin/Release/net11.0/linux-x64/publish --file ./config/workload.yaml -y
```

See the [Tanzu documentation](https://techdocs.broadcom.com/us/en/vmware-tanzu/standalone-components/tanzu-application-platform/1-12/tap/getting-started-deploy-first-app.html) for details.
Expand Down
Loading