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 difference between datalist and gridview?
Define static member?
How to bind all the binding controls in a page at once in ASP.NET?
What are ASHX files?
What is viewstate parameter?
How would ASP and ASP.NET applications run at the same time on the same server?
Can one dll file contains the compiled code of more than one .net language?
What is the asp.net control toolkit?
Define reflection in .net?
What are sql notifications and sql invalidations?
Explain file-based dependency and key-based dependency.
Define session in asp.net.
How does http session work?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?