ConventionBasedStartup Class

Namespace
Microsoft.AspNetCore.Hosting
Assemblies
  • Microsoft.AspNetCore.Hosting

Syntax

public class ConventionBasedStartup : IStartup
class Microsoft.AspNetCore.Hosting.ConventionBasedStartup

Constructors

ConventionBasedStartup(Microsoft.AspNetCore.Hosting.Internal.StartupMethods)
public ConventionBasedStartup(StartupMethods methods)

Methods

Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder)
public void Configure(IApplicationBuilder app)
ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection)
Return type:System.IServiceProvider
public IServiceProvider ConfigureServices(IServiceCollection services)