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
What are the Types of session management in ASP.NET
What is asynchronous call?
Explain http handlers? Where we can use the http handlers?
Can a master page have more than one contentplaceholder?
What is css in asp.net?
Write code to send e-mail from an asp.net application?
What are the Difference between asp.net and asp ?
How does asp.net page work?
What is session handling in a webfarm, how it can work with its limits?
Describe a Windows Service and its lifecycle ?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
What is asp.net with mvc? : Asp.Net MVC
Why we go for mvc instead of asp.net? : Asp.Net MVC
What is server infrastructure & server components?
What are server-side comments in ASP.NET?