0
comment
on 3/11/2018 10:51 PM

WebSharper 4.2.4 is now available on NuGet, and as a vsix installer on the WebSharper website.

It contains new client-side support for F# query computation expressions and fixes to C# analyzer, using templates in Visual Studio 2017.6, and cleaned builds when targeting .NET 4.6.1+.

Documentation: WebSharper 4.x for C# and WebSharper 4.x for F#.

The release notes are also found on GitHub.

Improvements

  • You can now use query expressions in client-side F# code.
1
2
3
4
5
6
7
    [<JavaScript>]
    let countOddAndEven numbers =
        query {
            for x in numbers do
            groupBy (x % 2) into g
            select (g.Key, g.Count())
        }

Fixes

  • Libraries created with Interface Generator targeting .NET 4.x are no longer referencing netstandard.dll.
  • A full stack of WebSharper extensions has been released with this fix, so any latest WebSharper binaries targeting .NET 4.6.1 are no longer depending on anything targeting .NET Standard.
  • Fixed C# analyzers for WebSharper errors and UI template code generation running immediately on template changes in Visual Studio 2017 (Update 5 or 6 needed).

    Roslyn Analyzer in Visual Studio

  • F# templates for Visual Studio now use FSharp.Core from NuGet, and runs out of the box for Visual Studio 2017 Update 6.
.
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