You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
+1. This is a must have on the documentation. I'm struggling trying to send additional parameters using "data" inside ajax, but on C# controller my AdditionalParameters is always null.
Check out this sample project wich enables both request and response additional parameters.
I'll improve this behavior for vnext. For now, you must enable additional parameters parsing on the options element and provide a model binder with the correct parsing function. That way your request will get populated with your additional parameters.
After enabling response additional parameters, simply use the overloaded CreateResponse method with the parameters (dictionary) to return and they will be available on the final json, along with other elements.
Hello,
can you please give an exampel for using additional parameter?
I've read #41, #20 and #19 but i have no idea...
Greetings from Berlin
Marko
The text was updated successfully, but these errors were encountered: