accessing websites using embedded mono
I have embedded mono into my app (evolution-mono-providers) where I was trying to authenticate to google calendar. Though I had the certificates imported using mozroots, access to website failed. But then I was able to authenticate through a standalone mono program.
After some debugging with ankit, posted the query on the mono-devel mailing list. Robert’s quick response helped me solve the issue
Calling mono_jit_exec with the assembly compiled as an executable fixes the issue. So one has to call mono_jit_exec for certain defaults to be set correctly in the embedded environment.
Here is the mail thread http://go-mono.com/forums/#nabble-to22617142|a22666273 .
Thanks a lot, ankit and Robert!