core
core copied to clipboard
WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
Currently for calling `Remote` functions, WebSharper uses an older protocol: sending arguments by just calling `JSON.stringify`, and handling return values with a `JSON.parse` followed by some custom activation (the server...
It would be really good to have a typed way to deserialize arbitrarily-shaped JSON. Here are options to consider: 1. The first possibility that comes to mind would be to...
As for now following remote method gives WriteException on sending response. ``` [Remote] public static Task GetNaN() { return Task.FromResult(float.NaN); } ``` ``` [WriteException: Выдано исключение типа "WebSharper.Core.Json+WriteException".] WebSharper.Core.Json.wN@284(TextWriter writer,...
This little example throws: [] module test = type Type = Type with static member inline Member x = x member inline this.Member x = x with exception: System.ArgumentException: An...
I think the following code is correct in F#, but WebSharper can't compile it. ```fsharp [] module HelloWorld = type MyType 'A)>() = let a = new 'A() //Method name...
It should be referenced for net461 framework, and obviously not for netstandard2.0.
The links in the README to the Windows and Mono instructions lead to that one for 3.x. The [MonoDevelop Plugin](https://github.com/dotnet-websharper/monodevelop-websharper) which is linked on the downloads page is untouched for...
And its hard to undestand how websharper decodes/encodes json data. For example These data ``` { "user": "sdf", "pass": "zxczxc" } ``` are recognized correctly to object of this type:...
Sitelets encapsulate routing and serving content. Both has possible ways to improve upon, needs to be investigated and profiled. 1) Standard WebSharper resource folders (Content/Scripts) and possibly other custom folders...
For example `client ` fails with `argument #1 is not a literal or local variable`. Workaround is to add a `let myLocalValue = myServerSideModuleValue` in the same scope. and use...