Skip to content

Instantly share code, notes, and snippets.

@draptik
Last active January 1, 2021 03:12
Show Gist options
  • Save draptik/d43645f66a6a60d64ec5a726a91732ee to your computer and use it in GitHub Desktop.
Save draptik/d43645f66a6a60d64ec5a726a91732ee to your computer and use it in GitHub Desktop.
Problems with F# SAFE linux 2020

Problems with SAFE Demos

I'm having trouble using the provided documentation/demos.

Main problems:

  • linux: demos are often windows-centric
  • since I'm using linux, I can't use .NET-Framework4.x... -> dotnet core (dotnet core 5)
  • FAKE and Paket have evolved, but most of the examples provided on https://safe-stack.github.io/docs/learning/ will not compile under linux
    • NOTE: while learning SAFE, I don't want to spend my time also learning a new build system (FAKE) and a new package manager (Paket)... So, if SAFE uses FAKE and Paket, it should work out-of-the-box (IMHO).

Scenarios

All scenarios must work with linux and dotnetcore!

It would be nice to have "Best Practices" examples.

Here are some potential "Hello World" use cases:

Scenario 1: Todo Web-App with persistence MS-SQL

  • Primary goal: Local development using a docker container mssql under linux
  • Secondary goal: howto setup cloud & deploy
  • similar scenario: Interop with existing ef-core5 C# DLL.

Scenario 2: Todo Web-App with persistence PostgreSQL

  • Primary goal: Local development using a docker container postgres under linux
  • Secondary goal: howto setup cloud & deploy

Scenario 3: Todo Web-App with OAuth2 using GitHub

  • Primary goal: simple example: I can register localhost with github, and I can login when logged in to github
  • Secondary goal: howto automate without credentials in source control?

Who is going to do it?

I'd love to write the missing documentation and examples, but I don't know how to solve the problems.

Anybody interested in some pair/mob programming?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment