I’m trying to use Backendless API on a C# .net 4.5 application, but there is no way to make it work, since I get
“An unhandled exception of type ‘System.StackOverflowException’
occurred in weborb.dll.”
Code is simple, but doesn’t work. The Java sample with Java Backendless Api worked normally.
Please any help?
public static void init()
{
Backendless.InitApp(APP_ID, SECRET_KEY, VERSION);
}
public static void RegisterUser()
{
BackendlessUser user = new BackendlessUser();
string error;
user.SetProperty("ID", "id");
user.SetProperty("password","12");
try
{
Backendless.UserService.Register(user); //StackOverflow error here
}
catch (BackendlessException exception)
{
error = exception.FaultCode;
}
}