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. You’ll 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 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 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
Chapter 1 Building an ASP.NET MVC 4 Web Application with F#
The F# ASP.NET MVC 4 Project Templates
F# Controllers and Models
Interacting with a Database
Taking Advantage of F#
Related Advanced Topics and Concepts
Chapter 2 Creating Web Services with F#
Installing the Existing WCF Project Template
Exploring the Output Code
Building an ASP.NET Web API Service
Exploring Other Web Frameworks
Testing Your Creation
Chapter 3 To the Cloud! Taking Advantage of Azure
Building and Hosting F# on Azure
Creating an F# Worker Role
Interacting with Azure Storage Options
Taking Advantage of the Azure Service Bus
Exploring Authentication and Authorization
Building for Scalability
Shining F# Examples
Chapter 4 Constructing Scalable Web and Mobile Solutions
Scaling with Web Sockets
Combining F# and NoSQL
Chapter 5 Functional Frontend Development
Setting the Stage
Looking at LiveScript
Diving into WebSharper
Appendix Useful Tools and Libraries
FAKE (F# Make)
Appendix Useful Websites
Visual Studio Gallery
Appendix Client-Side Technologies That Go Well with F#
The animal on the cover of Building Web, Cloud, and Mobile Solutions with F# is the Barbel flyingfish (Exocoetus monocirrhus). This fish is distributed throughout the Indo-Pacific and Eastern Pacific regions and widespread in the tropical zone at a depth of 0 to 20 meters. Its maximum length is 23 centimeters and its body is brown along the top and silver below.
This fish has an elongated, broadly cylindrical body with a short head and a blunt snout. Its mouth is small and the lower jaw is slightly longer than the upper one, with no teeth. Its fins have no spines and its tail is deeply forked with a longer lower lobe. Its scales are large, smooth, and easily shed.
This fish is known to leap out of the water and glide for considerable distances above the surface. Its diet consists of zooplankton, crustacean, fish larvae, and fish eggs. Its migration is cyclical and predictable and covers more than 100 kilometers.
The cover image is from Johnson's Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont’s TheSansMonoCondensed.
Comments about oreilly Building Web, Cloud, and Mobile Solutions with F#:
Daniel Mohl is a Microsoft F# MVP, F# and C# Insider.
The Book is really well written and short. It covers all the hot topics (Web, Cloud and Mobile development) on only 175 pages. What i really like is that Daniel has links to websites with further information for specific topics all over the Book. The targeted audience are clearly mid- to senior-level .NET programmers.
In the first chapter Daniel shows how to write ASP.NET MVC 4 Web applications with F#. He further shows topics and techniques that are not specifically related to ASP.NET MVC 4 (like Entity Framework).
The second chapter is all about the process of creating various types of web services with F#. Different frameworks for constructing services (Serivce Stack, Nancy, Frank) and improving the unit tests (FsUnit, Unquote and NaturalSpec) are shown.
In the third chapter Daniel walks us through creating and deploying F# solutions for the cloud.
The fourth chapter "Constructing Scalable Web and Mobile Solutions" provides additional approaches and F# examples to what we have seen in the chapters before.
The fifth chapter is about creating web-centric, client-side code with a functional style. It is not 100% pure F#.
The Book has 3 appendices which are really interesting and useful. They provide further info on useful tools and libraries, Websites and Client-Side technologies.
This book get 5 stars from me.
Bottom Line Yes, I would recommend this to a friend