Skip to content

WebApplicationExtensions

Namespace: MJCZone.DapperMatic.AspNetCore

Assembly: MJCZone.DapperMatic.AspNetCore

Summary

Extension methods for configuring DapperMatic minimal API endpoints.

static public

Contents

Methods (6)

Methods

MethodSummary
UseDapperMaticConfigures DapperMatic middleware and maps API endpoints.
MapDapperMaticEndpointsMaps DapperMatic API endpoints to the specified route builder.
GetType
ToString
Equals
GetHashCode

UseDapperMatic

Configures DapperMatic middleware and maps API endpoints.

csharp
IApplicationBuilder UseDapperMatic(
    IApplicationBuilder app,
    IApplicationBuilder} configureMiddleware)

Parameters

  • app (IApplicationBuilder) - The application builder.
  • configureMiddleware (IApplicationBuilder}) - Optional action to configure custom middleware.

Returns

Type: IApplicationBuilder

The application builder for method chaining.

MapDapperMaticEndpoints

Maps DapperMatic API endpoints to the specified route builder.

csharp
IEndpointRouteBuilder MapDapperMaticEndpoints(IEndpointRouteBuilder app)

Parameters

  • app (IEndpointRouteBuilder) - The route builder.

Returns

Type: IEndpointRouteBuilder

The route builder for method chaining.

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()