Skip to content

Method ConfigureWebApplication ​

Namespace: Belay.Extensions.Examples
Assembly: Belay.Extensions.dll

ConfigureWebApplication(IServiceCollection, IConfiguration) ​

Example of setting up Belay.NET with ASP.NET Core. Note: Requires Microsoft.Extensions.Hosting and Microsoft.AspNetCore.App packages.

csharp
public static void ConfigureWebApplication(IServiceCollection services, IConfiguration configuration)

Parameters ​

services IServiceCollection

The service collection from your ASP.NET Core application.

configuration IConfiguration

The configuration from your ASP.NET Core application.

Released under the Apache License 2.0.