Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are several situations that would "require" WCF. First it should be noted that "require" is a strong word, while WCF is the current preferred model for communications in .NET, the platform has a history of other methods which are all still supported.</p> <p><strong>Concrete Example 1</strong>: Your web app is performing poorly because some of the computational work to prepare a response is "computationally expensive" and is eating up CPU. You want to move the expense portion to a service that runs on another box where you can give it isolated resources. You create a WCF service which wraps the functionality and deploy that service to another box, using a proxy class to access it across the network.</p> <p><strong>Concrete Example 2</strong>: Your windows application needs to access resources which are behind a firewall that your users cannot penetrate. So you instead choose to deploy a service in a DMZ which the application can use, and which from the DMZ accesses the restricted material and returns the results to your application.</p> <p>WCF is a powerful tool, and does incredible things to help service development especially when you are developing SOAP based services. On the other hand, there are many who feel that currently the easier way to write RESTful services is to do so with ASP.NET MVC's WebAPI. WebAPI started as a project of the WCF Team, but was eventually moved into MVC for a variety of reasons. If you're interested in REST, I would recommend looking at WebAPI.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload