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?

Answers were Sorted based on User's Feedback



what is service contract,operation contract?..

Answer / 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

what is service contract,operation contract?..

Answer / senthil

This attribute is used to define the method inside
Interface.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?

3 Answers   TCS,


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

0 Answers  


hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance

3 Answers  


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

0 Answers   Accenture,


What is a proxy in web service?

0 Answers  


How do you register JavaScript for webcontrols ?

1 Answers  


How many web config files can be created for an application?

0 Answers  


How many types of session state management options available in asp.net?

0 Answers  


What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it?

1 Answers   Syntax Softtech,


What r all the controls in ASP.NET ?

3 Answers  


What is different in .net 1.1 and .net 2.0?

0 Answers  


What are the ways of preserving data on a Web Form in ASP.NET?

0 Answers  


Categories