[OpenID] JanRain .NET project; Vis Studio 2005 non IIS webserver; MSFT .NET Framework 2.0

Peter Williams pwilliams at rapattoni.com
Sun Aug 5 05:09:37 UTC 2007


Well, after much fiddling and eliminating bits of code that seemed fine - but actually cause logic errors or exceptions - we managed to finally get the JanRain c# consumer/server and compiled core library to run on MSFT's .NET 2.0 vm, where the .aspx classes were hosted in the IDE's (low security) internal web server.  The project simply loads the JanRain (boo-compiled) library as given, and references/loads the Mono.Security dll 1.1. (Mono.Security 2.0 breaks things.) At least one trial will now succeed, end end. 

This seemed awfully hard to port well; and I don't know why all the behavior is the way it is. If anyone can explain to me privately why the behaviors are so weird, Id be grateful. For example, exceptions seem to fly in such as the aspx framework's page closure, socket closure, and garbage collection - but only when one executes using the debug monitor . The security model of the web server container supplying the http endpoint seems to be different too, leading to logic errors when referencing thread principals etc; debug or non debug.

If someone has an alternative simple port for a pure MSFT platforms, Id like to compare ports src.

Thanks to Subramani in Bangalore for having more programming patience than me, at the right moment.

Peter.




More information about the general mailing list