How can we host a service on two different protocols on a single server
How can we host a service on two different protocols on a single server? Let’s first understand what this question actually means. Let’s say we have made a service and we want to host this service using HTTP as well as TCP. You must be wondering why to ever host services on two different types of pr... 2007-11-04, 5715👍, 0💬
What is one way operation
What is one way operation? IsOneWay equal to true ensures that the client does not have to wait for the response. So methods marked by IsOneWay to true should always return void. In this the caller does not get anything in return so it is called as one-way communication. In order to understand one w... 2007-11-04, 4871👍, 0💬
What is the difference WCF and Web services?
What is the difference WCF and Web services? Web services can only be invoked by HTTP. While Service or a WCF component can be invoked by any protocol and any transport type. Second web services are not flexible. But Services are flexible. If you make a new version of the service then you need to ju... 2007-11-04, 5265👍, 0💬
what are the advantages of hosting WCF Services in IIS as compared to self hosting
what are the advantages of hosting WCF Services in IIS as compared to self hosting? There are two main advantages of using IIS over self hosting: Automatic activation IIS provides automatic activation that means the service is not necessary to be running in advance. When any message is received by t... 2007-11-04, 6478👍, 0💬
How do we host a WCF service in IIS
How do we host a WCF service in IIS? Note: - The best to know how to host a WCF in IIS is by doing a small sample. So what we will do is host the same GetCost sample which was self hosted in the previous question. First thing you will need is to create the SVC file which exposes the service class. S... 2007-11-04, 13437👍, 0💬
What are the various ways of hosting a WCF service
What are the various ways of hosting a WCF service? There are three major ways to host a WCF service: Self hosting the service in his own application domain. This we have already covered in the first section. The service comes in to existence when you create the object of ServiceHost class and the s... 2007-11-04, 5125👍, 0💬
what is a service contract, operation contract and Data Contract - part 1
what is a service contract, operation contract and Data Contract? - part 1 In this example we will make simple service which displays the total cost of the complete product group. In simple words this service will take three parameters per product cost, number of products and the product name. In re... 2007-11-04, 5142👍, 0💬
what is a service class
what is a service class? 2007-11-04, 4661👍, 0💬
What are the main components of WCF
What are the main components of WCF? We need to define three main components in WCF: Service class. Hosting environment End pointWe need to define three main components in WCF:- Service class. Hosting environment End point 2007-11-04, 4847👍, 0💬
Which specifications does WCF follow
Which specifications does WCF follow? WCF supports specifications defined by WS-* specifications. WS-* specifications are defined together by Microsoft, IBM, SUN and many other big companies so that they can expose there service through a common protocol. WCF supports all specifications defined we w... 2007-11-04, 5150👍, 0💬
what are end points, contract, address and bindings
what are end points, contract, address and bindings? The above terminologies are the core on which SOA stands. Every service must expose one or more end points by which the service can be available to the client. End point consists of three important things where, what and how: Contract (What) Contr... 2007-11-04, 4607👍, 0💬
what are the important principles of SOA
what are the important principles of SOA (Service oriented Architecture)? WCF is based on SOA. All big companies are playing big bets on SOA. So how can Microsoft remain behind? So in order to implement SOA architecture easily you need to use WCF. SOA is based on four important concepts: Boundaries ... 2007-11-04, 4531👍, 0💬
What is WCF part 2
What is WCF part 2 So he concluded to use MSMQ (Microsoft Message Queuing) service. He analyzed that the main problem was that the travel agent had to wait until his first ticket booking is not completed. So when the travel agent makes a booking it will come and fall in the queue and release the tra... 2007-11-03, 4736👍, 0💬
What is WCF part 1
What is WCF? part 1 First let’s give a short answer to this: - “WCF (Indigo was the code name for WCF) is a unification of .NET framework communication technologies “. Ok let me tell you a story. Long Long time a ago there lived a hard working and a nice architecture. He used to work for a travel a... 2007-11-03, 4588👍, 0💬
What is Windows CardSpace
What is Windows CardSpace ? It was previously known by its codename InfoCard. It is a framework by microsoft which securely stores digital identities of a user and provides a unified interface to choose the identity for a particular transaction, such as logging in to a website. Windows Card Space is... 2007-11-03, 4507👍, 0💬
What is .NET 3.0
What is .NET 3.0? In one simple equation .NET 3.0 = .NET 2.0 + Windows Communication Foundation + Windows Presentation Foundation + Windows Workflow Foundation + Windows CardSpace. 2007-11-03, 4262👍, 0💬
Can you explain duplex contracts in WCF? In duplex contracts when client initiates an operation the ...
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon...
How To Process Query Result in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL You can run queries...
Can you explain the fundamentals of “GetGlobalResourceObject ”and “GetLocalResourceObject” function...
How can you raise custom errors from stored procedure ? The RAISERROR statement is used to produce a...