Class Startup
Inherited Members
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class Startup
Constructors
View SourceStartup(IConfiguration, IWebHostEnvironment)
Declaration
public Startup(IConfiguration configuration, IWebHostEnvironment env)
Parameters
| Type | Name | Description |
|---|---|---|
| IConfiguration | configuration | |
| IWebHostEnvironment | env |
Methods
View SourceConfigure(IApplicationBuilder)
This method gets called by the runtime. Use this method to configure the HTTP request pipeline. This is called after ConfigureServices().
Declaration
public void Configure(IApplicationBuilder app)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplicationBuilder | app | Application builder interface. |
ConfigureServices(IServiceCollection)
This method gets called by the runtime. Use this method to add services to the container.
Declaration
public void ConfigureServices(IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | Service collection interface. |