Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable ASPNET Core Endpoint routing #3301

Merged
merged 7 commits into from
Jan 18, 2024

Conversation

arunmk-ms
Copy link
Contributor

@arunmk-ms arunmk-ms commented Jan 11, 2024

Description

This PR updates the files to use Aspnetcore Endpoint Routing instead of MVC. Endpoint routing is needed to add HttpLoggingMiddleware to get request logs in Otel migration work.

Registration is updated following the migration guide

Fetching routeContext for the bundle was using mvc router which is not provided in the endpoint routing framework. So adding the method to build routeContext for the bundle requests.

Related issues

Addresses issue #113900.

Testing

Existing tests continue to pass.

@arunmk-ms arunmk-ms changed the title Endpoint routing changes Enable ASPNET Core Endpoint routing Jan 17, 2024
@arunmk-ms arunmk-ms marked this pull request as ready for review January 17, 2024 00:15
@arunmk-ms arunmk-ms requested a review from a team as a code owner January 17, 2024 00:15
@arunmk-ms arunmk-ms requested a review from wsugarman January 17, 2024 21:57
@arunmk-ms arunmk-ms requested a review from wsugarman January 18, 2024 04:03
@arunmk-ms arunmk-ms merged commit a2871d5 into main Jan 18, 2024
15 checks passed
@arunmk-ms arunmk-ms deleted the personal/amohankumar/endpoint-routing branch January 18, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants