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 is role-based security in asp.net?
Is global asax mandatory?
What is application variable?
What is the difference between session and viewstate in asp.net?
What is bound controls
What is difference between session and cookies?
Is asp.net a programming language or framework?
What does clearing cache?
What is http session state?
Explain the difference between debug.write and trace.write?
What New Features comes with ASP.NET Web API 2.0?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
How to prepare culture-specific formatting in .net.
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What do you mean by authorization?