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

Explain State management in asp.net

1140


What permissions do asp.net applications posses by default?

1124


Explain how to prepare culture-specific formatting in .net.

1022


List of words of preprocessor in .net?

996


What is the difference between file-based dependency and key-based dependency?

1123


what is meant by sitemapnode ?

2055


Explain about Application and Session Events ?

1134


What is round trip in asp.net?

987


What is the significance of proxy user?

1155


What is the function of new view engine in asp.net? : asp.net mvc

1060


Describe the difference between inline and code behind - which is best in a?

1237


What is validation in asp.net?

1145


How can we communicate with each server in N-tier Architecture? and what are the methods?

2296


Describe how ASP.NET maintains process isolation for each Web application?

1151


Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

1020