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 is role-based security in asp.net?

1077


Is global asax mandatory?

993


What is application variable?

945


What is the difference between session and viewstate in asp.net?

1119


What is bound controls

1058


What is difference between session and cookies?

1025


Is asp.net a programming language or framework?

1004


What does clearing cache?

966


What is http session state?

976


Explain the difference between debug.write and trace.write?

978


What New Features comes with ASP.NET Web API 2.0?

1023


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

1020


How to prepare culture-specific formatting in .net.

1028


can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?

2155


What do you mean by authorization?

942