hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

Windows Azure: Partially trusted callers

Last post 02-10-2009, 16:22 by LukeH. 3 replies.
Sort Posts: Previous Next
  •  02-06-2009, 13:28 8903

    Windows Azure: Partially trusted callers

    Hi,

    I am trying to run a HttpHandler written in F# with Windows Azure. It works fine with the ASP.NET development server but i can't get it to work with Azure's medium trust level. Has anyone managed to run F# code in a medium trust level environment?

  •  02-07-2009, 0:39 8906 in reply to 8903

    Re: Windows Azure: Partially trusted callers

    This might be what you're looking for:

    http://cs.hubfs.net/forums/permalink/7649/7644/ShowThread.aspx#7644

    Regards,
    Johan Kullbom
    http://blog.hoomla.se
  •  02-07-2009, 3:39 8907 in reply to 8906

    Re: Windows Azure: Partially trusted callers

    Hi Johan,

    Thanks for the link. I have tried your workaround but after statically linking FSharp.Core and adding 22 references i gave up because the project still did not compile and the compilation time kept increasing. I am beginning to wonder if Azure's current medium trust limitation is worth the trouble. Having full access to the OS like in Amazon's EC2 instances is much nicer.
  •  02-10-2009, 16:22 8950 in reply to 8907

    Re: Windows Azure: Partially trusted callers

    Felix -

    Not sure if you ended up getting this working,but if not, I put some F# Windows Azure templates up at http://code.msdn.microsoft.com/fsharpazure. These use the --staticlink workaround, and have the full set of dependent references available. As you point out, the compile time is noticably longer with this solution though.

    Thanks,
    Luke
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems