UseForFeatureExtensions.UseForFeature Method
Definition
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.
Conditionally creates a branch in the request pipeline that is rejoined to the main pipeline.
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForFeature (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string featureName, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configuration);
static member UseForFeature : Microsoft.AspNetCore.Builder.IApplicationBuilder * string * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseForFeature (app As IApplicationBuilder, featureName As String, configuration As Action(Of IApplicationBuilder)) As IApplicationBuilder
Parameters
- featureName
- String
The feature that is required to be enabled to take use this application branch
- configuration
- Action<IApplicationBuilder>
Configures a branch to take
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET