Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Creating Web Services with F# > Installing the Existing WCF Project Template

Installing the Existing WCF Project Template

Windows Communication Foundation (WCF) is an extremely versatile set of libraries that enables applications and solutions to communicate and interact via services. Services are often built to promote reuse, contain and isolate the domain(s) of a solution, handle complex processing, and integrate with other systems. Additionally, services generally need to handle massive concurrency and can often benefit from parallelism. If you’re looking for the right tool to handle a job description such as this, then F# should be jumping to the forefront of your mind.

As with most of the examples in this book, the best way to use F# to build WCF web services is to create a C# project that handles everything related to the entry point of the service and one or more F# projects to contain all of the logic within the service. For an easy-to-use project template go to the Visual Studio Gallery website and search for “fsharp wcf”. Figure 2-1 shows the result of that search. To install the template, type in a name for the project that should be created, click OK, and click Install. This creates a solution with three projects:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint