Followup:
I'm now using a C# web application without code-behind files where the aspx-pages "Inherits" from types defined in a referrenced F#-assembly.
The referrenced F#-assembly is compiled using "--staticlink FSharp.Core" (under "Project Properties" -> "Build" -> "Other flags").
I had to manually add references to quite a few framework assemblies (including "Microsoft.VisualC" ??) but once done my site runs fine.
The site is now plain F# and hosted in a (shared and cheap) Medium Trust environment.
I am not able to use any inline F# on the pages - will have to use C# for that - but since I never liked that anyway that is not a problem...
(So far) I much prefer this sollution to using C# in code-behind ...
Regards,
Johan Kullbom
Johan Kullbom
http://blog.hoomla.se