Buy Questpond's video subscriptions on
huge discount
.
Online: 12217
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
> WCF
WCF Interview Questions and Answers (209) - Page 8
Latest and authentic Interview questions. You can also
post an interview question
and
win monthly prizes
as well as gain community
credit points
.
209 records found.
Post
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Exclusive Questions
Get 650+ Questpond's Interview videos on discount
Loading ...
Why it is dangerous to send a oneway message in WCF ?
It is dangerous to send a
oneway
message since there is no assurance that the operation is processed or not.
Thanks and Regards
Akiii
State 3 Duplex contract problems in WCF ?
(1) Threading problems can occur if either of the Callback channels are not empty.
(2) If the client and service has a long running work then this pattern doesn't scale very well. It can block the client or the service until the process is completes !
(3) It requires a connection back to the client. And there may be a chance to not connect back due to firewall and Network Address Translation problems.
Note :- It is always better to use Request / Response MEP rather than using Duplex method.
Thanks and Regards
Akiii
Which command is used to convert WSDL to a proxy
svcutil.exe command will convert the WSDL to a proxy class for our client
Open visual studio command prompt window
click on visual studio command prompt,set the current folder to the location where you want the generated proxy and configuration files to be created.
Run SvcUtil.exe to generate the output files.
Which type of securities are available in WCF?
NOTE: This is objective type question, Please click question title for correct answer.
Which are the available types of transport schemas in WCF?
NOTE: This is objective type question, Please click question title for correct answer.
Which is/are the possible value/s of ConcurrencyMode enumeration in WCF?
NOTE: This is objective type question, Please click question title for correct answer.
What is/are the type/s of Messaging pattern/s in WCF?
NOTE: This is objective type question, Please click question title for correct answer.
You are developing data access service that access by several types of clients (non-.net or .net) to access a back-end database server running Microsoft SQL Server. Which approach should you use?
NOTE: This is objective type question, Please click question title for correct answer.
You are developing a web service that will be accessed by Clients might be running JavaScript or the .NET Framework. you need to Create the data access layer with the least amount of development effort.
NOTE: This is objective type question, Please click question title for correct answer.
Which is/are available Instance Mode/s in WCF?
NOTE: This is objective type question, Please click question title for correct answer.
Which message encoding format/s is/are available in WCF?
NOTE: This is objective type question, Please click question title for correct answer.
What is MTOM?
MTOM stands for Message Transmission Optimization Mechanism and is an Interoperable standard that reduces the overhead for transfer large binary data in WCF. Its a mechanism for transmitting large binary attachments with SOAP messages as raw bytes.
What is the purpose of ExtensionDataObject in WCF? or How to make DataContract forward compatible?
A .NET serialization system supports backward-compatibility on custom data types naturally. However, sometimes we also need forward-compatibility for data types used in a WCF service.ExtensionDataObject property is used to achieve the Forward compatible in WCF.
Suppose that you have a service that exchanges some custom data types between clients. If one side updates the custom data type (adds some fields or properties) or uses a newer version, it is important to make sure that the other side can still work correctly with the updated data type instances without using the updated version of data.
Let see how can we achieve this in WCF.
1.First we need to make our Custom Data type to implement the IExtensibleDataObject interface.
[DataContract]
public class Employee: IExtensibleDataObject
{
[DataMember]
public string Name{ get; set; } [DataMember]
public string Address{ get; set; }
public ExtensionDataObject ExtensionData
{
get;
set;
}
}
2. Next we need to make sure that we haven't enabled the IgnoreExtensionDataObject property on ServiceBehaviorAttribute applied on your WCF service .This property is disabled by default.
What is the difference between a standard void operation and a one-way operation?
Suppose you have the following ServiceContract implemented:
[ServiceContract]
public interface IMyTask
{
[OperationContract(IsOneWay=false)]
void MyTask();
[OperationContract(IsOneWay = true)]
void MyTaskOneWay();
}
By invoking the two operations from the client side and capturing the HTTP message, we can get different response messages.
The normal void operation will return HTTP 200 status code and the complete SOAP Response in the body and the one-way operation will only return a HTTP 202 Accepted status header. This indicates that the one-way operation call gets finished as long as the
server side received the request, while the normal void operation will wait for the server side to execute and return the response data.
Which of the following represent the .net attribute from System.Servicemodel namespace that you will use while define a new Service Contract ?
NOTE: This is objective type question, Please click question title for correct answer.
Which of the following properties you should enable, so can your service will expose its metadata through HTTP-GET
NOTE: This is objective type question, Please click question title for correct answer.
Which standard binding you would be use if your service will hosted on the same computer as the client ?
NOTE: This is objective type question, Please click question title for correct answer.
What is RoundTripping ?
A client with an older version (v1.0) of a data contract can communicate with a service with a newer version(v2.0) of the same data contract, or a client with a newer version of a data contract can communicate with an older version of the same data contract. this
new-to-old-to-new
interaction is called versioning roundtrip.
Round-tripping guarantees that no data is lost. WCF does have some
built-in
support it (
IExtensibleDataObject
interface).
In WCF, which is the default place for maintain session state ?
NOTE: This is objective type question, Please click question title for correct answer.
You want to use performance monitor to track the no of rejected messages in your developed WCF application.
NOTE: This is objective type question, Please click question title for correct answer.
1
2
3
4
5
6
7
8
9
10
11
More WCF Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
Interview Questions and Answers Categories
.NET Certifications
.NET Core
.NET Framework
ADO.NET
AI ML
Android
Angular
AngularJS 1x
Aptitute Test
ASP.NET
ASP.NET AJAX
ASP.NET Core
ASP.NET MVC
ASP.NET Web API
Aurelia
Azure
Best Practices
BizTalk Server
Bootstrap
C#
Cloud
CMS
CSS 3
Data Structures & Algorithms
Design Pattern & Practices
DotNetFunda.Com
Entity Framework
Error and Solution
F#
Function Points (FPA)
HR
HTML 5
IIS
Interview Questions
JavaScript
jQuery
Kinect
LightSwitch
LINQ
Management
Mobile Development
MSBI (SSIS, SSRS, SSAS)
Mule
Networking
News and Community
Node.js
NoSql
OOPS
Oracle
Others
PostgreSQL
PowerShell
Product Reviews
Project Management
Python
QA (Testing)
R Language
Regular Expressions
SEO
SharePoint
SignalR
Silverlight
Sql Server
TypeScript
UML
VB.NET
Visual Studio
WCF
Web Analytics
Web Services, Remoting
Windows 8
Windows Forms
Windows Metro
Windows Phone
WPF
WWF
XML