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
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
Which class is used to send an email message from an ASP.NET Web page?
What is an example of an application service provider?
What is the difference between custom web user control and a custom web server control?
If you are using components in your application, how can you handle exceptions raised in a component?
What is asp.net? How is it different from asp?
What is globalization and localization in asp net?
What does aspcompat="true" mean?
Why do we need Sessions?
How would you enable impersonation in the web.config file?
Explain how viewstate is being formed?
What is base class of .net?
How to retrieve user name in case of Window Authentication?
What is global.asax file used for?
How will you do Redo and Undo in a TextControl?