Skip to content

[fix] : Base path route net 6 #1184

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

Closed
wants to merge 1 commit into from

Conversation

UdhayarajanJ
Copy link

Actually base path route mapped successfully but swagger we try access not found resource. I just add bit of code here.

Actually base path route mapped successfully but swagger we try access not found resource. I just add bit of code here.
@jshergal
Copy link
Collaborator

You have downgraded the .NET target for this PR and so we cannot accept it. Also, in doing some reading through ASP.NET Core documentation and issues, there is a specific issue related to .NET 6.0 which necessitated a call to UseRouting(), and I believe that is ultimately what led to your issue. The issue was resolved in .NET 7.0. Could you please try running the example code in .NET 7.0 and see if this resolves the issue?

@CodeMazeBlog
Copy link
Owner

The fix was added, it maps the route correctly now.

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.

3 participants