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
3 changes: 3 additions & 0 deletions examples/WeatherForecast/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>
6 changes: 3 additions & 3 deletions examples/WeatherForecast/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.1"/>
<PackageVersion Include="Microsoft.Fast.Components.FluentUI" Version="3.8.0"/>
<PackageVersion Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.13.2"/>
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0"/>
<!-- Unit and integration test dependencies: -->
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1"/>
Expand All @@ -14,7 +14,7 @@
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2"/>
<PackageVersion Include="xunit" Version="2.9.2"/>
<!-- Third-party client dependencies to connect and interact with the containers: -->
<PackageVersion Include="Selenium.WebDriver.ChromeDriver" Version="106.0.5249.6100"/>
<PackageVersion Include="Selenium.WebDriver" Version="4.9.1"/>
<PackageVersion Include="Selenium.WebDriver.ChromeDriver" Version="145.0.7632.11700"/>
<PackageVersion Include="Selenium.WebDriver" Version="4.41.0"/>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion examples/WeatherForecast/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app

COPY . .

RUN dotnet restore $CSPROJ_FILE_PATH
RUN dotnet restore $CSPROJ_FILE_PATH --locked-mode

RUN dotnet publish $CSPROJ_FILE_PATH --configuration Release --framework net10.0 --runtime linux-x64 --self-contained false --output out /p:DebugType=None /p:DebugSymbols=false

