Skip to content

Desi banjara

  • Best Get Well Soon Wishes / Messages Best Wishes Messages
  • Family quotes – You are born into your family Family Quotes
  • “The gem cannot be polished without friction, nor man perfected without trials.”– Chinese Proverb Motivational & Inspirational Quotes
  • Differences between struct and classes in C# : Interview question C# development
  • Top 20 GIT Interview Questions GIT
  • Microsoft AZ-900 Certification Exam Practice Questions – 3 Microsoft AZ-900 Certification Exam
  • Interview question: What are primitive data types in C#? C# development
  • Leadership Quote – You have to be burning with an idea Leadership Quote

WCF (Windows Communication Foundation) Interview questions

Posted on July 18, 2017 By DesiBanjara No Comments on WCF (Windows Communication Foundation) Interview questions

WCF (Windows Communication Foundation) Interview questions

1- What is Windows Communication Foundation (WCF) ?

WCF is a framework to create a service-oriented application. WCF services can send the data asynchronously from one endpoint service to another service. The endpoint service can be the part of the continuous available service that is hosted by the IIS. WCF sends the data asynchronously. It is a secure service to process the business transaction. The message that is send can be a single character or a word sent as XML.



2- When to choose WCF?

  1. Choose WCF when you want to create a service that should support special scenarios such as one way messaging, message queues, duplex communication etc.
  2. Choose WCF when you want to create a service that can use fast transport channels when available, such as TCP, Named Pipes, or maybe even UDP (in WCF 4.5), and you also want to support HTTP when all other transport channels are unavailable.

When to choose Web API?

  1. Choose Web API when you want to create a resource-oriented services over HTTP that can use the full features of HTTP (like URIs, request/response headers, caching, versioning, various content formats).
  2. Choose Web API when you want to expose your service to a broad range of clients including browsers, mobiles, iPhone and tablets.




3- Difference between ASP.NET Web API and WCF (Windows Communication Foundation )

Web API WCF (Windows Communication Foundation )
Open source and ships with .NET framework. Ships with .NET framework
Supports only HTTP protocol. Supports HTTP, TCP, UDP and custom transport protocol.
Maps http verbs to methods Uses attributes based programming model.
Uses routing and controller concept similar to ASP.NET MVC. Uses Service, Operation and Data contracts.
Does not support Reliable Messaging and transaction. Supports Reliable Messaging and Transactions.
Web API can be configured using HttpConfiguration class but not in web.config. Uses web.config and attributes to configure a service.
Ideal for building RESTful services. Supports RESTful services but with limitations.



ASP.NET Web API, WCF (Windows Communication Foundation) Tags:ASP.NET Web API, Interview questions, WCF (Windows Communication Foundation), Web development

Post navigation

Previous Post: What is ASP.NET Web API ?
Next Post: How to stop time : Kiss

Related Posts

  • How to enable cors in WebApi to handle request from different subdomains? ASP.NET Web API
  • Asp.Net WebApi Interview Questions ASP.NET Web API
  • Error while sending json model in POST request to web API service using postman ASP.NET Web API
  • Asp.Net WebApi Interview Questions – Cont. ASP.NET Web API
  • What is ASP.NET Web API ? ASP.NET Web API

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *



Archives

  • February 2023
  • February 2022
  • June 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • December 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • January 2018
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • August 2015
  • May 2015
  • April 2014
  • November 2013

Categories

  • Acer
  • Amazon AWS Certification Exam
  • Amazon Kindle
  • Android phones
  • ASP.Net MVC
  • ASP.NET Web API
  • AWS DevOps Engineer Professional Exam
  • AZ-300: Microsoft Azure Architect Technologies Exam
  • Azure Active Directory
  • Azure App Services
  • Azure Data Factory
  • Azure Logic Apps
  • Azure Mobile Apps
  • Azure Virtual Machine
  • Best Wishes Messages
  • birthday messages for boyfriend
  • Birthday messages For Girlfriend
  • Birthday Wishes
  • Birthday Wishes For Mom
  • Business
  • C# development
  • Cameras
  • Canon
  • Cloud
  • Cloud services
  • digital-cameras
  • Diwali
  • Entrepreneurship
  • eReaders
  • Family Quotes
  • Family Quotes
  • Friendship Quotes
  • Gadgets
  • Games
  • Get Well Soon Messages
  • GIT
  • Good Morning Wishes
  • Google
  • Gratitude Quote
  • Guru Nanak Jayanti
  • Halloween
  • Happiness Quote
  • Happy Diwali Wishes
  • Happy Independence Day Wishes
  • Happy New Year Wishes
  • HTC
  • HTC One
  • HTML
  • I Miss You Messages
  • Inspirational Quotes
  • Inspirational Travel Quotes
  • Interview questions
  • IT/Software development
  • Leadership Quote
  • Life lessons
  • Love Quotes
  • Love shayari
  • Messages
  • Microsoft AI-900 Certification Exam
  • Microsoft AZ-104 Certification Exam
  • Microsoft AZ-204 Certification Exam
  • Microsoft AZ-900 Certification Exam
  • Microsoft Azure
  • Microsoft Azure certifications
  • Microsoft Exam AZ-220
  • Microsoft Excel
  • Microsoft Office
  • Microsoft word
  • Mobile phones
  • Motivational & Inspirational Quotes
  • Nature Quotes
  • Nexus
  • Nikon
  • Pixels
  • PL-200: Microsoft Power Platform Functional Consultant Certification
  • PL-900: Microsoft Power Platform Fundamentals
  • postman
  • Quotes
  • Robin Sharma
  • Samsung Galaxy S5
  • Self improvement quotes
  • Self-Confidence Quote
  • SonarQube
  • Sony PlayStation 4
  • SQL
  • SQL Server
  • Success Quotes
  • Travel Quotes
  • Uncategorized
  • Uplifting Quotes
  • WCF (Windows Communication Foundation)
  • Web development
  • Wishes
  • Wishes for Newborn Baby

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org



Recent Posts

  • Azure Data Factory
  • What is Azure Active Directory?
  • Azure Virtual Machine
  • Azure Logic Apps
  • Azure Mobile Apps

Recent Comments

  • Yosianus on Error while sending json model in POST request to web API service using postman
  • Interview question: What is the purpose of an access specifier in C#? C# development
  • I celebrate this special day for a special someone who is the source of inspiration and guiding light for the entire family. Happy birthday dear mom! Birthday Wishes For Mom
  • Microsoft AI-900 Certification Exam Practice Questions -5 Microsoft AI-900 Certification Exam
  • I feel embarrassed today because there is no gift I can buy that matches the gift of life you have given to me. Here’s a birthday wish to a mother who never gave up, from a daughter who is forever grateful for the support. Birthday Wishes For Mom
  • Cute & Romantic Good Morning Wishes Good Morning Wishes
  • 120 best family quotes Family Quotes
  • Microsoft AZ-900 Certification Exam Practice Questions – 4 Microsoft AZ-900 Certification Exam
  • Specs comparison – Nikon D5500 vs Nikon D5600 Cameras

Copyright © 2023 Desi banjara.

Powered by PressBook News WordPress theme