Get Programming with F#: A Guide for .NET Developers

  • 8h 32m
  • Isaac Abraham
  • Manning Publications
  • 2018

Summary

Get Programming with F#: A guide for .NET Developers shows you how to upgrade your .NET development skills by adding a touch of functional programming in F#. In just 43 bite-sized chunks, you'll learn how to use F# to tackle the most common .NET programming tasks. Examples use the familiar Visual Studio environment, so you'll be instantly comfortable. Packed with enlightening examples, real-world use cases, and plenty of easy-to-digest code, this easy-to-follow tutorial will make you wonder why you didn't pick up F# years ago! Forewords by Dustin Campbell of Microsoft and Tomas Petricek of fsharpWorks.

About the Technology

Your .NET applications need to be good for the long haul. F#'s unique blend of functional and imperative programming is perfect for writing code that performs flawlessly now and keeps running as your needs grow and change. It takes a little practice to master F#'s functional-first style, so you may as well get programming!

About the Book

Get Programming with F#: A guide for .NET developers teaches F# through 43 example-based lessons with built-in exercises so you can learn the only way that really works: by practicing. The book upgrades your .NET skills with a touch of functional programming in F#. You'll pick up core FP principles and learn techniques for iron-clad reliability and crystal clarity. You'll discover productivity techniques for coding F# in Visual Studio, functional design, and integrating functional and OO code.

What's Inside

  • Learn how to write bug-free programs
  • Turn tedious common tasks into quick and easy ones
  • Use minimal code to work with JSON, CSV, XML, and HTML data
  • Integrate F# with your existing C# and VB.NET applications
  • Create web-enabled applications

About the Reader

Written for intermediate C# and Visual Basic .NET developers. No experience with F# is assumed.

About the Author

Isaac Abraham is an experienced .NET developer and trainer. He's an F# MVP for his contributions to the .NET community.

In this Book

  • Foreword
  • About This Book
  • Welcome to Get Programming with F#!
  • The Visual Studio Experience
  • Creating Your First F# Program
  • The REPL—Changing How We Develop
  • Saying a Little, Doing a Lot
  • Trusting the Compiler
  • Working with Immutable Data
  • Expressions and Statements
  • Capstone 1
  • Shaping Data with Tuples
  • Shaping Data with Records
  • Building Composable Functions
  • Organizing Code without Classes
  • Achieving Code Reuse in F#
  • Capstone 2
  • Working with Collections in F#
  • Useful Collection Functions
  • Maps, Dictionaries, and Sets
  • Folding Your Way to Success
  • Capstone 3
  • Program Flow in F#
  • Modeling Relationships in F#
  • Fixing the Billion-Dollar Mistake
  • Business Rules as Code
  • Capstone 4
  • Consuming C# from F#
  • Working with NuGet Packages
  • Exposing F# Types and Functions to C#
  • Architecting Hybrid Language Applications
  • Capstone 5
  • Introducing Type Providers
  • Building Schemas from Live Data
  • Working with SQL
  • Creating Type Provider-Backed APIs
  • Using Type Providers in the Real World
  • Capstone 6
  • Asynchronous Workflows
  • Exposing Data over HTTP
  • Consuming HTTP Data
  • Capstone 7
  • Unit Testing in F#
  • Property-Based Testing in F#
  • Web Testing
  • Capstone 8
  • Basic F# Syntax, Types, and Functions
  • Discriminated Unions, Pattern Matching, and Lists
SHOW MORE
FREE ACCESS