what is service contract,operation contract?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / senthil
This attribute is used to define the method inside
Interface.
Is This Answer Correct ? | 4 Yes | 1 No |
How can u debug your .net application?
How to Page Execute in asp.net(inside browser)
Why is it preferred to not use finalize for clean up?
Why is xap important?
Who will magage un-managed code?
Explain the difference between web user control and web custom control?
What are triggers of an updatepanel?
How do you turn off cookies for one page in your site?
Explain about Application and Session Events ?
If we remove web.config or machine.config from the application then, is this application will works?
What are HTTP handlers in ASP.NET?
What are the ways of preserving data on a Web Form in ASP.NET?