Categories: Azure, F# Posted by mheydt on 3/26/2009 10:17 PM | Comments (1)
I pushed my first set of F# code to Azure today.  Upon first run, I got an error that FSharp.Core could not be found.  I was pretty sure it was in the package that was deployed, so I set about a bit investigation.  The most appropriate link I found was the following:

http://code.msdn.microsoft.com/fsharpazure

Basically, you can run F# code in azure, but because F# libraries are stored locally in the GAC (and hence referenced in the GAC), and that since in Azure the the GAC F# assemblies to not allow partial trust the F# libraries are not found by default?

The solution?  It's in that article to a point.  My F# code was not an actual worker_role piece of code, so that template did not assist me.  My worker was a C# worker that was attempting to call an F# library.  Since I had the code, I put the --standalone value in the other flags section of the project properties (see the picture), recompiled, linked the new dll into the C# app, deployed it, and it ran fine!


Categories: Azure, Silverlight Posted by mheydt on 3/22/2009 1:27 PM | Comments (0)
Yesterday I was deploying a Silverlight application into the local azure fabric and was getting this error 2103 when the app started stating that I had an invalid xap.  After a bunch of searches that didn't get me the answer I needed, I found this post:

http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/722cd6ab-3c6a-40db-913c-e406c7596289/

Basically, I was on Windows 7 build 7057 x64, and did not have the static content option enabled when IIS installed.  I turned that on and things all started to work just fine.

Categories: Silverlight Posted by mheydt on 3/18/2009 3:41 PM | Comments (0)
I felt this was worth showing.  This is a screen shot of live streaming from mix09, along with a live twitter stream on #mix09, all in Silverlight in Flock on my Mac...  Arguments for Silverlight closed!