K
K
kirillcka_markoff2020-02-19 03:29:16
ASP.NET
kirillcka_markoff, 2020-02-19 03:29:16

How to create a route with get parameters C# .net core web-api?

Good day.
I can't find anywhere information about how to create a route like /api/[controller]?param1=value. Maybe someone faced this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-02-19
@kirillcka_markoff

https://docs.microsoft.com/en-us/aspnet/web-api/ov...
FromQueryAttribute
https://docs.microsoft.com/en-us/aspnet/core/mvc/m...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question