Show / Hide Table of Contents

Class Startup

Inheritance
System.Object
Startup
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class Startup : object

Constructors

View Source

Startup(IConfiguration, IWebHostEnvironment)

Declaration
public Startup(IConfiguration configuration, IWebHostEnvironment env)
Parameters
Type Name Description
IConfiguration configuration
IWebHostEnvironment env

Methods

View Source

Configure(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.

View Source

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.

  • View Source
In This Article
Back to top Generated by DocFX