Introduction to .NET for new F# user?

I’m learning F# and reading various resources/books on the subject, but one thing that frustrates me is the fact that almost every resource assumes that the reader is familiar with .NET and/or C#. I’m coming from a Java/Javascript background and have never used .NET before. I’m slowly picking up pieces of how things work and I’ve managed to write a simple console application, but I feel like I’m missing some fundamental information about working with the .NET environment.

Are there any resources that approach learning F# from the perspective of someone who is new to both the F# language and the .NET environment? If not, are there some good resources which can get a person up-to-speed quickly with .NET? My current approach of learning seems very hit and miss. For me this has been one of the more frustrating aspects of learning F#. In the past, I could just learn a new language and be done, but with F# I have to learn the language and the ecosystem to really make use of it. Don’t get me wrong, I’m really loving F#, but some of the learning curve is frustrating.

Thanks!

3 Likes

It depends on your goals.

If you want to use Fable and stay in JavaScript ecosystem, them 2 F# books from https://www.syncfusion.com/ebooks would be an excellent start.

But if you want to dive deep into .NET ecosystem, then I would recommend reading

  1. Effective C# (Covers C# 6.0), (includes Content Update Program): 50 Specific Ways to Improve Your C# (3rd Edition)
  2. Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C# (2nd Edition)

Although it looks like it is about C#, but these books explain main concepts withing very few pages.

Did you have a look at “F# for fun and profit”, available at https://fsharpforfunandprofit.com/? I found this web site very helpful for getting started with F#. Their “Getting started” is making few references to .NET.