Synopses & Reviews
Learn how to build key aspects of web, cloud, and mobile solutions by combining F# 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. Youll quickly learn how to be productive with F#, whether you want to integrate the language into your existing web application or use it to create the next Twitter.
If youre a mid- to senior-level .NET programmer, youll discover how this expressive functional-first language helps you write robust, maintainable, and reusable solutions that scale easily and target multiple devices.
- Use F# 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 F# to do the heavy lifting on the server
- Create WCF SOAP and HTTP web services
- Develop F# web applications and services that run on Windows Azure
- Build scalable solutions that allow reuse by mobile and web front-ends
- Use F# with the WebSharper and Pit frameworks to build end-to-end web stacks
About the Author
Daniel Mohl is a Microsoft F# MVP, F# and C# Insider, blogger, speaker, and event organizer. He blogs at blog.danielmohl.com and you can follow him on Twitter at twitter.com/dmohl.
Table 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;