A collection of samples for WebSharper
This is a collection of samples I've put together while learning WebSharper.
Notice it might not be production ready, but hopefully it can help you to solve a few problems I've faced.
A lot of examples in this project were found on Try WebSharper page and some blogs (I can't remember all of them but Kimserey's blog was one of them). Also, thanks to WebSharper team for answering some questions.
Refer to Help page (left menu) for documentation.
The tab widget is not working properly for non client routing. Work in progress.
The datepicker widget doesn't support internationalization properly (date format input by user).
- I'm using an extension for FileDrop.js in this project, which doesn't have a Nuget Package yet. I'm providing the assembly for it, but you can find the source code at its repository.
- LoB stands for Line of Business and the samples are frequent widgets we find on this sort of application.
If you face the following error message after loading the solution on Visual Studio, repairing Nuget packages, restarting VS and rebuilding the solution fix it for me:
Failed to find WebSharper Sitelet definition. Add one in a WebSharper-translated assembly or do not load WebSharper.Sitelets.HttpModule
Also, if you update WebSharper packages, you might need to download the WebSharper.FileDrop.js project (see above), update its packages and add the reference to it.