Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is service contract,operation contract?

Answer Posted / nithya_raghu

Service Contract --- Specifies the description of methods
which our service will provide to consuming application.
For WCF to identify contracts for the service,We need to
use a interface/class with [ServiceContract] attribute.
In WCF we can do interface/Class level programming.

Operation Contract --- We need to expose some methods to
consuming application to use our services.Those methods
will have [OperationContract] attribute. Making them public
will not make them accessible from outside.
So OperationContract Specifies the methods can be
accessible from outside.

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Types of session management in ASP.NET

1020


What is asynchronous call?

1056


Explain http handlers? Where we can use the http handlers?

1217


Can a master page have more than one contentplaceholder?

950


What is css in asp.net?

1047


Write code to send e-mail from an asp.net application?

1012


What are the Difference between asp.net and asp ?

1122


How does asp.net page work?

933


What is session handling in a webfarm, how it can work with its limits?

1109


Describe a Windows Service and its lifecycle ?

1114


Can the validation occurs in server-side or client-side? If the validation occurs why should we do?

1032


What is asp.net with mvc? : Asp.Net MVC

968


Why we go for mvc instead of asp.net? : Asp.Net MVC

1039


What is server infrastructure & server components?

1196


What are server-side comments in ASP.NET?

941