4
Answers

Is query string param & Action method param case-sensitive?

In WebApi, if action method parameter 'id' is lowercase, ex.
 
public Student Get(int id)
{
}
 
Will it match to upper case 'ID' in query string below?
http://localhost/api/student?ID=1
Answers (4)