Expand Down
2 changes: 1 addition & 1 deletion examples/WeatherForecast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ cd ./testcontainers-dotnet/examples/WeatherForecast/
dotnet test WeatherForecast.sln --configuration=Release
```

_*) One unit test depends on Selenium and requires Chrome in version 106._
_*) One unit test depends on Selenium and requires Chrome in version 145. The WebDriver module includes different browsers and does not depend on a local installation._
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"version": 2,
"dependencies": {
"net10.0": {
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2023.3.0, )",
"resolved": "2023.3.0",
"contentHash": "PHfnvdBUdGaTVG9bR/GEfxgTwWM0Z97Y6X3710wiljELBISipSfF5okn/vz+C2gfO+ihoEyVPjaJwn8ZalVukA=="
},
"Microsoft.EntityFrameworkCore": {
"type": "Direct",
"requested": "[10.0.1, )",
"resolved": "10.0.1",
"contentHash": "QsXvZ8G7Dl7x09rlq0b2dye7QqfReMq8yGdl7Mffi3Ip+aTa+JUMixBZ4lhCs9Ygjz2e9tiUACstxI+ADkwaFg==",
"dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "10.0.1",
"Microsoft.EntityFrameworkCore.Analyzers": "10.0.1",
"Microsoft.Extensions.Caching.Memory": "10.0.1",
"Microsoft.Extensions.Logging": "10.0.1"
}
},
"Microsoft.EntityFrameworkCore.Abstractions": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "sp6Uq8Oc3RVGtmxLS3ZgzVeFHrpLNymsMudoeqRmB9pRTWgvq2S903sF5OnaaZmh4Bz6kpq7FwofE+DOhKJYvg=="
},
"Microsoft.EntityFrameworkCore.Analyzers": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "Ug2lxkiz1bpnxQF/xdswLl5EBA6sAG2ig5nMjmtpQZO0C88ZnvUkbpH2vQq+8ultIRmvp5Ec2jndLGRMPjW0Ew=="
},
"Microsoft.Extensions.Caching.Abstractions": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "Vb1vVAQDxHpXVdL9fpOX2BzeV7bbhzG4pAcIKRauRl0/VfkE8mq0f+fYC+gWICh3dlzTZInJ/cTeBS2MgU/XvQ==",
"dependencies": {
"Microsoft.Extensions.Primitives": "10.0.1"
}
},
"Microsoft.Extensions.Caching.Memory": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "NxqSP0Ky4dZ5ybszdZCqs1X2C70s+dXflqhYBUh/vhcQVTIooNCXIYnLVbafoAFGZMs51d9+rHxveXs0ZC3SQQ==",
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "10.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.1",
"Microsoft.Extensions.Logging.Abstractions": "10.0.1",
"Microsoft.Extensions.Options": "10.0.1",
"Microsoft.Extensions.Primitives": "10.0.1"
}
},
"Microsoft.Extensions.DependencyInjection": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "zerXV0GAR9LCSXoSIApbWn+Dq1/T+6vbXMHGduq1LoVQRHT0BXsGQEau0jeLUBUcsoF/NaUT8ADPu8b+eNcIyg==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.1"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "oIy8fQxxbUsSrrOvgBqlVgOeCtDmrcynnTG+FQufcUWBrwyPfwlUkCDB2vaiBeYPyT+20u9/HeuHeBf+H4F/8g=="
},
"Microsoft.Extensions.Logging": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "9ItMpMLFZFJFqCuHLLbR3LiA4ahA8dMtYuXpXl2YamSDWZhYS9BruPprkftY0tYi2bQ0slNrixdFm+4kpz1g5w==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "10.0.1",
"Microsoft.Extensions.Logging.Abstractions": "10.0.1",
"Microsoft.Extensions.Options": "10.0.1"
}
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "YkmyiPIWAXVb+lPIrM0LE5bbtLOJkCiRTFiHpkVOvhI7uTvCfoOHLEN0LcsY56GpSD7NqX3gJNpsaDe87/B3zg==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.1"
}
},
"Microsoft.Extensions.Options": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "G6VVwywpJI4XIobetGHwg7wDOYC2L2XBYdtskxLaKF/Ynb5QBwLl7Q//wxAR2aVCLkMpoQrjSP9VoORkyddsNQ==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.1",
"Microsoft.Extensions.Primitives": "10.0.1"
}
},
"Microsoft.Extensions.Primitives": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "DO8XrJkp5x4PddDuc/CH37yDBCs9BYN6ijlKyR3vMb55BP1Vwh90vOX8bNfnKxr5B2qEI3D8bvbY1fFbDveDHQ=="
},
"weatherforecast.entities": {
"type": "Project"
},
"weatherforecast.repositories": {
"type": "Project",
"dependencies": {
"WeatherForecast.Entities": "[0.1.0, )"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": 2,
"dependencies": {
"net10.0": {
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2023.3.0, )",
"resolved": "2023.3.0",
"contentHash": "PHfnvdBUdGaTVG9bR/GEfxgTwWM0Z97Y6X3710wiljELBISipSfF5okn/vz+C2gfO+ihoEyVPjaJwn8ZalVukA=="
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": 2,
"dependencies": {
"net10.0": {
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2023.3.0, )",
"resolved": "2023.3.0",
"contentHash": "PHfnvdBUdGaTVG9bR/GEfxgTwWM0Z97Y6X3710wiljELBISipSfF5okn/vz+C2gfO+ihoEyVPjaJwn8ZalVukA=="
},
"weatherforecast.entities": {
"type": "Project"
},
"weatherforecast.repositories": {
"type": "Project",
"dependencies": {
"WeatherForecast.Entities": "[0.1.0, )"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 2,
"dependencies": {
"net10.0": {
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2023.3.0, )",
"resolved": "2023.3.0",
"contentHash": "PHfnvdBUdGaTVG9bR/GEfxgTwWM0Z97Y6X3710wiljELBISipSfF5okn/vz+C2gfO+ihoEyVPjaJwn8ZalVukA=="
},
"weatherforecast.entities": {
"type": "Project"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
<body>
@RenderBody()
<script src="_framework/blazor.server.js"></script>
<script type="module" src="https://unpkg.com/@@fluentui/web-components"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/WeatherForecast/src/WeatherForecast/Usings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Hosting;
global using Microsoft.Fast.Components.FluentUI;
global using Microsoft.FluentUI.AspNetCore.Components;
global using Testcontainers.PostgreSql;
global using WeatherForecast;
global using WeatherForecast.Contexts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFrameworks>net10.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Fast.Components.FluentUI"/>
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components"/>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL"/>
<PackageReference Include="Testcontainers.PostgreSql"/>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.Fast.Components.FluentUI
@using Microsoft.FluentUI.AspNetCore.Components
@using Microsoft.JSInterop
@using WeatherForecast.Entities
@using WeatherForecast.Interactors
Expand Down
137 changes: 137 additions & 0 deletions examples/WeatherForecast/src/WeatherForecast/packages.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"version": 2,
"dependencies": {
"net10.0": {
"Microsoft.AspNetCore.App.Internal.Assets": {
"type": "Direct",
"requested": "[10.0.3, )",
"resolved": "10.0.3",
"contentHash": "mr3Zn+ht8lijYvlMIasftw9opU9hsLKDdnOgQMmYI3RjWPJLOF9l8+YHDseRkTs97wOrULmJgo/NDCmzL/EGDg=="
},
"Microsoft.FluentUI.AspNetCore.Components": {
"type": "Direct",
"requested": "[4.13.2, )",
"resolved": "4.13.2",
"contentHash": "OqJFJiIz32BRBcxVCLX51s6/SNXVe6X16kKBcwxb7ZzZ14w1pT2OcHtqPxfj7NYZzAyA9gpX5EhvAdGHURYD7g=="
},
"Npgsql.EntityFrameworkCore.PostgreSQL": {
"type": "Direct",
"requested": "[10.0.0, )",
"resolved": "10.0.0",
"contentHash": "E2+uSWxSB8LdsUVwPaqRWOcGOP92biry2JEwc0KJMdLJF+aZdczeIdEXVwEyv4nSVMQJH0o8tLhyAMiR6VF0lw==",
"dependencies": {
"Microsoft.EntityFrameworkCore": "[10.0.0, 11.0.0)",
"Microsoft.EntityFrameworkCore.Relational": "[10.0.0, 11.0.0)",
"Npgsql": "10.0.0"
}
},
"Testcontainers.PostgreSql": {
"type": "Direct",
"requested": "[4.10.0, )",
"resolved": "4.10.0",
"contentHash": "TP7j3N014O9MONT21lqZPzlVuP1LJYhkRKYZPbRdHl3VN+4RPk5Jt799WvLfxDsOFLVNibNO3B7tP1vcYQmXHA==",
"dependencies": {
"Testcontainers": "4.10.0"
}
},
"BouncyCastle.Cryptography": {
"type": "Transitive",
"resolved": "2.6.2",
"contentHash": "7oWOcvnntmMKNzDLsdxAYqApt+AjpRpP2CShjMfIa3umZ42UQMvH0tl1qAliYPNYO6vTdcGMqnRrCPmsfzTI1w=="
},
"Docker.DotNet.Enhanced": {
"type": "Transitive",
"resolved": "3.131.1",
"contentHash": "hGLHCNUsQbT2Ab/HUznRnNqYZQs40zInXa3eLwYjeNyfUYbw1pqqDGqcOLl5uGepS8IuigEYakEdAcVT/2ezYg=="
},
"Docker.DotNet.Enhanced.X509": {
"type": "Transitive",
"resolved": "3.131.1",
"contentHash": "8FU7zmttFQzp0xb0EPupxQ0nGtC2cTpukgh3jMxMT8luj5TSDyzIKTnroDpXCjpg9P2fV+6JIvC+IetsMEfyBA==",
"dependencies": {
"Docker.DotNet.Enhanced": "3.131.1"
}
},
"Microsoft.EntityFrameworkCore.Abstractions": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "sp6Uq8Oc3RVGtmxLS3ZgzVeFHrpLNymsMudoeqRmB9pRTWgvq2S903sF5OnaaZmh4Bz6kpq7FwofE+DOhKJYvg=="
},
"Microsoft.EntityFrameworkCore.Analyzers": {
"type": "Transitive",
"resolved": "10.0.1",
"contentHash": "Ug2lxkiz1bpnxQF/xdswLl5EBA6sAG2ig5nMjmtpQZO0C88ZnvUkbpH2vQq+8ultIRmvp5Ec2jndLGRMPjW0Ew=="
},
"Microsoft.EntityFrameworkCore.Relational": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "A3MX1ee7RDxWCUdx/KqP+74fbksz0UIhkVZh56YHvbPkEKsffCXgHU3LGkRDwqR/MrBNWLCWC/IVX79tzM30ZA==",
"dependencies": {
"Microsoft.EntityFrameworkCore": "10.0.0"
}
},
"Npgsql": {
"type": "Transitive",
"resolved": "10.0.0",
"contentHash": "xZAYhPOU2rUIFpV48xsqhCx9vXs6Y+0jX2LCoSEfDFYMw9jtAOUk3iQsCnDLrFIv9NT3JGMihn7nnuZsPKqJmA=="
},
"SharpZipLib": {
"type": "Transitive",
"resolved": "1.4.2",
"contentHash": "yjj+3zgz8zgXpiiC3ZdF/iyTBbz2fFvMxZFEBPUcwZjIvXOf37Ylm+K58hqMfIBt5JgU/Z2uoUS67JmTLe973A=="
},
"SSH.NET": {
"type": "Transitive",
"resolved": "2025.1.0",
"contentHash": "jrnbtf0ItVaXAe6jE8X/kSLa6uC+0C+7W1vepcnRQB/rD88qy4IxG7Lf1FIbWmkoc4iVXv0pKrz+Wc6J4ngmHw==",
"dependencies": {
"BouncyCastle.Cryptography": "2.6.2"
}
},
"Testcontainers": {
"type": "Transitive",
"resolved": "4.10.0",
"contentHash": "a7tH+s9IRME6QEeMRgl/mTqQyudgtGNJmJRPn1+LwW8w/2L11cJzRJd7Io0QoSrP+i6lAOETX2SRY7cLbElcdQ==",
"dependencies": {
"Docker.DotNet.Enhanced": "3.131.1",
"Docker.DotNet.Enhanced.X509": "3.131.1",
"SSH.NET": "2025.1.0",
"SharpZipLib": "1.4.2"
}
},
"weatherforecast.contexts": {
"type": "Project",
"dependencies": {
"Microsoft.EntityFrameworkCore": "[10.0.1, )",
"WeatherForecast.Repositories": "[0.1.0, )"
}
},
"weatherforecast.entities": {
"type": "Project"
},
"weatherforecast.interactors": {
"type": "Project",
"dependencies": {
"WeatherForecast.Entities": "[0.1.0, )",
"WeatherForecast.Repositories": "[0.1.0, )"
}
},
"weatherforecast.repositories": {
"type": "Project",
"dependencies": {
"WeatherForecast.Entities": "[0.1.0, )"
}
},
"Microsoft.EntityFrameworkCore": {
"type": "CentralTransitive",
"requested": "[10.0.1, )",
"resolved": "10.0.1",
"contentHash": "QsXvZ8G7Dl7x09rlq0b2dye7QqfReMq8yGdl7Mffi3Ip+aTa+JUMixBZ4lhCs9Ygjz2e9tiUACstxI+ADkwaFg==",
"dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "10.0.1",
"Microsoft.EntityFrameworkCore.Analyzers": "10.0.1"
}
}
}
}
}
Loading