WebSharper 4.1.6 is now available on NuGet, and as a vsix installer on the WebSharper website.
It contains performance enhancements to the Bundle project type, as well as a new BundleOnly project type for when only .js
/.css
output are needed for a project and a .dll
is not. Also serialization support for DateTimeOffset
.
Documentation: WebSharper 4.1 for C# and WebSharper 4.1 for F#.
The release notes are also found on GitHub.
<WebSharperDeadCodeElimination>False</WebSharperDeadCodeElimination>
) then bundling will just concatenate already compiled JavaScript output for referenced assemblies instead of rewriting to a single scope, resulting in faster compilation speed.<WebSharperProject>BundleOnly</WebSharperProject>
to have only the .js
/.css
/.html
output for bundle projects. In the case of F#, this means that only a dummy .dll
is created. For C#, the .dll
is just not touched, it will contain no WebSharper-specific resources. This allows faster iterative development on bundle projects. Do not use BundleOnly
if any other projects are referencing the current project. Most time is gained if that project itself (and not just references) contain large amount of code.DateTimeOffset
members now usable client-side. Both RPCs and custom JSON serialization are supporting DateTimeOffset
values, in a way that is also cross-compatible with serialized DateTime
values.let
now translates successfully. For example: let a, b = 1, 2
Sitelet.InferWithCustomErrors
and Router.InferWithCustomErrors
work as intended (previously was throwing a null exception).Can’t find what you were looking for? Drop us a line.