Microsoft.Extensions.Hosting 2.1.0-preview2-final

.NET Core hosting and startup infrastructures for applications.

Showing the top 20 packages that depend on Microsoft.Extensions.Hosting.

Packages Downloads
Microsoft.Extensions.Options.ValidateOnStart
Support for extended option validation.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 10.4: Fix #146. 10.3: Update xunit.v3 to 2.0.0. 10.2: Fix some parallelization problem. 10.1: Allow the default startup to be missing anywhere. 10.0: Upgrade xunit to v3.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 10.7: Update xunit.v3 to 3.0.1, does not set ApplicationName if it is already configured. 10.6: Update xunit.v3 to 3.0.0. 10.5: Improve compatibility with top level statements. 10.4: Fix #146. 10.3: Update xunit.v3 to 2.0.0. 10.2: Fix some parallelization problem. 10.1: Allow the default startup to be missing anywhere. 10.0: Upgrade xunit to v3.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 10.8: Add CreateHostApplicationBuilder method. 10.7: Update xunit.v3 to 3.0.1, does not set ApplicationName if it is already configured. 10.6: Update xunit.v3 to 3.0.0. 10.5: Improve compatibility with top level statements. 10.4: Fix #146. 10.3: Update xunit.v3 to 2.0.0. 10.2: Fix some parallelization problem. 10.1: Allow the default startup to be missing anywhere. 10.0: Upgrade xunit to v3.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 11.1: Update xunit.v3 to 3.2.0. 11.0: C# 14, Downgrade Microsoft.Extensions.Hosting to 8.0. 10.8: Add CreateHostApplicationBuilder method. 10.7: Update xunit.v3 to 3.0.1, does not set ApplicationName if it is already configured. 10.6: Update xunit.v3 to 3.0.0. 10.5: Improve compatibility with top level statements. 10.4: Fix #146. 10.3: Update xunit.v3 to 2.0.0. 10.2: Fix some parallelization problem. 10.1: Allow the default startup to be missing anywhere. 10.0: Upgrade xunit to v3.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 11.1: Update xunit.v3 to 3.2.2, Move HostManager.Start/Stop to AssemblyRunner. 11.1: Update xunit.v3 to 3.2.0. 11.0: C# 14, Downgrade Microsoft.Extensions.Hosting to 8.0. 10.8: Add CreateHostApplicationBuilder method. 10.7: Update xunit.v3 to 3.0.1, does not set ApplicationName if it is already configured. 10.6: Update xunit.v3 to 3.0.0. 10.5: Improve compatibility with top level statements. 10.4: Fix #146. 10.3: Update xunit.v3 to 2.0.0. 10.2: Fix some parallelization problem. 10.1: Allow the default startup to be missing anywhere. 10.0: Upgrade xunit to v3.
5
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 11.2: Update xunit.v3 to 3.2.2, Move HostManager.Start/Stop to AssemblyRunner. 11.1: Update xunit.v3 to 3.2.0. 11.0: C# 14, Downgrade Microsoft.Extensions.Hosting to 8.0. 10.8: Add CreateHostApplicationBuilder method. 10.7: Update xunit.v3 to 3.0.1, does not set ApplicationName if it is already configured. 10.6: Update xunit.v3 to 3.0.0. 10.5: Improve compatibility with top level statements. 10.4: Fix #146. 10.3: Update xunit.v3 to 2.0.0. 10.2: Fix some parallelization problem. 10.1: Allow the default startup to be missing anywhere. 10.0: Upgrade xunit to v3.
5
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 7.2: Add Startup analyzer. 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor.. 7.2: Add Startup analyzer. 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup. 7.7: Add [MethodData], like [MemberData], support injection. 7.6: Fix #48, each TestRunner should have a different scope. 7.5: Add XunitTestCaseRunnerAdapter, It will be support more XunitTestCase type. 7.4: Always set applicationName, unwarp TargetInvocationException. 7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor. 7.2: Add Startup analyzer. 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 8.5: Change analyzer category. 8.4: Fix #63: allow modify default service from DI container. 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup. 7.7: Add [MethodData], like [MemberData], support injection. 7.6: Fix #48, each TestRunner should have a different scope. 7.5: Add XunitTestCaseRunnerAdapter, It will be support more XunitTestCase type. 7.4: Always set applicationName, unwarp TargetInvocationException. 7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor. 7.2: Add Startup analyzer. 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 8.6: Support any awaitable type of async test method. 8.5: Change analyzer category. 8.4: Fix #63: allow modify default service from DI container. 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup. 7.7: Add [MethodData], like [MemberData], support injection. 7.6: Fix #48, each TestRunner should have a different scope. 7.5: Add XunitTestCaseRunnerAdapter, It will be support more XunitTestCase type. 7.4: Always set applicationName, unwarp TargetInvocationException. 7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor. 7.2: Add Startup analyzer. 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging Release notes: 8.7: Allow missing default startup in some case. 8.6: Support any awaitable type of async test method. 8.5: Change analyzer category. 8.4: Fix #63: allow modify default service from DI container. 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup. 7.7: Add [MethodData], like [MemberData], support injection. 7.6: Fix #48, each TestRunner should have a different scope. 7.5: Add XunitTestCaseRunnerAdapter, It will be support more XunitTestCase type. 7.4: Always set applicationName, unwarp TargetInvocationException. 7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor. 7.2: Add Startup analyzer. 7.1: Fix can't run test case when host.StartAsync() throw exception. 7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.
4
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 9.8: Allow the default startup to be missing anywhere. 9.7: Fix #133 #134, IHost.StopAsync might not have been invoked. 9.6: Support required property on test class. 9.5: Add support for BuildHostApplicationBuilder, fixing TheoryData of T evaluation. 9.4: Add ITestClassOrderer, Support registration ITestCollectionOrderer and ITestCaseOrderer. 9.3: Support xunit 2.8.0. 9.2: Add BeforeAfterTest. 9.1: Support [FromKeyedService]. 9.0: Upgrade TargetFramework version and reference package version. 8.9: Extends the test framework to execute tests in parallel. 8.8: Added support `BuildHost` method in startup. 8.7: Allow missing default startup in some case. 8.6: Support any awaitable type of async test method. 8.5: Change analyzer category. 8.4: Fix #63: allow modify default service from DI container. 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup.
12
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 9.9: Fix some parallelization problem. 9.8: Allow the default startup to be missing anywhere. 9.7: Fix #133 #134, IHost.StopAsync might not have been invoked. 9.6: Support required property on test class. 9.5: Add support for BuildHostApplicationBuilder, fixing TheoryData of T evaluation. 9.4: Add ITestClassOrderer, Support registration ITestCollectionOrderer and ITestCaseOrderer. 9.3: Support xunit 2.8.0. 9.2: Add BeforeAfterTest. 9.1: Support [FromKeyedService]. 9.0: Upgrade TargetFramework version and reference package version. 8.9: Extends the test framework to execute tests in parallel. 8.8: Added support `BuildHost` method in startup. 8.7: Allow missing default startup in some case. 8.6: Support any awaitable type of async test method. 8.5: Change analyzer category. 8.4: Fix #63: allow modify default service from DI container. 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup.
5
Xunit.DependencyInjection
Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging. Release notes: 9.9: Fix some parallelization problem. 9.8: Allow the default startup to be missing anywhere. 9.7: Fix #133 #134, IHost.StopAsync might not have been invoked. 9.6: Support required property on test class. 9.5: Add support for BuildHostApplicationBuilder, fixing TheoryData of T evaluation. 9.4: Add ITestClassOrderer, Support registration ITestCollectionOrderer and ITestCaseOrderer. 9.3: Support xunit 2.8.0. 9.2: Add BeforeAfterTest. 9.1: Support [FromKeyedService]. 9.0: Upgrade TargetFramework version and reference package version. 8.9: Extends the test framework to execute tests in parallel. 8.8: Added support `BuildHost` method in startup. 8.7: Allow missing default startup in some case. 8.6: Support any awaitable type of async test method. 8.5: Change analyzer category. 8.4: Fix #63: allow modify default service from DI container. 8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support. 8.2: Fix #60: support IAsyncDisposable. 8.1: Startup allow static method or class (like Asp.Net Core startup). 8.0: New feature: Support multiple startup.
250

