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 are the benefits of Razor View?

0 Answers   NA,


Way of updating a table other than stored procedure and hard coded query?

2 Answers  


.net allows which inheritence

6 Answers   AG Technologies, Samcomm,


What is the difference between and ActiveX dll and control ?

1 Answers   Microsoft,


Define ViewState and how can it be used?

6 Answers   Siebel,


What is difference between datalist and gridview?

0 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

0 Answers  


what r the Templeats in ASP.net?

5 Answers   Intel, VBV,


How response object is related to asp's response object?

0 Answers  


Why do we use sessions?

0 Answers  


In Crystal Report Refresh Button is not working. when I click on it it givesh error like "missing parameter values " I have used propery of Crystal Viewer like ReuseParameterValuesOnRefresh="True" but this also not working. Plz give me any solution.

1 Answers  


How do you access individual items of an Master Page

5 Answers   TCS,


Categories