R4R
Right Place For Right Person TM
 

R4R WCF


R4R
provide basic WCF Tutorials concept with WCF Examples . Through R4R you can develop WCF programming concept. R4R provide WCF Interview Questions with answers.R4R provide WCF Languages study materials in easy way.

WCF Tutorials

1.1    WCF Services basic tutorials

WCF Interview Questions with Answers

2.1    WCF Subjective Questions with Answers
2.2    WCF Interview Questions with Answers
2.3    WCF Objective Questions And Answers

2.4     FAQs

Introduction of WCF

The Windows Presentation Foundation is Microsofts next generation UI framework to create applications with a rich user experience. It is part of the .NET framework 3.0 and higher.WCF (Window Communication Foundation) is a solution for developers to work in distributing environment. WCF create communication between applications. Before WCF, the technologies to make communication between applications were ASMX, .NET remoting, and COM+. WCF provides a common platform for all .NET communication.different technology combined to form WCF.

                         

WCF is a framework that is used  for developing, configuring, exposing, and hosting services. All service providers were agree on SOAP concept for making communication between application before WCF. The idea of WCF is a combination of SOAP and web service.
There are two categories of classes in WCF.

  • Service model classes handle configuration and validation.

  • Channel layer classes handle things such as communication and data transformation.

WCF services expose functionality through one or more endpoints. Clients communicate with the service's endpoint. In configuring an end points there are three components require.

  • Address

  • Binding

  • Contract

WPF Architecture

 

WPF is actually a set of assemblies that build up the entire framework. These assemblies can be categorized as 

  • Managed Layer
  • UnManaged Layer
  • Core API
     

Managed Layer : Managed layer  is a collection of number of assemblies. These assemblies create  the WPF framework, communicates with lower level unmanaged API to render its content. The few assemblies that comprise the WPF framework are : 

 

  1. PresentationFramework.dll : It is used to Creates the top level elements like layout panels, controls, windows, styles etc. 
     
  2. PresentationCore.dll : it is used to  holds base types such as UIElement, Visual from which all shapes and controls are Derived in PresentationFramework.dll

  3. WindowsBase.dll : It is used to hold even more basic elements which are capable to be used outside the WPF environment like Dispatcher object, DependencyObjects. I will discuss each of them later. 
     


Unmanaged Layer (milcore.dll):  The unmanaged layer of WPF is called
 
milcore or Media Integration Library Core. It used to  translate the WPF higher level objects like layout panels, buttons, animation etc into textures that Direct3D expects.  It is the main rendering engine of WPF. 

Core API:- This is  low level API which is used for imaging support in WPF applications. WindowsCodecs.dll comprises of a number of codecs which encodes / decodes images into vector graphics that would be rendered into WPF screen. 

 

features in WCF

  1. Dynamic Service and End Point discovery
  2. Intermediate Routing Pattern ( Generic Routing Services)
  3. Discovery announcement
  4. Simplified Configuration
  5. Protocol bridging and Fault tolerance
  6. Standard End Points.
  7. .svc-less activation of REST services or making REST URI nice.

Advantage

  • Its made of a lot of different components, so you can create new components for security, transport, authentication

  • In WCF, there is no need to make much change in code for implementing the security model and changing the binding. Small changes in the configuration will make your requirements.

  • Its faster than ASMX

  • Supports Scaling/Load Balancing

  • WCF has integrated logging mechanism, changing the configuration file settings will provide this functionality. In other technology developer has to write the code.

  • Its Interoperability, for java, and more.

  • WCF is interoperable with other services when compared to .Net Remoting,where the client and service have to be .Net

  • WCF services provide better reliability and security in compared to ASMX web services.

disadvantages

A drawback would be that, WCF is Microsoft's implementation of SOA and hence its APIs are solely controlled by MS which makes interoperability a bit difficult. Also, to deploy WCF apps, you will need more underlying hardware resources on the platform on which the WCF applications will be running, since there is an additional layer of abstraction to deal with.

 

 


Tolal:0 Click:
Show All Comments

Post Your Comments

Your Name:

Your Email ID :
Comments :
URL
  =* Enter SUM

Tutorials,Examples,Questions and Answer

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R