Build - May 8th
Here is my model
public class ValidationModel
{
public int IntReq { get; set; }
[Required]
public string StrNotReqAndDMIsReq { get; set; }
}
My request
var formUrlEncodedBadObject = "IntReq=1";
object mediaTypeFormatter = "application/x-www-form-urlencoded";
request.Content = new StringContent((string)formUrlEncodedBadObject, System.Text.Encoding.UTF8, (string)mediaTypeFormatter);
When I do a Post, i see
The StrNotReqAndDMIsReq __field__ is required.
On April 25th build, I see
The StrNotReqAndDMIsReq __property__ is required.
Attached fiddler session
Here is my model
public class ValidationModel
{
public int IntReq { get; set; }
[Required]
public string StrNotReqAndDMIsReq { get; set; }
}
My request
var formUrlEncodedBadObject = "IntReq=1";
object mediaTypeFormatter = "application/x-www-form-urlencoded";
request.Content = new StringContent((string)formUrlEncodedBadObject, System.Text.Encoding.UTF8, (string)mediaTypeFormatter);
When I do a Post, i see
The StrNotReqAndDMIsReq __field__ is required.
On April 25th build, I see
The StrNotReqAndDMIsReq __property__ is required.
Attached fiddler session