I can't get the routing by api version to work (web api, old style asp startup class) #1107
ofirgeller
started this conversation in
General
Replies: 3 comments 2 replies
-
Spent hrs trying to solve similar issue. I used the old deprecated version and that sorted the issue. No expert but must be the new version. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@ofirgeller Much apologies! I'm just seeing this discussion and realized I've never replied. 😞 No donut for me. The 2 most common scenarios that can produce this are:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
See link below.
<https://github.com/bh4ks/Towns>
[Towns.png]
bh4ks/Towns<https://github.com/bh4ks/Towns>
github.com<https://github.com/bh4ks/Towns>
If you used v1 or v2 on url it replicates error.
On 9 Oct 2024, at 23:05, Chris Martinez ***@***.***> wrote:
Do you have an example or repro of a controller that produces this error?
—
Reply to this email directly, view it on GitHub<#1107 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AECPHIDND4R5URPR37RDITTZ2WSDVAVCNFSM6AAAAABNNZVD5CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBZG42TMMA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following the basic web api example but getting an AmbiguousMatchException when making a request.
Since the example is for the new top level asp setup and I have the older startup + program file setup I had to adapt a bit,
inside ConfigureServices.
any ideas on what I might be doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions