1.) What is WCF in .NET ?
4.) What are the different technologies used before WCF ? - WCF is known as windows Communication Foundation.
- WCF is a set of .NET Technologies that is used for creation and consumption of data services in a website.
- It helps the developers to build secure and reliable websites.
- It provides a common runtime environment for the services.
2.) What are the advantages of WCF services in .NET ?
There are some advantages of WCF services.
- It Provides common platform for building service oriented application .
- It helps the developers to build secure and reliable websites
- It provides a common runtime environment for the services.
- It provides Interchangeability between services.
3.) Why does we use WCF services ?
There are some technologies used before WCF.
- ASP.NET Web Services(.asmx file extension)
- Web services Enchancements (WSE)
- .NET Remoting
- Microsoft message Queuing(MSMQ) Protocol
- WCF provides common-runtime environment for the services.but other technologies doesn't provide this this facilities.
- It provides Interchangeability between services.
There are some problems in other technologies (web service,WSE,Remoting and MSMQ) before WCF.
- It is confusing for the developers to select these technology as each of them is used to perform a different task.
- If you want to connect each protocols to each other then developers were faced problem.Because each technology offer different functionality.So developers have to Knowledge in all technologies.
- The WCF technology has solved this problems because it is using an unified programming models.
The WCF architecture consists of various layers that help in developing distributed applications.
- Contacts Layer
- Services Runtime layer
- Messaging Layer
- Activation and Hosting layer
- A contract is a sort of agreement between two or more parties specifying the supply of goods and services.
- A contract contain the details, such as what task to be done and how it is to be done.
- A WCF Contract layer performs the same functionality as we perform in our real world (real life) and also contains very similar information.
- It is a binding between two machines that defines the terms and conditions for the message to be exchanged.
10.) What are the different Contracts layer in WCF ?
- Data Contract
- Message Contract
- Service Contract
- Policy and Binding
- A data contract is a formal agreement made between a services and a client specifying the data that has to be exchanged between them.
- It defines the parameters and data structures that are used by the services to interact with clients
- It serializes and de-serializes data after mapping the common Language Runtime (CLR) types with xml schema definitions(XSDs).
The WCF Technology is using Unified Programming Model.
13.) What is difference between Web Services and WCF Services ?
Learn More Web Services and WCF Services
14.) Which .NET Framework is more difficult to communicate between client and server ?
It is .NET Framework 1.0.
15.) What is different tools used in WCF ?
- Svcutil.exe
- FindPrivateKey.exe
0 comments:
Post a Comment