Header menu logo FSharp.AspNetCore.WebAppBuilder

Priority1 Module

Contains priority 1 overloads for the WebAppBuilder computation expression.

Type extensions

Type extension Description

services configureServices

Full Usage: services configureServices

Parameters:
    configureServices : IServiceCollection -> 'a - The function to apply to the web application builder's service collection.

Returns: WebApplicationBuilder

Applies the given action to the WebApplicationBuilder.Services property of the WebApplicationBuilder being used to build the app.

Extended Type: WebAppBuilder

configureServices : IServiceCollection -> 'a

The function to apply to the web application builder's service collection.

Returns: WebApplicationBuilder
Example

 let app =
     webApp {
         services (fun services ->
             services.AddEndpointsApiExplorer ()
             services.AddSwaggerGen ()
             services.AddControllers ())
     }
val app: obj

Type something to start searching.