Returning Json instead of XML with Umbraco Base
I have a .NET method that adds a new member to my DB. It does this through an AJAX request. I have this working correctly, however I am having problems returning the correct response message so I can print the correct messages to the user. My method at the moment looks like this: public static string MemberRegister(int process) { //here we find form values posted to the current page HttpRequest post = HttpContext.Current.Request; //get values from ajax URL var name = post["name"]; var email = post["email"]; var username = post["username"]; var password = post["password"]; //check if email