What are the various programming approaches for WCF? - .NET WCF

What are the various programming approaches for WCF?

- There are three programming approaches in Windows Communication Foundation (WCF).

1. Imperative
2. Configuration Based
3. Declarative

- WCF is a unification technology that unites the .NET Remoting, MSMQ, Web services. COM+ technologies.

1. Imperative:

- It is a traditional way to write applications.

- Most developers are familiar with the imperative programming model, where you create a service and use a series of instructions and control logic to implement it.

- Imperative approach gives you full control over the implementation details.

- Small services are easier to implement.

2.Declarative:

- It focuses on what you want to accomplish and lets the compiler, interpreter or runtime solve the problem for you.

- In declarative approach, many developers must understand a new technology.

- It is difficult to create unit tests.

- The control flow is easier for a business analyst to understand.

3.Configuration Based:

- In this approach, configuration files can be used to accomplish a task and end points along with security settings.

- Attributes can be used for declaring the behaviors and contracts, configure endpoints, security and some other settings in configuration files and will implement service methods logic in codes.
What are the advantages of hosting WCF services in IIS? - .NET WCF
Advantages of hosting WCF services in IIS - Provides process activation and recycling ability thereby increasing reliability......
What are different isolation levels provided in WCF? - .NET WCF
The different isolation levels: READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, SERIALIZABLE....
What is Windows Presentation Foundation, WPF? - .Net WPF
WPF allows creating rich application with respect to look and feel. The rich classes of WPF along with a design....
Post your comment