If I have a resource handler method receiving an object list as parameter (int list, string list or any object type list), i.e.:
public class TasksCollecionHandler
{
public TaskCollection GetTasksByEngineer(List<int> engineerIds)
{
....
}
public TaskCollecion GetTasksByEngineer(List<Engineer> engineers)
{
....
}
}
- Is OpenRasta supporting this kind of arguments?
- How the HTTP request including values for kind of arguments should look like?
Depends on the codec. Using json or xml data contracts it'd be whatever format the datacontract mapping follows.
If you use forms and html, the format would be