.NET Standard 2.0

Version Downloads Last updated
11.0.0-preview.6.26359.118 2 07/20/2026
11.0.0-preview.5.26302.115 2 06/13/2026
11.0.0-preview.4.26230.115 3 05/17/2026
11.0.0-preview.3.26207.106 4 04/16/2026
11.0.0-preview.2.26159.112 5 04/16/2026
11.0.0-preview.1.26104.118 5 04/16/2026
10.0.10 1 07/19/2026
10.0.9 2 06/13/2026
10.0.8 23 05/17/2026
10.0.7 5 04/25/2026
10.0.6 5 04/16/2026
10.0.5 38 03/20/2026
10.0.4 5 04/16/2026
10.0.3 6 03/30/2026
10.0.2 4 04/24/2026
10.0.1 4 04/25/2026
10.0.0 4 04/25/2026
10.0.0-rc.2.25502.107 4 04/25/2026
10.0.0-rc.1.25451.107 4 04/25/2026
10.0.0-preview.7.25380.108 4 04/25/2026
10.0.0-preview.6.25358.103 4 04/25/2026
10.0.0-preview.5.25277.114 4 04/25/2026
10.0.0-preview.4.25258.110 4 04/25/2026
10.0.0-preview.3.25171.5 4 04/25/2026
10.0.0-preview.2.25163.2 4 04/25/2026
10.0.0-preview.1.25080.5 4 04/25/2026
9.0.18 1 07/19/2026
9.0.17 3 06/13/2026
9.0.16 3 05/17/2026
9.0.15 5 04/16/2026
9.0.14 5 04/16/2026
9.0.13 5 04/16/2026
9.0.12 4 04/24/2026
9.0.11 5 04/25/2026
9.0.10 4 04/25/2026
9.0.9 4 04/24/2026
9.0.8 4 04/25/2026
9.0.7 4 04/25/2026
9.0.6 4 04/25/2026
9.0.5 4 04/25/2026
9.0.4 4 04/25/2026
9.0.3 4 04/24/2026
9.0.2 4 04/25/2026
9.0.1 4 04/25/2026
9.0.0 17 04/07/2026
9.0.0-rc.2.24473.5 4 04/25/2026
9.0.0-rc.1.24431.7 4 04/25/2026
9.0.0-preview.7.24405.7 4 04/25/2026
9.0.0-preview.6.24327.7 4 04/25/2026
9.0.0-preview.5.24306.7 4 04/25/2026
9.0.0-preview.4.24266.19 4 04/25/2026
9.0.0-preview.3.24172.9 4 04/25/2026
9.0.0-preview.2.24128.5 4 04/25/2026
9.0.0-preview.1.24080.9 4 04/25/2026
8.0.1 37 03/25/2026
8.0.0 4 04/24/2026
8.0.0-rc.2.23479.6 4 04/25/2026
8.0.0-rc.1.23419.4 4 04/25/2026
8.0.0-preview.7.23375.6 4 04/25/2026
8.0.0-preview.6.23329.7 4 04/25/2026
8.0.0-preview.5.23280.8 4 04/25/2026
8.0.0-preview.4.23259.5 4 04/25/2026
8.0.0-preview.3.23174.8 4 04/25/2026
8.0.0-preview.2.23128.3 4 04/25/2026
8.0.0-preview.1.23110.8 4 04/25/2026
7.0.1 4 04/25/2026
7.0.0 4 04/24/2026
7.0.0-rc.2.22472.3 4 04/25/2026
7.0.0-rc.1.22426.10 4 04/25/2026
7.0.0-preview.7.22375.6 4 04/25/2026
7.0.0-preview.6.22324.4 4 04/25/2026
7.0.0-preview.5.22301.12 4 04/25/2026
7.0.0-preview.4.22229.4 4 04/25/2026
7.0.0-preview.3.22175.4 4 04/25/2026
7.0.0-preview.2.22152.2 4 04/25/2026
7.0.0-preview.1.22076.8 4 04/25/2026
6.0.1 4 04/25/2026
6.0.0 4 04/24/2026
6.0.0-rc.2.21480.5 4 04/25/2026
6.0.0-rc.1.21451.13 4 04/25/2026
6.0.0-preview.7.21377.19 4 04/25/2026
6.0.0-preview.6.21352.12 4 04/25/2026
6.0.0-preview.5.21301.5 4 04/25/2026
6.0.0-preview.4.21253.7 4 04/25/2026
6.0.0-preview.3.21201.4 4 04/25/2026
6.0.0-preview.2.21154.6 4 04/25/2026
6.0.0-preview.1.21102.12 4 04/25/2026
5.0.0 4 04/24/2026
5.0.0-rc.2.20475.5 4 04/25/2026
5.0.0-rc.1.20451.14 4 04/25/2026
5.0.0-preview.8.20407.11 4 04/25/2026
5.0.0-preview.7.20364.11 4 04/25/2026
5.0.0-preview.6.20305.6 4 04/25/2026
5.0.0-preview.5.20278.1 4 04/25/2026
5.0.0-preview.4.20251.6 4 04/25/2026
5.0.0-preview.3.20215.2 4 04/25/2026
5.0.0-preview.2.20160.3 4 04/25/2026
5.0.0-preview.1.20120.4 4 04/25/2026
3.1.32 4 04/25/2026
3.1.31 4 04/25/2026
3.1.30 4 04/25/2026
3.1.29 4 04/25/2026
3.1.28 4 04/25/2026
3.1.27 4 04/25/2026
3.1.26 4 04/25/2026
3.1.25 4 04/25/2026
3.1.24 4 04/25/2026
3.1.23 4 04/25/2026
3.1.22 4 04/25/2026
3.1.21 4 04/25/2026
3.1.20 4 04/25/2026
3.1.19 4 04/25/2026
3.1.18 4 04/25/2026
3.1.17 4 04/25/2026
3.1.16 4 04/25/2026
3.1.15 4 04/25/2026
3.1.14 4 04/25/2026
3.1.13 4 04/25/2026
3.1.12 4 04/25/2026
3.1.11 4 04/25/2026
3.1.10 4 04/25/2026
3.1.9 4 04/24/2026
3.1.8 4 04/24/2026
3.1.7 4 04/24/2026
3.1.6 4 04/24/2026
3.1.5 4 04/24/2026
3.1.4 4 04/24/2026
3.1.3 4 04/24/2026
3.1.2 4 04/24/2026
3.1.1 4 04/24/2026
3.1.0 4 04/24/2026
3.1.0-preview3.19553.2 4 04/25/2026
3.1.0-preview2.19525.4 4 04/25/2026
3.1.0-preview1.19506.1 4 04/25/2026
3.0.3 4 04/24/2026
3.0.2 4 04/24/2026
3.0.1 4 04/24/2026
3.0.0 4 04/24/2026
3.0.0-rc1.19456.10 4 04/25/2026
3.0.0-preview9.19423.4 4 04/25/2026
3.0.0-preview8.19405.4 4 04/25/2026
3.0.0-preview7.19362.4 4 04/25/2026
3.0.0-preview6.19304.6 4 04/25/2026
3.0.0-preview5.19227.9 4 04/25/2026
3.0.0-preview4.19216.2 4 04/25/2026
3.0.0-preview3.19153.1 4 04/25/2026
3.0.0-preview.19074.2 4 04/25/2026
3.0.0-preview.18572.1 4 04/25/2026
2.2.0 4 04/24/2026
2.2.0-preview3-35497 4 04/25/2026
2.2.0-preview2-35157 5 04/16/2026
2.2.0-preview1-35029 4 04/25/2026
2.1.1 4 04/24/2026
2.1.0 4 04/25/2026
2.1.0-rc1-final 4 04/25/2026
2.1.0-preview2-final 4 04/25/2026
2.1.0-preview1-final 4 04/25/2026