Read more
Learn how to build key aspects of web, cloud, and mobile solutions by combining F sharp with various .NET and open source technologies. With helpful examples, this hands-on book shows you how to tackle concurrency, asynchrony, and other server-side challenges. You ll quickly learn how to be productive with Fsharp, whether you want to integrate the language into your existing web application or use it to create the next Twitter.
If you re a mid- to senior-level .NET programmer, you ll discover how this expressive functional-first language helps you write robust, maintainable, and reusable solutions that scale easily and target multiple devices. Use Fsharp with ASP.NET MVC, ASP.NET Web API, WCF, Windows Azure, HTML5, CSS3, jQuery Mobile, and other tools Build next-generation ASP.NET MVC 4 web applications, using Fsharp to do the heavy lifting on the server Create WCF SOAP and HTTP web services Develop Fsharp web applications and services that run on Windows Azure Build scalable solutions that allow reuse by mobile and web front-ends Use Fsharp with the WebSharper and Pit frameworks to build end-to-end web stacks
List of contents
Preface;
Who This Book Is For;
Getting Set Up to Run the Examples;
How This Book Is Organized;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Building an ASP.NET MVC 4 Web Application with F#;
1.1 The F# ASP.NET MVC 4 Project Templates;
1.2 F# Controllers and Models;
1.3 Interacting with a Database;
1.4 Taking Advantage of F#;
1.5 Related Advanced Topics and Concepts;
1.6 Summary;
Chapter 2: Creating Web Services with F#;
2.1 Installing the Existing WCF Project Template;
2.2 Exploring the Output Code;
2.3 Building an ASP.NET Web API Service;
2.4 Exploring Other Web Frameworks;
2.5 Testing Your Creation;
2.6 Summary;
Chapter 3: To the Cloud! Taking Advantage of Azure;
3.1 Building and Hosting F# on Azure;
3.2 Creating an F# Worker Role;
3.3 Introducing Fog;
3.4 Interacting with Azure Storage Options;
3.5 Taking Advantage of the Azure Service Bus;
3.6 Exploring Authentication and Authorization;
3.7 Building for Scalability;
3.8 Shining F# Examples;
3.9 Summary;
Chapter 4: Constructing Scalable Web and Mobile Solutions;
4.1 Scaling with Web Sockets;
4.2 Using SignalR;
4.3 Going Mobile;
4.4 Combining F# and NoSQL;
4.5 Summary;
Chapter 5: Functional Frontend Development;
5.1 Setting the Stage;
5.2 Looking at LiveScript;
5.3 Exploring Pit;
5.4 Diving into WebSharper;
5.5 Summary;
Useful Tools and Libraries;
FAKE (F# Make);
NuGet;
ExpectThat;
Useful Websites;
fssnip.net;
tryfsharp.org;
Visual Studio Gallery;
jQueryMobile.com;
Client-Side Technologies That Go Well with F#;
CoffeeScript;
Sass;
Underscore.js;
Colophon;
About the author
Daniel Mohl is a Microsoft F sharp MVP, F sharp and C sharp Insider, blogger, speaker, and event organizer.
Summary
Learn how to build key aspects of web, cloud, and mobile solutions with F#. This book shows you how to handle concurrency, asynchrony, big data, and other server-side challenges by combining this language with different technologies and tools on the .NET Framework.