#FSharp

35 writings

F# 8: Unwrapping New Features and Nostalgic Connections

F# 8 introduces game-changing features that streamline functional programming syntax, particularly the removal of `fun` in lambdas and improved nested record handling. Discover how these updates modernize the language while echoing patterns from F#'s past libraries.

4 min read 773 words

Breath of Fresh Air with Solid JS and Fable.Solid

This post explores the evolution of web frameworks from jQuery to React, and introduces SolidJS as a modern alternative with fine-grained reactivity and atomic state management. Learn how Fable.Solid brings F# capabilities to the SolidJS ecosystem, offering developers a fresh approach to building performant web applications.

10 min read 1,866 words

Plotly, F# and Response of India to Covid Crisis

This F# Advent 2021 post demonstrates building interactive COVID-19 data visualizations using Plotly.NET in Jupyter notebooks. Using FSharp.Data and real Indian COVID tracking data, you'll learn to create professional cross-platform dashboards with Plotly Dash.

4 min read 616 words

Differentiating Web Assembly with F#

This F# Advent article examines how F# stands out in WebAssembly and web development compared to JavaScript. It covers major F# transpilation tools like WebSharper, FunScript, and Fable, helping developers choose the best option for error-free front-end development.

8 min read 1,430 words

F# on Jupyter

This guide covers setting up F# with Jupyter notebooks, challenging the narrative that F# is only for data science. Discover how Jupyter support enables F# to shine as a versatile general-purpose language with practical installation steps and setup instructions.

3 min read 546 words

Shades of F#

This thoughtful post examines F# from multiple angles, contrasting functional programming style with imperative approaches. The author shares personal experiences, recommended learning resources, and insights on how to approach F# development based on your programming background.

6 min read 1,177 words

Functional Programming Adventures in 2019

