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 Cookies are expired in ASP.NET?
What kind of data we can store in viewstate?
What is Web API?
What is http only cookie?
Explain ViewState?
What is autopostback in asp net?
Explain server control extensibility with reference to asp.net 2.0 ?
How do u optimize a query in asp.net?
What is the benefit of WebAPI over WCF?
Explain the features that make asp.net more used framework? : asp.net mvc
Can you nest updatepanel within each other?
What is the main difference between Asp.net and Vb.net?
Is asp.net mvc front end or backend? : Asp.Net MVC
How does the service stream content?
What is the difference between session and viewstate in asp.net?