This question is because in my MVC project with ASP.NET CORE 2.0, I can not add the [FromUri] attribute
to my drivers.
I tried using libraries like System.Web.Http
, but I did not recognize them. Then install these from Nuget Microsoft.AspNet.WebApi.Core
"and" System.AppDomain.NetCoreApp
, which resulted in being able to use System.Web.Http
but due to ambiguity problems I was not allowed to use it, but if I found that [FromUri]
existed.
The main question is whether in ASP.NET core 2.0 MVC or WebApi exists [FromUri]
?
if it exists, how to use it?