I\'m making an ajax post to a webmethod EmailFormRequestHandler
, I can see on the client side (through firebug) that status of the request is 200 but it\'s not hit
May be this code helps someone:
public Dictionary JsonToDictionary(dynamic request)
{
JObject x = JObject.FromObject(request);
Dictionary result = new Dictionary();
foreach (JProperty prop in (JContainer)x)
{
result.Add(prop.Name, prop.Value);
}
return result;
}
I use it while debuging when frontend comes first.