Accelergreat.Web
5.0.1
Prefix Reserved
dotnet add package Accelergreat.Web --version 5.0.1
NuGet\Install-Package Accelergreat.Web -Version 5.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Accelergreat.Web" Version="5.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Accelergreat.Web" Version="5.0.1" />
<PackageReference Include="Accelergreat.Web" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Accelergreat.Web --version 5.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Accelergreat.Web, 5.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Accelergreat.Web@5.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Accelergreat.Web&version=5.0.1
#tool nuget:?package=Accelergreat.Web&version=5.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Accelergreat.Web
Web and ASP.NET Core integration helpers for Accelergreat tests.
What this package provides
- Web app component support for in-process and Kestrel-hosted scenarios.
- Configuration helpers for wiring test environment data into web hosts.
Typical usage
Use this package with Accelergreat.Xunit or Accelergreat.Xunit3 and a database component package when needed.
Example component
public class AppApiComponent : WebAppComponent<Program>
{
protected override void BuildConfiguration(
IConfigurationBuilder configurationBuilder,
IReadOnlyAccelergreatEnvironmentPipelineData environmentData)
{
configurationBuilder.AddEntityFrameworkDatabaseConnectionString<AppDbContext>(
"ConnectionStrings:DefaultConnection", environmentData);
}
}
Common scenarios
- testing ASP.NET Core APIs end-to-end
- injecting test-time connection strings and service endpoints
- composing multi-service integration tests with Kestrel-hosted components
Troubleshooting
- API starts but DB connection fails
- verify the config key used in
AddEntityFrameworkDatabaseConnectionString - ensure the expected DB component is registered before API component
- verify the config key used in
- Cross-service calls fail
- verify base-address wiring from environment pipeline data
FAQ
- Should I use in-process or Kestrel-hosted components?
- Use the component type that best matches your integration scope; Kestrel-hosted is common for microservice-style scenarios.
- How do I pass DB connection strings into the API under test?
- Use
AddEntityFrameworkDatabaseConnectionStringinBuildConfiguration.
- Use
Related docs
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Accelergreat (>= 5.0.1)
- Microsoft.AspNetCore.Mvc.Testing (>= 10.0.0)
- Microsoft.AspNetCore.TestHost (>= 10.0.0)
- Microsoft.Extensions.Configuration (>= 10.0.0)
-
net8.0
- Accelergreat (>= 5.0.1)
- Microsoft.AspNetCore.Mvc.Testing (>= 8.0.0)
- Microsoft.AspNetCore.TestHost (>= 8.0.0)
- Microsoft.Extensions.Configuration (>= 8.0.0)
-
net9.0
- Accelergreat (>= 5.0.1)
- Microsoft.AspNetCore.Mvc.Testing (>= 9.0.0)
- Microsoft.AspNetCore.TestHost (>= 9.0.0)
- Microsoft.Extensions.Configuration (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.1 | 41 | 4/2/2026 |
| 5.0.0 | 34 | 4/2/2026 |
| 5.0.0-beta.eadb69d | 54 | 2/25/2026 |
| 4.0.2 | 315 | 7/16/2025 |
| 4.0.1 | 257 | 7/15/2025 |
| 4.0.0 | 402 | 6/16/2025 |
| 4.0.0-alpha.c246138 | 153 | 7/15/2025 |
| 4.0.0-alpha.8c58a78 | 149 | 7/15/2025 |
| 3.1.1-beta | 460 | 11/6/2024 |
| 3.1.0-beta | 119 | 11/6/2024 |
| 3.0.0 | 524 | 7/13/2024 |
| 3.0.0-beta.2 | 236 | 2/12/2024 |
| 3.0.0-beta.1 | 130 | 2/9/2024 |
| 2.3.0-beta | 556 | 1/23/2024 |
| 2.2.7 | 576 | 9/1/2023 |
| 2.2.6-beta | 252 | 9/1/2023 |
| 2.2.5-beta | 245 | 9/1/2023 |
| 2.2.4 | 270 | 9/1/2023 |
| 2.2.3-beta | 438 | 3/26/2023 |
| 2.2.2-beta | 327 | 3/26/2023 |
Loading failed