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
Explain security types in asp.net?
How does exception management works in ASP.NET?
Which protocol is used to call web service?
Where you store Connection string in "Web.Config" file in ASP.NET?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
Where are session variables stored?
What is the difference between the asp and asp.net?
Why viewstate is used in asp.net?
What is the question mark in a url?
Is it possible to change the index of primary key on table?
What is localhost in asp.net?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
What is the default Orientation property in a Menu control?
How do we ensure view state has not tampered?
What is a proxy in web service?