Indeed there is another control type for server-side content: WebSharper.Html.Server.Web.Control.

1
2
3
4
5
6
7
8
open WebSharper
open WebSharper.Html.Server

type HelloWorldControl() =
    inherit Web.Control()
    
    override this.Element =
        Div [Text "Hello world!"]
By on 8/1/2015 11:10 AM ()

Thank you! It is documented anywhere in the documentation? I LOVE WebSharper but its documentation could be better... A PluralSight course would be good!

By on 8/1/2015 1:28 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper