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 how can you debug your .net application?
If you are using components in your application, how can you handle exceptions raised in a component?
Explain the difference between value type and reference type?
What is boxing and unboxing in asp.net?
What is special types forms
Can user control be stored in library?
What is the extension of master page in asp.net?
How can you access the properties and controls of master pages from content pages?
What is the behavior of a Web browser when it receives an invalid element?
What is form method?
When maintaining session through sql server, what is the impact of read and write operation on session objects?
What is view state and how it works in asp net?
Why is global asax is used for?
How would ASP and ASP.NET applications run at the same time on the same server?
What is full form of asp.net?