Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MigrationsEndPointExtensions.UseMigrationsEndPoint Method

Definition

Namespace:
Microsoft.AspNetCore.Builder
Assembly:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.dll
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v10.0.0
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v3.0.3
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v3.1.18
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v5.0.9
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v6.0.6
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v7.0.5
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v8.0.19
Package:
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore v9.0.8

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
UseMigrationsEndPoint(IApplicationBuilder)

Processes requests to execute migrations operations. The middleware will listen for requests made to DefaultPath.

UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions)

Processes requests to execute migrations operations. The middleware will listen for requests to the path configured in options.

UseMigrationsEndPoint(IApplicationBuilder)

Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs

Processes requests to execute migrations operations. The middleware will listen for requests made to DefaultPath.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMigrationsEndPoint(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMigrationsEndPoint(this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseMigrationsEndPoint : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMigrationsEndPoint (app As IApplicationBuilder) As IApplicationBuilder

Parameters

app
IApplicationBuilder

The IApplicationBuilder to register the middleware with.

Returns

The same IApplicationBuilder instance so that multiple calls can be chained.

Applies to

UseMigrationsEndPoint(IApplicationBuilder, MigrationsEndPointOptions)

Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs
Source:
MigrationsEndPointExtensions.cs

Processes requests to execute migrations operations. The middleware will listen for requests to the path configured in options.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMigrationsEndPoint(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::MigrationsEndPointOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMigrationsEndPoint(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.MigrationsEndPointOptions options);
static member UseMigrationsEndPoint : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.MigrationsEndPointOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMigrationsEndPoint (app As IApplicationBuilder, options As MigrationsEndPointOptions) As IApplicationBuilder

Parameters

app
IApplicationBuilder

The IApplicationBuilder to register the middleware with.

options
MigrationsEndPointOptions

An action to set the options for the middleware.

Returns

The same IApplicationBuilder instance so that multiple calls can be chained.

Applies to


Feedback

Was this page helpful?