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, 5669👍, 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, 4829👍, 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, 5226👍, 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, 6395👍, 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, 13307👍, 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, 5082👍, 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, 5075👍, 0💬
what is a service class
what is a service class? 2007-11-04, 4634👍, 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, 4811👍, 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, 5120👍, 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, 4576👍, 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, 4490👍, 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, 4690👍, 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, 4538👍, 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, 4470👍, 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, 4238👍, 0💬
How Do I Run JUnit Tests from Command Window? To run JUnit tests from a command window, you need to ...
What is the value of this expression? +1-2*3/4 -0.5
What is the quickest sorting method to use? The answer depends on what you mean by quickest. For mos...
What Articles Have You Read about JUnit? There are a number of JUnit articles that you should read: ...
What does static variable mean? There are 3 main uses for static variables: If you declare within a ...