0
ajayak created
I understand that the API is dynamically generated in AspNetZero solution. But can I set HttpPost attribute on any function? Also, I see that the Application project has no reference to AspNetCore.Mvc dll.
1 Answer(s)
-
0
You can add Microsoft.AspNetCore.Mvc.Core safely. Application project doesn't require that unless you want to configure web-specific attributes.
See: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2505#issuecomment-329506225.