Showing posts with label WCF. Show all posts
Showing posts with label WCF. Show all posts
What are the various ways to host a WCF Service ?
Monday, March 5, 2012
1. IIS
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
asp.net,
Interview Questions and Answers,
WCF
What are the various address format in WCF?
Sunday, March 4, 2012
a)HTTP Address Format : http://localhost:
b)TCP Address Format : net.tcp://localhost:
c)MSMQ Address Format : net.msmq://localhost:
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
asp.net,
Interview Questions and Answers,
WCF
Explain Address,Binding and contract for a WCF Service?
Address: Where is the serivce available.
Binding: How to communicate with the service.
Contract: What will the service do.
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
Interview Questions and Answers,
WCF
How to define a service as REST based in WCF ?
By adding the WebGet attribute, we can define a service as REST based service that can be accessible using HTTP GET operation.
[ServiceContract]
interface IStock
{
[OperationContract]
[WebGet]
int GetStock(string StockId);
}
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
Interview Questions and Answers,
REST,
WCF
What are the differencec between Web Services and WCF ?
Sno | WebServices | WCF |
1 | Can send/receive messages using SOAP over HTTP | Can send/receive using SOAP and any transport protocol like HTTP, TCP, named pipes, and Microsoft Message Queuing (MSMQ), etc. |
2 | Can only be hosted in IIS and the security is limited. | Can be hosted in IIS, self-host servers with console applications or Win NT services or any other server. |
3 | Doesnt support | supports binary .NET – .NET communications, distributed transactions, WS-* specifications, queued messaging and Restful communications. |
4 | Simple when compared to WCF | Little more work is needed |
www.codecollege.NET|www.interviewsguru.com|The Encylopedia of Web Sites|Blogging and Earning
Labels:
Differences,
Interview Questions and Answers,
WCF,
WebServices
Solution for WCF Configuration Editor error : "Configuration binding extension 'system.serviceModel/bindings/basicHttpBinding ' could not be found. "
Sunday, May 30, 2010
<h4>
Change the binding from "WsHttpBinding" to "basicHttpBinding" in the web.config file or app.config file as follows,
<endpoint address="" binding="basicHttpBinding"
</h4>
<a href="http://www.codecollege.NET">www.codecollege.NET</a>
Change the binding from "WsHttpBinding" to "basicHttpBinding" in the web.config file or app.config file as follows,
<endpoint address="" binding="basicHttpBinding"
</h4>
<a href="http://www.codecollege.NET">www.codecollege.NET</a>
Labels:
asp.net,
Interview Questions and Answers,
Solutions,
WCF
What are the transport mechanisms supported by WCF?
1. HTTP (ex : http:// or https:// )
2. TCP (ex : net.tcp :// )
3. Peer network (ex: net.p2p://)
4. IPC (Inter-Process Communication over named pipes) (ex: net.pipe://)
5. MSMQ (ex: net.msmq://)
www.codecollege.NET
Labels:
asp.net,
Interview Questions and Answers,
WCF
What are the 4 main types of contracts in WCF?
Labels:
asp.net,
Interview Questions and Answers,
WCF
What is the role of WSDL in WCF?
Thursday, October 1, 2009
Web Services Description Language is used to share Endpoint details with the Clients.
www.codecollege.NET
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
What is a WCF Contract?
It says about what the Endpoint communicates. It is a collection of messages in MEP (Message Exchange Patterns) format.
www.codecollege.NET
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
What is a WCF Endpoint Binding?
It says How to send the messages like specifying the transport protocol (e.g., TCP), encoding information (e.g., binary), and security requirements (e.g.,
SSL), etc.
www.codecollege.NET
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
What is a WCF Endpoint Address?
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
What is a WCF Endpoint?
The Endpoint is the point where messages are sent by the Client to the service. Every Service has some Endpoints based on the requirement and provides the
Client with the details. An Endpoint will have an Address, a Binding, and a Contract.
www.codecollege.NET
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
What is a WCF Service?
It is a piece of code which can be interacted with messages. They work based on the messages from the Clients and they wait until the Client sends the
messages.
www.codecollege.NET
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
Say any 3 key features of WCF?
1. Unified Programming Model.
2. Service Oriented Architecture.
3. Cross-Vendor interoperability.
www.codecollege.NET
Labels:
.NET 3.0,
.NET 3.5,
asp.net,
Interview Questions and Answers,
WCF
What is the Svcutil.exe ?
Friday, September 25, 2009
Service Model Metadata Utility Tool is used to generate the proxy from the client.
www.codecollege.NET
Labels:
.NET 3.0,
.NET3.5,
asp.net,
Interview Questions and Answers,
WCF
What is the extension of WCF services hosted in IIS?
Tuesday, September 22, 2009
Labels:
.NET 3.0,
asp.net,
IIS,
Interview Questions and Answers,
WCF,
WebServices
Subscribe to:
Posts (Atom)