Skip to content

WebApplicationFactory

NexusLabs.Needlr.AspNet

WebApplicationFactory Class

Default implementation of IWebApplicationFactory that creates and configures ASP.NET Core web applications. Handles service registration, plugin execution, and the complete application build lifecycle.

public sealed class WebApplicationFactory : NexusLabs.Needlr.AspNet.IWebApplicationFactory

Inheritance System.Object 🡒 WebApplicationFactory

Implements IWebApplicationFactory

Constructors

WebApplicationFactory(IServiceProviderBuilder, IServiceCollectionPopulator, IPluginFactory) Constructor

Default implementation of IWebApplicationFactory that creates and configures ASP.NET Core web applications. Handles service registration, plugin execution, and the complete application build lifecycle.

public WebApplicationFactory(NexusLabs.Needlr.Injection.IServiceProviderBuilder _serviceProviderBuilder, NexusLabs.Needlr.Injection.IServiceCollectionPopulator _serviceCollectionPopulator, NexusLabs.Needlr.IPluginFactory _pluginFactory);

Parameters

_serviceProviderBuilder NexusLabs.Needlr.Injection.IServiceProviderBuilder

_serviceCollectionPopulator NexusLabs.Needlr.Injection.IServiceCollectionPopulator

_pluginFactory NexusLabs.Needlr.IPluginFactory