core
core copied to clipboard
WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
This works as intended, and a `?h=` hash is created for the `.js` link so that changing versions are not cached by the browser: ```fsharp type MyResource() = inherit Resources.BaseResource("test.js")...
In `Html` project mode, `context.Link()` adds a .html suffix to URLs, so that the link points directly to a generated file. However some hosts (like GitHub pages) can also serve...
Add an `RPCSerializable` interface with a single `GetSerializer` method that is checked when RPC results are serialized on the server. This would allow sending back custom types, for which the...
For example `WebSharper.UI.Doc` type is supported very similarly in client and server, it is not set up for remoting. There should be a compile-time error about this.
Preferably using `momentjs`, implement date formatting: `.ToString("format")`. This would make it work inside string interpolation too, which is already redirected to `ToString` by the compiler
If `Context.ApplicationPath` is not `"/"`, Sitelets runtime could add a `` tag to `head`. Client-side routing would read this once when initializing it, and automatically skip base path when parsing...
This would be useful especially for interacting with back-ends like Owin and Suave. - Avoidable uses of `System.Web`: | File | Is public API | Class | Possible replacement |...
- Name prototype functions - Name local functions - In debug mode, break inner sequential expressions - Use if-then-else for 2-case `match` expressions - Break too big conditional expressions -...
Moving here from http://forums.websharper.com/topic/86318 > As we discussed in https://forums.websharper.com/topic/86294#86298#86298 topic, there is a problem with standard dotnet localization. > I've been used localizable resources and in WebSharper 3.6 the...
These are the 3 numeric types that are proxied outside of `WebSharper.Main`: by `WebSharper.MathJS` which is in a separate nuget package. Compiler could give error telling to include that package...