A retrospective on Functional Programming in 2019, featuring insights into Fable (F# to JavaScript conversion), the Green Print UI library project, and how functional programming reduces coding errors. The author discusses battle-tested tools and community-driven development for modern web applications.

6 min read 1,092 words

Tensorflow with Fable-Elmish. A Failed Try

A candid technical post documenting the author's failed attempt to integrate TensorFlow JS with Fable-Elmish. The article explores the challenges encountered with TypeScript definitions, object-oriented design patterns, and JavaScript callbacks, offering insights for developers considering similar approaches.

6 min read 1,166 words

Safe Stack in Dokku

This post explores deploying SAFE Stack applications with Dokku, comparing it to traditional deployment solutions like Azure Websites, Kudu, and Heroku. Discover a simpler, more cost-effective way to run full-stack F# web applications without complex CI/CD overhead.

6 min read 1,075 words

Machine Learning Monday

In this Machine Learning Monday post, the author explores ML.NET, Microsoft's recently open-sourced machine learning library, after a community poll. Discover why ML.NET is worth trying for F# and .NET Core developers, including its current features and exciting future developments like deep learning integration.

2 min read 342 words

Elmish Xamarin Forms from Fable point of View

This post examines Elmish Xamarin Forms (EXF) from a Fable developer's viewpoint, analyzing its advantages and disadvantages for cross-platform mobile applications. Using the Star Wars API as a practical example, the author explores how Elmish patterns translate to mobile development and compares the experience with Fable-Elmish web applications.

12 min read 2,346 words

Opinionated Fable2 - Architecture & Performance

This blog post revisits Fable's architecture and performance, demonstrating how Fable2 delivers significant improvements in code generation and JavaScript optimization. Through practical examples of F# type compilation, discover how the new compiler achieves smaller output with better tree shaking capabilities.

25 min read 4,880 words

Opinionated Fable - Architecture & Performance

An in-depth exploration of Fable 1.0's architecture and performance capabilities ahead of the 2.0 release. The author shares lessons from converting large JavaScript applications to typed languages, emphasizing why frontend development demands architectural discipline and examining Elmish patterns for building scalable single-page applications.

29 min read 5,653 words

Reactive Chat application using ServiceStack and Fable in F#

This FSAdvent 2017 post demonstrates how to create a real-time chat application using ServiceStack and Fable in F#, showcasing a unique take on the SAFE stack. The author explores why these frameworks were chosen and highlights the flexibility of .NET Core across different operating systems and editors.

18 min read 3,422 words

Sentiment Analysis of Mahabharata using F#

This post demonstrates sentiment analysis of the epic Mahabharata using F#, combining natural language processing with functional programming. Discover how to analyze emotions and sentiments in one of humanity's greatest literary works through practical F# implementation.

15 min read 2,921 words

1729

This F# Advent calendar post explores the fascinating number 1729, famously known as the Hardy-Ramanujan number. The author shares their personal journey with mathematics, inspired by the legendary Indian mathematician Srinivasa Ramanujan, and explains why this particular number holds special significance in mathematical history.

8 min read 1,546 words

Reactive Services with Servicestack and F#

This post explores building reactive services with Servicestack and F#, tracing the evolution from traditional page refreshes to modern real-time systems powered by WebSockets and Server-Sent Events. Discover how bidirectional server-client communication enables truly responsive applications following the reactive manifesto.

7 min read 1,233 words

Functional Command Pattern

This post explores the command pattern through functional programming, comparing traditional C# implementation with F# functional approach. You'll discover how treating functions as first-class citizens makes command pattern code more concise and elegant, with insights into CQRS and Event Sourcing.

1 min read 175 words

Functional Strategy Pattern

The strategy pattern is one of the most widely used patterns in .NET, especially in LINQ. This post explores how to implement it in both C# and F#, demonstrating why functional programming syntax is better suited for passing strategies as functions rather than class-based approaches.

2 min read 359 words

Functional Singleton Pattern

Explore the Singleton Pattern, one of the most commonly used design patterns for ensuring only one instance of a class exists. This post covers practical implementations in C# and F#, real-world use cases like database connections, and discusses its relevance in functional programming and modern development.

2 min read 316 words

Functional Factory Pattern

Explore how the Factory Pattern translates from Object-Oriented C# to functional F# programming. This post demonstrates that functional programming provides simpler, more elegant solutions for abstracting object creation while maintaining the same behavioral results.

2 min read 264 words

Typed Hack of Cloudant using F#

This post explores the typed/untyped data paradox by demonstrating how to access Cloudant (CouchDB fork) from F# using a custom HTTP-based helper module. The author shares a pragmatic solution for integrating statically typed F# with JSON-based NoSQL databases, complete with working code snippets.

5 min read 803 words

Web programming and F# still a Far Cry?

This blog post examines the persistent difficulties of using F# for web development, despite its elegant design. The author shares frustrating experiences with NuGet updates, package managers like Paket, and Azure deployment quirks that plagued F# web projects in 2014.

3 min read 511 words

My broken marriage with C# and extramarital affair with F#

This personal narrative explores one developer's transition from C# to F#, detailing the emotional and technical journey of discovering functional programming. Through personal milestones and community involvement, the author shares why F# captured their heart and passion for coding.

4 min read 607 words

SignalR + Servciestack with F# hosted on Azure

This guide walks through integrating SignalR with ServiceStack in F# and deploying the application to Azure. It covers project setup, OWIN configuration, and practical solutions to common Azure deployment challenges.

3 min read 512 words

Xamarin Studio 3 - First Look

Xamarin launches Studio 3 with a complete redesign, eliminating previous crashes and elevating F# to first-class citizen status. The new IDE features a flowless interface, Xamarin.Forms API for business applications, and promises to be a game-changer in mobile development.

2 min read 224 words

SignalR + Nancy with F# hosted on Azure

Discover how to combine SignalR, Nancy web framework, and F# programming language for building real-time applications on Azure. This technical guide walks through setting up Nancy on OWIN, configuring bootstrapper classes, and integrating SignalR for seamless bi-directional communication.

5 min read 824 words

Failed attempt to write series, again!

The author shares their decision to abandon the blog series format after repeated unsuccessful attempts, finding that individual articles resonate better with readers. They explain how certain topics simply don't fit the series structure and announce a shift toward standalone posts on web development, gaming, and F#.

1 min read 196 words

Servicestack F# template. Starting from the Start

This guide walks you through setting up ServiceStack V4 with F# without relying on templates. Starting from an empty ASP.NET project, you'll install ServiceStack, configure it properly, and build your foundation for a functional web service.

5 min read 848 words

Servicestack F# template Update. Circle is Complete

ServiceStack F# templates are now officially available on the Visual Studio Gallery, featuring four hosting options including ASP.NET and self-hosted variants with optional Razor Engine support. The templates use ServiceStack 3.71, the last MIT-licensed version, making them ideal for developers starting out or preferring stable, open-source solutions.

4 min read 663 words

When Servicestack meet F# via Side Waffle

This post explores the journey of creating Servicestack templates with F#, covering the challenges faced when building ASP.NET applications and the solutions discovered along the way. The author shares their experience moving from console applications to web templates, highlighting a critical debugging lesson that took two weeks to resolve.

4 min read 699 words

Asp.Net MVC5 with F#

Discover how to build ASP.NET MVC5 applications using F#, moving from traditional C#/F# split projects to unified pure F# templates. This guide provides a one-to-one syntax mapping between C# and F# before transitioning to optimized functional code patterns.

2 min read 297 words

Getting started with Functional web

A comprehensive guide to getting started with functional web development using F# and .NET. Discover pure F# web templates, frameworks like NancyFX and ServiceStack, and explore functional programming across Scala and Clojure.

3 min read 549 words

Functional Programming Need in Web Development

Functional programming is often overlooked in web development, but it's increasingly vital as projects grow larger and more complex. This article explores why functional programming, with its built-in features like immutability, is the ideal solution for managing state in multi-processor environments and building scalable web applications.

3 min read 402 words

Functional Programming, How I started and Why?

A personal journey into functional programming driven by a passion for data and numbers. Explore why the author switched from C# to F# and why functional languages should be taught before imperative ones.

4 min read 610 words