Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Nov 5, 2018

Removes the need for app.UseEndpoint(). If an endpoint is matched in UseEndpointRouting then reaching the end of the pipeline will automatically execute it.

public void Configure(IApplicationBuilder app)
{
    app.UseEndpointRouting();

    app.UseStaticFiles();

    // Imagine some more stuff here...

    app.UseEndpoint();
}

Copy link
Contributor

@khellang khellang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@JamesNK JamesNK force-pushed the jamesnk/implicit-endpoint-execution branch from ed09ae1 to 3bc1fc8 Compare November 6, 2018 23:28
@JamesNK JamesNK merged commit 066c5ce into master Nov 6, 2018
@JamesNK JamesNK deleted the jamesnk/implicit-endpoint-execution branch November 7, 2018 22:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants