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

When using the Pager object, inorder to know which page to go, which property you have to set to grid?

1116


Which class is used to send an email message from an ASP.NET Web page?

1073


What is an example of an application service provider?

920


What is the difference between custom web user control and a custom web server control?

1023


If you are using components in your application, how can you handle exceptions raised in a component?

2741


What is asp.net? How is it different from asp?

1085


What is globalization and localization in asp net?

1062


What does aspcompat="true" mean?

1073


Why do we need Sessions?

1100


How would you enable impersonation in the web.config file?

1046


Explain how viewstate is being formed?

1028


What is base class of .net?

1006


How to retrieve user name in case of Window Authentication?

809


What is global.asax file used for?

1068


How will you do Redo and Undo in a TextControl?

1252